Rename additional global TQt functions

pull/1/head
Timothy Pearson 12 years ago
parent 78c422fd8a
commit 27075bc698

@ -561,7 +561,7 @@ coord KFileReplaceView::extractWordCoordinates(TQListViewItem* lvi)
c.line = 0;
c.column = 0;
TQString s = lvi->text(0);
//qWarning("WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW=%s",s.latin1());
//tqWarning("WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW=%s",s.latin1());
/* if(lvi->parent()) s = lvi->text(0);
else return c;*/

@ -912,7 +912,7 @@ TQImage KImageMapEditor::getBackgroundImage() {
TQStringList families = fdb.families();
for ( TQStringList::Iterator f = families.begin(); f != families.end(); ++f ) {
TQString family = *f;
qDebug( family );
tqDebug( family );
TQStringList styles = fdb.styles( family );
for ( TQStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) {
TQString style = *s;
@ -923,7 +923,7 @@ TQImage KImageMapEditor::getBackgroundImage() {
dstyle += TQString::number( *points ) + " ";
}
dstyle = dstyle.left( dstyle.length() - 1 ) + ")";
qDebug( dstyle );
tqDebug( dstyle );
}
}

@ -43,7 +43,7 @@ bool AssistProc::run( const TQString &path )
addArgument( "-stdin" );
if ( !start() ) {
qWarning( "Assistant [exe]: Couldn't start \'%s\', please check path.", assistantPath.latin1() );
tqWarning( "Assistant [exe]: Couldn't start \'%s\', please check path.", assistantPath.latin1() );
return false;
}
return true;
@ -64,11 +64,11 @@ bool AssistProc::sendRequest( const TQString &data )
void AssistProc::processOutput()
{
qWarning( "Assistant [out]: %s", readStdout().data() );
tqWarning( "Assistant [out]: %s", readStdout().data() );
}
void AssistProc::processErrOutput()
{
qWarning( "Assistant [err]: %s", readStderr().data() );
tqWarning( "Assistant [err]: %s", readStderr().data() );
}
#include "assistproc.moc"

@ -1066,7 +1066,7 @@ void AddConnectionCommand::execute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
// qDebug("AddConnectionCommand::execute(): Would have called EventList::setup()");
// tqDebug("AddConnectionCommand::execute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@ -1079,7 +1079,7 @@ void AddConnectionCommand::unexecute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
// qDebug("AddConnectionCommand::unexecute(): Would have called EventList::setup()");
// tqDebug("AddConnectionCommand::unexecute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@ -1100,7 +1100,7 @@ void RemoveConnectionCommand::execute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
// qDebug("RemoveConnectionCommand::execute(): Would have called EventList::setup()");
// tqDebug("RemoveConnectionCommand::execute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@ -1113,7 +1113,7 @@ void RemoveConnectionCommand::unexecute()
#ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() )
{
// qDebug("RemoveConnectionCommand::unexecute(): Would have called EventList::setup()");
// tqDebug("RemoveConnectionCommand::unexecute(): Would have called EventList::setup()");
formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
}
#endif
@ -1126,7 +1126,7 @@ AddSlotCommand::AddSlotCommand( const TQString &name, FormWindow *fw, const TQCS
const TQString& spec, const TQString &a, const TQString &l, const TQString &rt )
: Command( name, fw ), slot( s ), specifier( spec ), access( a ), language( l ), returnType( rt )
{
// qDebug("AddSlotCommand::AddSlotCommand()");
// tqDebug("AddSlotCommand::AddSlotCommand()");
}
void AddSlotCommand::execute()
@ -1155,7 +1155,7 @@ RemoveSlotCommand::RemoveSlotCommand( const TQString &name, FormWindow *fw, cons
const TQString& spec, const TQString &a, const TQString &l, const TQString &rt )
: Command( name, fw ), slot( s ), specifier( spec ), access( a ), language( l ), returnType( rt )
{
// qDebug("RemoveSlotCommand::RemoveSlotCommand()");
// tqDebug("RemoveSlotCommand::RemoveSlotCommand()");
}
void RemoveSlotCommand::execute()

@ -567,7 +567,7 @@ static HierarchyItem::Type getChildType( int type )
switch ( (HierarchyItem::Type)type ) {
case HierarchyItem::Widget:
case HierarchyItem::SlotParent:
qWarning( "getChildType: Inserting childs dynamically to Widget or SlotParent is not allwowed!" );
tqWarning( "getChildType: Inserting childs dynamically to Widget or SlotParent is not allwowed!" );
return (HierarchyItem::Type)type;
case HierarchyItem::Public:
case HierarchyItem::Protected:

@ -753,7 +753,7 @@ void GridLayout::doLayout()
( (TQLayoutWidget*)w )->updateSizePolicy();
w->show();
} else {
qWarning("ooops, widget '%s' does not fit in layout", w->name() );
tqWarning("ooops, widget '%s' does not fit in layout", w->name() );
}
}
finishLayout( needMove, layout );

