Rename additional global TQt functions

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

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

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

@ -43,7 +43,7 @@ bool AssistProc::run( const TQString &path )
addArgument( "-stdin" ); addArgument( "-stdin" );
if ( !start() ) { 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 false;
} }
return true; return true;
@ -64,11 +64,11 @@ bool AssistProc::sendRequest( const TQString &data )
void AssistProc::processOutput() void AssistProc::processOutput()
{ {
qWarning( "Assistant [out]: %s", readStdout().data() ); tqWarning( "Assistant [out]: %s", readStdout().data() );
} }
void AssistProc::processErrOutput() void AssistProc::processErrOutput()
{ {
qWarning( "Assistant [err]: %s", readStderr().data() ); tqWarning( "Assistant [err]: %s", readStderr().data() );
} }
#include "assistproc.moc" #include "assistproc.moc"

@ -1066,7 +1066,7 @@ void AddConnectionCommand::execute()
#ifndef KOMMANDER #ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() ) 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(); formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
} }
#endif #endif
@ -1079,7 +1079,7 @@ void AddConnectionCommand::unexecute()
#ifndef KOMMANDER #ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() ) 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(); formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
} }
#endif #endif
@ -1100,7 +1100,7 @@ void RemoveConnectionCommand::execute()
#ifndef KOMMANDER #ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() ) 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(); formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
} }
#endif #endif
@ -1113,7 +1113,7 @@ void RemoveConnectionCommand::unexecute()
#ifndef KOMMANDER #ifndef KOMMANDER
if ( connection.receiver == formWindow()->mainContainer() ) 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(); formWindow()->mainWindow()->propertyeditor()->eventList()->setup();
} }
#endif #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 ) 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 ) : Command( name, fw ), slot( s ), specifier( spec ), access( a ), language( l ), returnType( rt )
{ {
// qDebug("AddSlotCommand::AddSlotCommand()"); // tqDebug("AddSlotCommand::AddSlotCommand()");
} }
void AddSlotCommand::execute() 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 ) 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 ) : Command( name, fw ), slot( s ), specifier( spec ), access( a ), language( l ), returnType( rt )
{ {
// qDebug("RemoveSlotCommand::RemoveSlotCommand()"); // tqDebug("RemoveSlotCommand::RemoveSlotCommand()");
} }
void RemoveSlotCommand::execute() void RemoveSlotCommand::execute()

@ -567,7 +567,7 @@ static HierarchyItem::Type getChildType( int type )
switch ( (HierarchyItem::Type)type ) { switch ( (HierarchyItem::Type)type ) {
case HierarchyItem::Widget: case HierarchyItem::Widget:
case HierarchyItem::SlotParent: 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; return (HierarchyItem::Type)type;
case HierarchyItem::Public: case HierarchyItem::Public:
case HierarchyItem::Protected: case HierarchyItem::Protected:

@ -753,7 +753,7 @@ void GridLayout::doLayout()
( (TQLayoutWidget*)w )->updateSizePolicy(); ( (TQLayoutWidget*)w )->updateSizePolicy();
w->show(); w->show();
} else { } 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 ); finishLayout( needMove, layout );

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

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