@ -131,7 +131,7 @@ void MetaDataBase::setPropertyChanged( TQObject *o, const TQString &property, bo
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -168,7 +168,7 @@ bool MetaDataBase::isPropertyChanged( TQObject *o, const TQString &property )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return false;
}
@ -181,7 +181,7 @@ TQStringList MetaDataBase::changedProperties( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQStringList();
}
@ -195,7 +195,7 @@ void MetaDataBase::setPropertyComment( TQObject *o, const TQString &property, co
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -208,7 +208,7 @@ TQString MetaDataBase::propertyComment( TQObject *o, const TQString &property )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@ -221,7 +221,7 @@ void MetaDataBase::setFakeProperty( TQObject *o, const TQString &property, const
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -233,7 +233,7 @@ TQVariant MetaDataBase::fakeProperty( TQObject * o, const TQString &property)
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQVariant();
}
@ -249,7 +249,7 @@ TQMap<TQString,TQVariant>* MetaDataBase::fakeProperties( TQObject* o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return 0;
}
@ -263,7 +263,7 @@ void MetaDataBase::setSpacing( TQObject *o, int spacing )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -284,7 +284,7 @@ int MetaDataBase::spacing( TQObject *o )
o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
MetaDataBaseRecord *r = db->find( TQT_TQOBJECT(o) );
if ( !r || !o->isWidgetType() ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return -1;
}
@ -299,7 +299,7 @@ void MetaDataBase::setMargin( TQObject *o, int margin )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -322,7 +322,7 @@ int MetaDataBase::margin( TQObject *o )
o = TQT_TQOBJECT(( (TQMainWindow*)o )->centralWidget());
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r || !o->isWidgetType() ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return -1;
}
@ -336,7 +336,7 @@ void MetaDataBase::addConnection( TQObject *o, TQObject *sender, const TQCString
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -354,7 +354,7 @@ void MetaDataBase::removeConnection( TQObject *o, TQObject *sender, const TQCStr
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -376,7 +376,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Connection>();
}
@ -389,7 +389,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Connection>();
}
@ -411,7 +411,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Connection>();
}
@ -432,7 +432,7 @@ void MetaDataBase::doConnections( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -487,7 +487,7 @@ void MetaDataBase::addSlot( TQObject *o, const TQCString &slot, const TQString&
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -512,7 +512,7 @@ void MetaDataBase::setSlotList( TQObject *o, const TQValueList<Slot> &slotList )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -525,7 +525,7 @@ void MetaDataBase::removeSlot( TQObject *o, const TQCString &slot, const TQStrin
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -548,7 +548,7 @@ void MetaDataBase::removeSlot( TQObject *o, const TQString &slot )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -567,7 +567,7 @@ TQValueList<MetaDataBase::Slot> MetaDataBase::slotList( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Slot>();
}
@ -580,7 +580,7 @@ bool MetaDataBase::isSlotUsed( TQObject *o, const TQCString &slot )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return false;
}
@ -598,7 +598,7 @@ void MetaDataBase::changeSlot( TQObject *o, const TQCString &slot, const TQCStri
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -619,7 +619,7 @@ void MetaDataBase::changeSlotAttributes( TQObject *o, const TQCString &slot,
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -641,7 +641,7 @@ bool MetaDataBase::hasSlot( TQObject *o, const TQCString &slot, bool onlyCustom
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return false;
}
@ -684,7 +684,7 @@ TQString MetaDataBase::languageOfSlot( TQObject *o, const TQCString &slot )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@ -781,7 +781,7 @@ void MetaDataBase::setTabOrder( TQWidget *w, const TQWidgetList &order )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*) w );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
w, w->name(), w->className() );
return;
}
@ -794,7 +794,7 @@ TQWidgetList MetaDataBase::tabOrder( TQWidget *w )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*) w );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
w, w->name(), w->className() );
return TQWidgetList();
}
@ -807,7 +807,7 @@ void MetaDataBase::setIncludes( TQObject *o, const TQValueList<Include> &incs )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -820,7 +820,7 @@ TQValueList<MetaDataBase::Include> MetaDataBase::includes( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQValueList<Include>();
}
@ -833,7 +833,7 @@ void MetaDataBase::setForwards( TQObject *o, const TQStringList &fwds )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -846,7 +846,7 @@ TQStringList MetaDataBase::forwards( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQStringList();
}
@ -859,7 +859,7 @@ void MetaDataBase::setSignalList( TQObject *o, const TQStringList &sigs )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -892,7 +892,7 @@ TQStringList MetaDataBase::signalList( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQStringList();
}
@ -905,7 +905,7 @@ void MetaDataBase::setMetaInfo( TQObject *o, MetaInfo mi )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -918,7 +918,7 @@ MetaDataBase::MetaInfo MetaDataBase::metaInfo( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return MetaInfo();
}
@ -960,7 +960,7 @@ void MetaDataBase::setCursor( TQWidget *w, const TQCursor &c )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)w );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
w, w->name(), w->className() );
return;
}
@ -1049,7 +1049,7 @@ void MetaDataBase::setPixmapArgument( TQObject *o, int pixmap, const TQString &a
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -1065,7 +1065,7 @@ TQString MetaDataBase::pixmapArgument( TQObject *o, int pixmap )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@ -1080,7 +1080,7 @@ void MetaDataBase::clearPixmapArguments( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -1096,7 +1096,7 @@ void MetaDataBase::setPixmapKey( TQObject *o, int pixmap, const TQString &arg )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -1112,7 +1112,7 @@ TQString MetaDataBase::pixmapKey( TQObject *o, int pixmap )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQString();
}
@ -1127,7 +1127,7 @@ void MetaDataBase::clearPixmapKeys( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -1144,7 +1144,7 @@ void MetaDataBase::setColumnFields( TQObject *o, const TQMap<TQString, TQString>
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -1159,7 +1159,7 @@ TQMap<TQString, TQString> MetaDataBase::columnFields( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return TQMap<TQString, TQString>();
}
@ -1189,7 +1189,7 @@ void MetaDataBase::setExportMacro( TQObject *o, const TQString &macro )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@ -1204,7 +1204,7 @@ TQString MetaDataBase::exportMacro( TQObject *o )
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return "";
}

@ -903,7 +903,7 @@ void PixmapView::previewUrl( const TQUrl &u )
if ( !pix.isNull() )
setPixmap( pix );
} else {
qWarning( "Previewing remot files not supported" );
tqWarning( "Previewing remot files not supported" );
}
}