@ -103,7 +103,7 @@ static TQStringList getFontList()
{ {
if ( !fontDataBase ) { if ( !fontDataBase ) {
fontDataBase = new TQFontDatabase; fontDataBase = new TQFontDatabase;
qAddPostRoutine( cleanupFontDatabase ); tqAddPostRoutine( cleanupFontDatabase );
} }
return fontDataBase->families(); return fontDataBase->families();
} }
@ -2672,7 +2672,7 @@ void PropertyList::setupProperties()
item->setChanged( true, false ); item->setChanged( true, false );
} }
} else { } 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() ) { } else if ( p->isEnumType() ) {
TQStrList l = p->enumKeys(); TQStrList l = p->enumKeys();

@ -184,7 +184,7 @@ bool Resource::load( FormFile *ff, TQIODevice* dev )
content = content.mid(content.find('\n')); content = content.mid(content.find('\n'));
} }
if ( !doc.setContent( content) ) { 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; return false;
} }
@ -508,7 +508,7 @@ void Resource::paste( const TQString &cb, TQWidget *parent )
TQString errMsg; TQString errMsg;
int errLine; int errLine;
if ( !doc.setContent( &buf, &errMsg, &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(); TQDomElement firstWidget = doc.firstChild().toElement().firstChild().toElement();
@ -1291,7 +1291,7 @@ void Resource::saveProperty( TQObject *w, const TQString &name, const TQVariant
break; break;
} }
default: 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" ) { } else if ( n.tagName() == "column" || n.tagName() =="row" ) {
createColumn( n, w ); createColumn( n, w );
} else if ( n.tagName() == "event" ) { } else if ( n.tagName() == "event" ) {
// qDebug("Resource : Tag == event"); // tqDebug("Resource : Tag == event");
#ifndef KOMMANDER #ifndef KOMMANDER
MetaDataBase::setEventFunctions( obj, formwindow, MainWindow::self->currProject()->language(), MetaDataBase::setEventFunctions( obj, formwindow, MainWindow::self->currProject()->language(),
n.attribute( "name" ), TQStringList::split( ',', n.attribute( "functions" ) ), false ); 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" ) { if ( n2.tagName() == "property" ) {
setObjectProperty( a, n2.attribute( "name" ), n2.firstChild().toElement() ); setObjectProperty( a, n2.attribute( "name" ), n2.firstChild().toElement() );
} else if ( n2.tagName() == "event" ) { } else if ( n2.tagName() == "event" ) {
// qDebug("Resource::loadChildAction : Tag == Event"); // tqDebug("Resource::loadChildAction : Tag == Event");
#ifndef KOMMANDER #ifndef KOMMANDER
MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(), MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(),
n2.attribute( "name" ), n2.attribute( "name" ),
@ -2463,7 +2463,7 @@ void Resource::loadChildAction( TQObject *parent, const TQDomElement &e )
n2.tagName() == "actiongroup" ) { n2.tagName() == "actiongroup" ) {
loadChildAction( a, n2 ); loadChildAction( a, n2 );
} else if ( n2.tagName() == "event" ) { } else if ( n2.tagName() == "event" ) {
// qDebug("Resource::loadChildAction : Tag == Event"); // tqDebug("Resource::loadChildAction : Tag == Event");
#ifndef KOMMANDER #ifndef KOMMANDER
MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(), MetaDataBase::setEventFunctions( a, formwindow, MainWindow::self->currProject()->language(),
n2.attribute( "name" ), n2.attribute( "name" ),

@ -692,10 +692,10 @@ void WidgetDatabase::setupPlugins()
{ {
if (plugins_set_up) if (plugins_set_up)
return; return;
//qDebug("WidgetDatabase::setupPlugins"); //tqDebug("WidgetDatabase::setupPlugins");
plugins_set_up = true; plugins_set_up = true;
FeatureList widgets = KommanderFactory::featureList(); 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) for (FeatureList::Iterator it = widgets.begin(); it != widgets.end(); ++it)
{ {
if (hasWidget(it.key())) 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 ) TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, bool init, const TQRect *r, Qt::Orientation orient )
{ {
TQString n = WidgetDatabase::className(id); TQString n = WidgetDatabase::className(id);
//qDebug("Trying to create '%s'", n.latin1()); //tqDebug("Trying to create '%s'", n.latin1());
if (n.isEmpty()) if (n.isEmpty())
return 0; return 0;
@ -653,7 +653,7 @@ TQWidget *WidgetFactory::create( int id, TQWidget *parent, const char *name, boo
TQString str = WidgetDatabase::createWidgetName(id); TQString str = WidgetDatabase::createWidgetName(id);
const char *s = str.latin1(); const char *s = str.latin1();
w = createWidget(n, parent, name ? name : s, init, r, orient); 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)) if (!w && WidgetDatabase::isCustomWidget(id))
w = createCustomWidget(parent, name ? name : s, MetaDataBase::customWidget(id)); w = createCustomWidget(parent, name ? name : s, MetaDataBase::customWidget(id));
if (!w) if (!w)
@ -1141,7 +1141,7 @@ TQWidget *WidgetFactory::createWidget( const TQString &className, TQWidget *pare
} }
else if (className == "Wizard") else if (className == "Wizard")
{ {
//qDebug("Creating Wizard..."); //tqDebug("Creating Wizard...");
TQWizard *wiz; TQWizard *wiz;
if (parent && parent->inherits("FormWindow")) if (parent && parent->inherits("FormWindow"))
wiz = new QDesignerWizard(parent, name); wiz = new QDesignerWizard(parent, name);

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

@ -152,7 +152,7 @@ TQWidget *KommanderFactory::create( TQIODevice *dev, TQObject *connector, TQWidg
if (content.startsWith("#!")) if (content.startsWith("#!"))
content = content.mid(content.find('\n')); content = content.mid(content.find('\n'));
if ( !doc.setContent( content ) ) { 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; return 0;
} }
@ -467,16 +467,16 @@ int KommanderFactory::loadPlugins(bool force)
++num_plugins_loaded; ++num_plugins_loaded;
} else } 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()); l->fileName().latin1());
} }
} else } else
{ {
qWarning("KommanderFactory::loadPlugins - Can't load Kommander plugin library %s", tqWarning("KommanderFactory::loadPlugins - Can't load Kommander plugin library %s",
(*it).latin1()); (*it).latin1());
} }
} }
//qDebug("KommanderFactory::loadPlugins returning %d", num_plugins_loaded); //tqDebug("KommanderFactory::loadPlugins returning %d", num_plugins_loaded);
return 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) if (items.count() != params.count() - 3)
{ {
qDebug("Wrong number of parameters"); tqDebug("Wrong number of parameters");
return ParseNode(); return ParseNode();
} }
int i = 3; int i = 3;
@ -367,7 +367,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
if (!cl || !cl->call(appId, object, function.latin1(), if (!cl || !cl->call(appId, object, function.latin1(),
byteData, replyType, byteReply)) byteData, replyType, byteReply))
{ {
qDebug("DCOP failure"); tqDebug("DCOP failure");
return ParseNode(); return ParseNode();
} }
TQDataStream byteReplyStream(byteReply, IO_ReadOnly); TQDataStream byteReplyStream(byteReply, IO_ReadOnly);
@ -397,7 +397,7 @@ static ParseNode f_dcop(Parser*, const ParameterList& params)
} }
else if(replyType != "void") 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(); return ParseNode();
@ -463,7 +463,7 @@ static ParseNode f_exec(Parser* P, const ParameterList& params)
{ {
MyProcess proc(P->currentWidget()); MyProcess proc(P->currentWidget());
TQString text; TQString text;
// qDebug("Trying %s", params[0].toString().latin1()); // tqDebug("Trying %s", params[0].toString().latin1());
if (params.count() > 1) if (params.count() > 1)
text = proc.run(params[0].toString().local8Bit(), params[1].toString()); text = proc.run(params[0].toString().local8Bit(), params[1].toString());
else else
@ -476,7 +476,7 @@ static ParseNode f_execBackground(Parser* P, const ParameterList& params)
MyProcess proc(P->currentWidget()); MyProcess proc(P->currentWidget());
proc.setBlocking(false); proc.setBlocking(false);
TQString text; TQString text;
qDebug("Trying %s", params[0].toString().latin1()); tqDebug("Trying %s", params[0].toString().latin1());
if (params.count() > 1) if (params.count() > 1)
text = proc.run(params[0].toString().local8Bit(), params[1].toString()); text = proc.run(params[0].toString().local8Bit(), params[1].toString());
else else

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

@ -264,7 +264,7 @@ KXsldbgPart::~KXsldbgPart()
void KXsldbgPart::quit() void KXsldbgPart::quit()
{ {
qWarning("Custom void KXsldbgPart::quit()"); tqWarning("Custom void KXsldbgPart::quit()");
closeURL(); closeURL();
} }
@ -321,7 +321,7 @@ bool KXsldbgPart::fetchURL(const KURL &url)
bool KXsldbgPart::openFile() bool KXsldbgPart::openFile()
{ {
qWarning("bool KXsldbgPart::openFile() called"); tqWarning("bool KXsldbgPart::openFile() called");
return false; return false;
} }
@ -666,7 +666,7 @@ KXsldbgPart::lineNoChanged(TQString fileName, int lineNumber, bool breakpoint)
stream << currentFileName << lineNumber; stream << currentFileName << lineNumber;
emitDCOPSignal("debuggerPositionChanged(TQString,int)", params); emitDCOPSignal("debuggerPositionChanged(TQString,int)", params);
}else { }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){ if (docPtr){
docPtr->addBreakPoint(lineNumber - 1, enabled); docPtr->addBreakPoint(lineNumber - 1, enabled);
}else { }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)); KURL url(XsldbgDebuggerBase::fromUTF8FileName((xmlChar*)msgData));
if (!url.isLocalFile()){ 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; break;
} }
@ -269,7 +269,7 @@ XsldbgEventData *XsldbgEvent::createEventData(XsldbgMessageEnum type, const void
break; break;
default: default:
qDebug("Unhandled type in createEventData %d", type); tqDebug("Unhandled type in createEventData %d", type);
} }
return result; return result;
@ -294,11 +294,11 @@ void XsldbgEvent::emitMessage(XsldbgEventData *eventData)
{ {
if ((eventData == 0L) || (debugger == 0L)){ if ((eventData == 0L) || (debugger == 0L)){
qDebug("emitMessage failed"); tqDebug("emitMessage failed");
if (eventData == 0L) if (eventData == 0L)
qDebug("Event data == NULL"); tqDebug("Event data == NULL");
if (debugger == 0L) if (debugger == 0L)
qDebug("Debugger == NULL"); tqDebug("Debugger == NULL");
return; return;
} }
@ -326,7 +326,7 @@ void XsldbgEvent::emitMessage(XsldbgEventData *eventData)
/* input status ( once thread is running) */ /* input status ( once thread is running) */
case XSLDBG_MSG_AWAITING_INPUT: /* 5: Waiting for user input */ case XSLDBG_MSG_AWAITING_INPUT: /* 5: Waiting for user input */
if ((getInputReady() == 0) && (debugger->commandQueue().count() > 0)){ if ((getInputReady() == 0) && (debugger->commandQueue().count() > 0)){
qDebug("Command queue not empty"); tqDebug("Command queue not empty");
TQTimerEvent *e = new TQTimerEvent(debugger->getUpdateTimerID()); TQTimerEvent *e = new TQTimerEvent(debugger->getUpdateTimerID());
TQApplication::postEvent(debugger, e); TQApplication::postEvent(debugger, e);
} }
@ -429,7 +429,7 @@ void XsldbgEvent::emitMessage(XsldbgEventData *eventData)
break; break;
default: 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) if (debugger->start() == false)
return ; return ;
qDebug("XsldbgConfigImpl::refresh"); tqDebug("XsldbgConfigImpl::refresh");
*/ */
/* we'll get the list of parameters via paramItem(..) in this class */ /* we'll get the list of parameters via paramItem(..) in this class */
/* debugger->fakeInput("showparam", true); /* debugger->fakeInput("showparam", true);

@ -865,7 +865,7 @@ void KMdiChildFrm::unsetClient( TQPoint positionOffset )
if ( firstFocusableChildWidget == 0 ) if ( firstFocusableChildWidget == 0 )
firstFocusableChildWidget = widg; // first widget firstFocusableChildWidget = widg; // first widget
lastFocusableChildWidget = widg; // last 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 ) if ( e->type() == TQEvent::IconChange )
{ {
// qDebug("KMDiChildView:: TQEvent:IconChange intercepted\n"); // tqDebug("KMDiChildView:: TQEvent:IconChange intercepted\n");
if ( TQT_BASE_OBJECT(obj) == this ) if ( TQT_BASE_OBJECT(obj) == this )
iconUpdated( this, icon() ? ( *icon() ) : TQPixmap() ); iconUpdated( this, icon() ? ( *icon() ) : TQPixmap() );
else if ( TQT_BASE_OBJECT(obj) == m_trackChanges ) else if ( TQT_BASE_OBJECT(obj) == m_trackChanges )

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

@ -76,7 +76,7 @@ void Tagxml::initialize(TQDomNode &d, TQTag *dtdTag)
int textcolspan = el.attribute("colspan","1").toInt()-1; int textcolspan = el.attribute("colspan","1").toInt()-1;
int textrowspan = el.attribute("rowspan","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; TQString tip;
TQDomNode tooltip = findChild( n ,"tooltip" ); 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) if (!from.fileName(false).isEmpty() && fileItem)
{ {
emit eventHappened("before_upload", from.url(), to.url()); emit eventHappened("before_upload", from.url(), to.url());

Loading…
Cancel
Save