@ -103,7 +103,7 @@ static TQStringList getFontList()
{
if ( !fontDataBase ) {
fontDataBase = new TQFontDatabase;
qAddPostRoutine( cleanupFontDatabase );
tqAddPostRoutine( cleanupFontDatabase );
}
return fontDataBase->families();
}
@ -2672,7 +2672,7 @@ void PropertyList::setupProperties()
item->setChanged( true, false );
}
} else {
qWarning( "Sets except 'alignment' not supported yet.... %s.", p->name() );
tqWarning( "Sets except 'alignment' not supported yet.... %s.", p->name() );
}
} else if ( p->isEnumType() ) {
TQStrList l = p->enumKeys();

@ -184,7 +184,7 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
content = content.mid(content.find('\n'));
}
if ( !doc.setContent( content) ) {
// qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
// tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
return false;
}
@ -508,7 +508,7 @@ void Resource::paste( const TQString &cb, TQWidget *parent )
TQString errMsg;
int errLine;
if ( !doc.setContent( &buf, &errMsg, &errLine ) ) {
// qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
// tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
}
TQDomElement firstWidget = doc.firstChild().toElement().firstChild().toElement();
@ -1291,7 +1291,7 @@ void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant
break;
}
default:
qWarning( "saving the property %s of type %d not supported yet", name.latin1(), (int)t );
tqWarning( "saving the property %s of type %d not supported yet", name.latin1(), (int)t );
}
}
@ -1418,7 +1418,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay
} else if ( n.tagName() == "column" || n.tagName() =="row" ) {
createColumn( n, w );
} else if ( n.tagName() == "event" ) {
// qDebug("Resource : Tag == event");
// tqDebug("Resource : Tag == event");
#ifndef KOMMANDER
MetaDataBase::setEventFunctions( obj, formwindow, MainWindow::self->currProject()->language(),
n.attribute( "name" ), TQStringList::split( ',', n.attribute( "functions" ) ), false );
@ -2441,7 +2441,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
if ( n2.tagName() == "property" ) {
setObjectProperty( a, n2.attribute( "name" ), n2.firstChild().toElement() );
} else if ( n2.tagName() == "event" ) {
// qDebug("Resource::loadChildAction : Tag == Event");
// tqDebug("Resource::loadChildAction : Tag == Event");
#ifndef KOMMANDER
MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(),
n2.attribute( "name" ),
@ -2463,7 +2463,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
n2.tagName() == "actiongroup" ) {
loadChildAction( a, n2 );
} else if ( n2.tagName() == "event" ) {
// qDebug("Resource::loadChildAction : Tag == Event");
// tqDebug("Resource::loadChildAction : Tag == Event");
#ifndef KOMMANDER
MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(),
n2.attribute( "name" ),

@ -692,10 +692,10 @@ void WidgetDatabase::setupPlugins()
{
if (plugins_set_up)
return;
//qDebug("WidgetDatabase::setupPlugins");
//tqDebug("WidgetDatabase::setupPlugins");
plugins_set_up = true;
FeatureList widgets = KommanderFactory::featureList();
//qDebug("num features = %d", widgets.count());
//tqDebug("num features = %d", widgets.count());
for (FeatureList::Iterator it = widgets.begin(); it != widgets.end(); ++it)
{
if (hasWidget(it.key()))

@ -639,7 +639,7 @@ int EditorToolBox::count() const
TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, bool init, const TQRect *r, Qt::Orientation orient )
{
TQString n = WidgetDatabase::className(id);
//qDebug("Trying to create '%s'", n.latin1());
//tqDebug("Trying to create '%s'", n.latin1());
if (n.isEmpty())
return 0;
@ -653,7 +653,7 @@ TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, boo
TQString str = WidgetDatabase::createWidgetName(id);
const char *s = str.latin1();
w = createWidget(n, parent, name ? name : s, init, r, orient);
//qDebug("Trying to create '%s', widget (id=%d) - %s", s, id, w ? "successful" : "failure");
//tqDebug("Trying to create '%s', widget (id=%d) - %s", s, id, w ? "successful" : "failure");
if (!w && WidgetDatabase::isCustomWidget(id))
w = createCustomWidget(parent, name ? name : s, MetaDataBase::customWidget(id));
if (!w)
@ -1141,7 +1141,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
}
else if (className == "Wizard")
{
//qDebug("Creating Wizard...");
//tqDebug("Creating Wizard...");
TQWizard *wiz;
if (parent && parent->inherits("FormWindow"))
wiz = new QDesignerWizard(parent, name);

@ -137,7 +137,7 @@ bool Instance::build(const KURL& fname)
}
if (!m_textInstance)
{
qDebug("Warning: no Kommander widget present!");
tqDebug("Warning: no Kommander widget present!");
return true;
}
}

@ -152,7 +152,7 @@ TQWidget *KommanderFactory::create( TQIODevice *dev, TQObject *connector, TQWidg
if (content.startsWith("#!"))
content = content.mid(content.find('\n'));
if ( !doc.setContent( content ) ) {
// qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
// tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine );
return 0;
}
@ -467,16 +467,16 @@ int KommanderFactory::loadPlugins(bool force)
++num_plugins_loaded;
} else
{
qWarning("KommanderFactory::loadPlugins - '%s' isn't a Kommander Plugin library, skipping.",
tqWarning("KommanderFactory::loadPlugins - '%s' isn't a Kommander Plugin library, skipping.",
l->fileName().latin1());
}
} else
{
qWarning("KommanderFactory::loadPlugins - Can't load Kommander plugin library %s",
tqWarning("KommanderFactory::loadPlugins - Can't load Kommander plugin library %s",
(*it).latin1());
}
}
//qDebug("KommanderFactory::loadPlugins returning %d", num_plugins_loaded);
//tqDebug("KommanderFactory::loadPlugins returning %d", num_plugins_loaded);
return num_plugins_loaded;
}

@ -336,7 +336,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
if (items.count() != params.count() - 3)
{
qDebug("Wrong number of parameters");
tqDebug("Wrong number of parameters");
return ParseNode();
}
int i = 3;
@ -367,7 +367,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
if (!cl || !cl->call(appId, object, function.latin1(),
byteData, replyType, byteReply))
{
qDebug("DCOP failure");
tqDebug("DCOP failure");
return ParseNode();
}
TQDataStream byteReplyStream(byteReply, IO_ReadOnly);
@ -397,7 +397,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
}
else if(replyType != "void")
{
qDebug("%s", TQString("DCOP return type %1 is not yet implemented.").arg(replyType.data()).latin1());
tqDebug("%s", TQString("DCOP return type %1 is not yet implemented.").arg(replyType.data()).latin1());
}
return ParseNode();
@ -463,7 +463,7 @@ static ParseNode f_exec(Parser* P, const ParameterList& params)
{
MyProcess proc(P->currentWidget());
TQString text;
// qDebug("Trying %s", params[0].toString().latin1());
// tqDebug("Trying %s", params[0].toString().latin1());
if (params.count() > 1)
text = proc.run(params[0].toString().local8Bit(), params[1].toString());
else
@ -476,7 +476,7 @@ static ParseNode f_execBackground(Parser* P, const ParameterList& params)
MyProcess proc(P->currentWidget());
proc.setBlocking(false);
TQString text;
qDebug("Trying %s", params[0].toString().latin1());
tqDebug("Trying %s", params[0].toString().latin1());
if (params.count() > 1)
text = proc.run(params[0].toString().local8Bit(), params[1].toString());
else

@ -64,7 +64,7 @@ TQString KommanderWidget::evalFunction(const TQString& function, const TQStringL
setGlobal(args[0], args[1]);
return TQString();
case Kommander::debug:
qDebug("%s", args[0].latin1());
tqDebug("%s", args[0].latin1());
fflush(stderr);
return TQString();
case Kommander::echo:

@ -264,7 +264,7 @@ KXsldbgPart::~KXsldbgPart()
void KXsldbgPart::quit()
{
qWarning("Custom void KXsldbgPart::quit()");
tqWarning("Custom void KXsldbgPart::quit()");
closeURL();
}
@ -321,7 +321,7 @@ bool KXsldbgPart::fetchURL(const KURL &url)
bool KXsldbgPart::openFile()
{
qWarning("bool KXsldbgPart::openFile() called");
tqWarning("bool KXsldbgPart::openFile() called");
return false;
}
@ -666,7 +666,7 @@ KXsldbgPart::lineNoChanged(TQString fileName, int lineNumber, bool breakpoint)
stream << currentFileName << lineNumber;
emitDCOPSignal("debuggerPositionChanged(TQString,int)", params);
}else {
qWarning("Unable to retrieve document from internal cache");
tqWarning("Unable to retrieve document from internal cache");
}
@ -838,7 +838,7 @@ void KXsldbgPart::breakpointItem(TQString fileName, int lineNumber ,
if (docPtr){
docPtr->addBreakPoint(lineNumber - 1, enabled);
}else {
qWarning("Unable to get doc %s from docDictionary", fileName.local8Bit().data());
tqWarning("Unable to get doc %s from docDictionary", fileName.local8Bit().data());
}
}
}

@ -201,7 +201,7 @@ XsldbgEventData *XsldbgEvent::createEventData(XsldbgMessageEnum type, const void
{
KURL url(XsldbgDebuggerBase::fromUTF8FileName((xmlChar*)msgData));
if (!url.isLocalFile()){
qDebug("Remote path to temp file %s unsupported, unable to read message from xsldbg", url.prettyURL().local8Bit().data());
tqDebug("Remote path to temp file %s unsupported, unable to read message from xsldbg", url.prettyURL().local8Bit().data());
break;
}
@ -269,7 +269,7 @@ XsldbgEventData *XsldbgEvent::createEventData(XsldbgMessageEnum type, const void
break;
default:
qDebug("Unhandled type in createEventData %d", type);
tqDebug("Unhandled type in createEventData %d", type);
}
return result;
@ -294,11 +294,11 @@ void XsldbgEvent::emitMessage(XsldbgEventData *eventData)
{
if ((eventData == 0L) || (debugger == 0L)){
qDebug("emitMessage failed");
tqDebug("emitMessage failed");
if (eventData == 0L)
qDebug("Event data == NULL");
tqDebug("Event data == NULL");
if (debugger == 0L)
qDebug("Debugger == NULL");
tqDebug("Debugger == NULL");
return;
}
@ -326,7 +326,7 @@ void XsldbgEvent::emitMessage(XsldbgEventData *eventData)
/* input status ( once thread is running) */
case XSLDBG_MSG_AWAITING_INPUT: /* 5: Waiting for user input */
if ((getInputReady() == 0) && (debugger->commandQueue().count() > 0)){
qDebug("Command queue not empty");
tqDebug("Command queue not empty");
TQTimerEvent *e = new TQTimerEvent(debugger->getUpdateTimerID());
TQApplication::postEvent(debugger, e);
}
@ -429,7 +429,7 @@ void XsldbgEvent::emitMessage(XsldbgEventData *eventData)
break;
default:
qDebug("Unhandled type in emitMessage %d", itemType);
tqDebug("Unhandled type in emitMessage %d", itemType);
}
}

@ -316,7 +316,7 @@ void XsldbgConfigImpl::refresh()
if (debugger->start() == false)
return ;
qDebug("XsldbgConfigImpl::refresh");
tqDebug("XsldbgConfigImpl::refresh");
*/
/* we'll get the list of parameters via paramItem(..) in this class */
/* debugger->fakeInput("showparam", true);

@ -865,7 +865,7 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
if ( firstFocusableChildWidget == 0 )
firstFocusableChildWidget = widg; // first widget
lastFocusableChildWidget = widg; // last widget
//qDebug("*** %s (%s)",widg->name(),widg->className());
//tqDebug("*** %s (%s)",widg->name(),widg->className());
}
}
}

@ -627,7 +627,7 @@ bool KMdiChildView::eventFilter( TQObject *obj, TQEvent *e )
{
if ( e->type() == TQEvent::IconChange )
{
// qDebug("KMDiChildView:: TQEvent:IconChange intercepted\n");
// tqDebug("KMDiChildView:: TQEvent:IconChange intercepted\n");
if ( TQT_BASE_OBJECT(obj) == this )
iconUpdated( this, icon() ? ( *icon() ) : TQPixmap() );
else if ( TQT_BASE_OBJECT(obj) == m_trackChanges )

@ -1698,7 +1698,7 @@ void KMdiMainFrm::setupTabbedDocumentViewSpace()
setMaximumHeight( m_oldMainFrmMaxHeight );
resize( width(), m_oldMainFrmHeight );
m_oldMainFrmHeight = 0;
//qDebug("TopLevelMode off");
//tqDebug("TopLevelMode off");
emit leftTopLevelMode();
TQApplication::sendPostedEvents();
@ -2502,7 +2502,7 @@ void KMdiMainFrm::switchOffMaximizeModeForMenu( KMdiChildFrm* oldChild )
/** reconnects the system buttons form maximize mode (SDI mode) with the new child frame */
void KMdiMainFrm::updateSysButtonConnections( KMdiChildFrm* oldChild, KMdiChildFrm* newChild )
{
//qDebug("updateSysButtonConnections");
//tqDebug("updateSysButtonConnections");
// if there is no menubar given, those system buttons aren't possible
if ( !m_pMainMenuBar )
return ;
@ -2819,7 +2819,7 @@ void KMdiMainFrm::setFrameDecorOfAttachedViews( int frameDecor )
m_frameDecoration = KMdi::KDELaptopLook;
break;
default:
qDebug( "unknown MDI decoration" );
tqDebug( "unknown MDI decoration" );
break;
}
setMenuForSDIModeSysButtons( m_pMainMenuBar );

@ -415,7 +415,7 @@ void TagDialog::parseAttributes(const TQString &attrs)
}
// qDebug("attr :%s; value :%s;",attr.data(),value->data() );
// tqDebug("attr :%s; value :%s;",attr.data(),value->data() );
dict->insert( attr , value );
}

@ -76,7 +76,7 @@ void Tagxml::initialize(TQDomNode &d, TQTag *dtdTag)
int textcolspan = el.attribute("colspan","1").toInt()-1;
int textrowspan = el.attribute("rowspan","1").toInt()-1;
// qDebug("%s col:%d row:%d cs:%d, rs:%d", n.nodeName().data(), col,row,colspan,rowspan );
// tqDebug("%s col:%d row:%d cs:%d, rs:%d", n.nodeName().data(), col,row,colspan,rowspan );
TQString tip;
TQDomNode tooltip = findChild( n ,"tooltip" );

@ -450,7 +450,7 @@ void ProjectUpload::upload()
}
}
// qDebug("%s -> %s", from.url().data(), to.url().data() );
// tqDebug("%s -> %s", from.url().data(), to.url().data() );
if (!from.fileName(false).isEmpty() && fileItem)
{
emit eventHappened("before_upload", from.url(), to.url());

Loading…
Cancel
Save