From 313fa28dc5e72d738faec49ff14fa5aed4a7fcd4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:37:05 -0600 Subject: [PATCH] Rename additional global TQt functions --- buildtools/lib/parsers/qmake/qmake.yy | 2 +- buildtools/lib/parsers/qmake/qmake_yacc.cpp | 2 +- buildtools/pascal/pascalproject_part.cpp | 4 +- buildtools/qmake/trollprojectwidget.cpp | 2 +- kdevdesigner/designer/command.cpp | 2 +- .../designer/customwidgeteditorimpl.cpp | 2 +- kdevdesigner/designer/formfile.cpp | 2 +- kdevdesigner/designer/hierarchyview.cpp | 2 +- kdevdesigner/designer/kdevdesigner_part.cpp | 2 +- kdevdesigner/designer/layout.cpp | 2 +- kdevdesigner/designer/mainwindow.cpp | 6 +- kdevdesigner/designer/mainwindowactions.cpp | 2 +- kdevdesigner/designer/metadatabase.cpp | 128 +++++++++--------- kdevdesigner/designer/newformimpl.cpp | 2 +- kdevdesigner/designer/pixmapchooser.cpp | 2 +- kdevdesigner/designer/project.cpp | 4 +- kdevdesigner/designer/propertyeditor.cpp | 4 +- kdevdesigner/designer/resource.cpp | 4 +- kdevdesigner/designer/wizardeditorimpl.cpp | 2 +- kdevdesigner/uilib/qwidgetfactory.cpp | 28 ++-- .../cpp/app_templates/opienet/simpleiface.cpp | 2 +- languages/cpp/app_templates/qt4hello/main.cpp | 2 +- languages/cpp/cppnewclassdlg.cpp | 12 +- languages/php/phpconfigwidget.cpp | 4 +- .../ruby/app_templates/dcopservice/app.cpp | 2 +- languages/ruby/app_templates/kapp/app.cpp | 2 +- languages/ruby/app_templates/kxt/app.cpp | 2 +- lib/util/rurl.cpp | 2 +- lib/util/urlutil.cpp | 2 +- lib/widgets/propeditor/childproperty.cpp | 10 +- lib/widgets/propeditor/multiproperty.cpp | 14 +- lib/widgets/propeditor/propertyeditor.cpp | 16 +-- lib/widgets/propeditor/propertylist.cpp | 26 ++-- lib/widgets/propeditor/psizepolicyedit.cpp | 2 +- lib/widgets/propeditor/qeditlistbox.cpp | 8 +- lib/widgets/qcomboview.cpp | 16 +-- parts/abbrev/abbrevconfigwidget.cpp | 4 +- parts/classview/hierarchydlg.cpp | 6 +- 38 files changed, 168 insertions(+), 168 deletions(-) diff --git a/buildtools/lib/parsers/qmake/qmake.yy b/buildtools/lib/parsers/qmake/qmake.yy index 991f1eee..a04c8e58 100644 --- a/buildtools/lib/parsers/qmake/qmake.yy +++ b/buildtools/lib/parsers/qmake/qmake.yy @@ -358,7 +358,7 @@ function_call : ID_SIMPLE LBRACE function_args RBRACE projects.top()->args = $3; depth++; - //qWarning("%s", $1.ascii()); + //tqWarning("%s", $1.ascii()); if ($1.contains("include")) { IncludeAST *includeAST = new IncludeAST(); diff --git a/buildtools/lib/parsers/qmake/qmake_yacc.cpp b/buildtools/lib/parsers/qmake/qmake_yacc.cpp index 3677ceb9..f9dea804 100644 --- a/buildtools/lib/parsers/qmake/qmake_yacc.cpp +++ b/buildtools/lib/parsers/qmake/qmake_yacc.cpp @@ -678,7 +678,7 @@ namespace TQMake projects.top()->args = (yysemantic_stack_[(4) - (3)].value); depth++; - //qWarning("%s", $1.ascii()); + //tqWarning("%s", $1.ascii()); if ((yysemantic_stack_[(4) - (1)].value).contains("include")) { IncludeAST *includeAST = new IncludeAST(); diff --git a/buildtools/pascal/pascalproject_part.cpp b/buildtools/pascal/pascalproject_part.cpp index 6cb66847..6ab3bd27 100644 --- a/buildtools/pascal/pascalproject_part.cpp +++ b/buildtools/pascal/pascalproject_part.cpp @@ -292,12 +292,12 @@ void PascalProjectPart::listOfFiles(TQStringList &result, TQString path) const { if ((it->isDir()) && (it->filePath() != path)) { -// qWarning("entering dir %s", it->dirPath().latin1()); +// tqWarning("entering dir %s", it->dirPath().latin1()); listOfFiles(result, it->dirPath()); } else { -// qWarning("adding to result: %s", it->filePath().latin1()); +// tqWarning("adding to result: %s", it->filePath().latin1()); result << it->filePath(); } } diff --git a/buildtools/qmake/trollprojectwidget.cpp b/buildtools/qmake/trollprojectwidget.cpp index 000554ca..7ae76d17 100644 --- a/buildtools/qmake/trollprojectwidget.cpp +++ b/buildtools/qmake/trollprojectwidget.cpp @@ -1851,7 +1851,7 @@ void TrollProjectWidget::slotDetailsContextMenu( KListView *, TQListViewItem *it list << DomUtil::Pair( srcfile_relpath, uifile_relpath ); DomUtil::writePairListEntry( dom, "/kdevtrollproject/subclassing", "subclass", "sourcefile", "uifile", list ); // newFileNames[i] = newFileNames[i].replace(TQRegExp(projectDirectory()+"/"),""); - qWarning( "new file: %s", newFileNames[ i ].latin1() ); + tqWarning( "new file: %s", newFileNames[ i ].latin1() ); } m_subclasslist = DomUtil::readPairListEntry( dom, "/kdevtrollproject/subclassing" , "subclass", "sourcefile", "uifile" ); diff --git a/kdevdesigner/designer/command.cpp b/kdevdesigner/designer/command.cpp index a4a13428..71707900 100644 --- a/kdevdesigner/designer/command.cpp +++ b/kdevdesigner/designer/command.cpp @@ -2293,7 +2293,7 @@ void AddMenuCommand::execute() void AddMenuCommand::unexecute() { if ( !item ) { - qWarning( "The AddMenuCommand was created without a menu item." ); + tqWarning( "The AddMenuCommand was created without a menu item." ); return; } item->menu()->hide(); diff --git a/kdevdesigner/designer/customwidgeteditorimpl.cpp b/kdevdesigner/designer/customwidgeteditorimpl.cpp index 869a894c..5759de20 100644 --- a/kdevdesigner/designer/customwidgeteditorimpl.cpp +++ b/kdevdesigner/designer/customwidgeteditorimpl.cpp @@ -761,7 +761,7 @@ void CustomWidgetEditor::loadDescription() TQString errMsg; int errLine; if ( !doc.setContent( &f, &errMsg, &errLine ) ) { - qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); + tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); return; } diff --git a/kdevdesigner/designer/formfile.cpp b/kdevdesigner/designer/formfile.cpp index 325862aa..4c60eaab 100644 --- a/kdevdesigner/designer/formfile.cpp +++ b/kdevdesigner/designer/formfile.cpp @@ -675,7 +675,7 @@ bool FormFile::isUihFileUpToDate() return TRUE; if ( !editor() ) { MainWindow::self->editSource(); - qDebug( "parse Code" ); + tqDebug( "parse Code" ); parseCode( editor()->editorInterface()->text(), TRUE ); } checkTimeStamp(); diff --git a/kdevdesigner/designer/hierarchyview.cpp b/kdevdesigner/designer/hierarchyview.cpp index e6f56f8c..a5357072 100644 --- a/kdevdesigner/designer/hierarchyview.cpp +++ b/kdevdesigner/designer/hierarchyview.cpp @@ -917,7 +917,7 @@ static HierarchyItem::Type getChildType( int type ) { switch ( (HierarchyItem::Type)type ) { case HierarchyItem::Widget: - qWarning( "getChildType: Inserting childs dynamically to Widget or SlotParent is not allowed!" ); + tqWarning( "getChildType: Inserting childs dynamically to Widget or SlotParent is not allowed!" ); break; case HierarchyItem::SlotParent: case HierarchyItem::SlotPublic: diff --git a/kdevdesigner/designer/kdevdesigner_part.cpp b/kdevdesigner/designer/kdevdesigner_part.cpp index a9d045d6..55e96244 100644 --- a/kdevdesigner/designer/kdevdesigner_part.cpp +++ b/kdevdesigner/designer/kdevdesigner_part.cpp @@ -296,7 +296,7 @@ void KDevDesignerPart::fileNew( ) { if (!m_widget->actionNewFile) { - qWarning("wrong m_widget->actionNewFile"); + tqWarning("wrong m_widget->actionNewFile"); return; } m_widget->actionNewFile->activate(); diff --git a/kdevdesigner/designer/layout.cpp b/kdevdesigner/designer/layout.cpp index 2e786a73..b8fb737c 100644 --- a/kdevdesigner/designer/layout.cpp +++ b/kdevdesigner/designer/layout.cpp @@ -767,7 +767,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 ); diff --git a/kdevdesigner/designer/mainwindow.cpp b/kdevdesigner/designer/mainwindow.cpp index bb213135..062ef52b 100644 --- a/kdevdesigner/designer/mainwindow.cpp +++ b/kdevdesigner/designer/mainwindow.cpp @@ -132,7 +132,7 @@ MainWindow *MainWindow::self = 0; TQString assistantPath() { - TQString path = TQDir::cleanDirPath( TQString( qInstallPathBins() ) + + TQString path = TQDir::cleanDirPath( TQString( tqInstallPathBins() ) + TQDir::separator() ); return path; } @@ -2789,7 +2789,7 @@ void MainWindow::setSnapGrid( bool b ) TQString MainWindow::documentationPath() const { - return TQString( qInstallPathDocs() ) + "/html/"; + return TQString( tqInstallPathDocs() ) + "/html/"; } void MainWindow::windowsMenuActivated( int id ) @@ -3416,7 +3416,7 @@ void MainWindow::showSourceLine( TQObject *o, int line, LineMode lm ) fw = ff->formWindow(); if ( !fw && !qwf_forms ) { - qWarning( "MainWindow::showSourceLine: qwf_forms is NULL!" ); + tqWarning( "MainWindow::showSourceLine: qwf_forms is NULL!" ); return; } diff --git a/kdevdesigner/designer/mainwindowactions.cpp b/kdevdesigner/designer/mainwindowactions.cpp index 4fec152e..0aa0275e 100644 --- a/kdevdesigner/designer/mainwindowactions.cpp +++ b/kdevdesigner/designer/mainwindowactions.cpp @@ -1456,7 +1456,7 @@ void MainWindow::createNewTemplate() const char *qtdir = getenv( "QTDIR" ); if(qtdir) templRoots << qtdir; - templRoots << qInstallPathData(); + templRoots << tqInstallPathData(); if(qtdir) //try the tools/designer directory last! templRoots << (TQString(qtdir) + "/tools/designer"); TQFile f; diff --git a/kdevdesigner/designer/metadatabase.cpp b/kdevdesigner/designer/metadatabase.cpp index 6e248e08..ec37a25c 100644 --- a/kdevdesigner/designer/metadatabase.cpp +++ b/kdevdesigner/designer/metadatabase.cpp @@ -151,7 +151,7 @@ void MetaDataBase::setPropertyChanged( TQObject *o, const TQString &property, bo } 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; } @@ -190,7 +190,7 @@ bool MetaDataBase::isPropertyChanged( TQObject *o, const TQString &property ) return ( (PropertyObject*)o )->mdIsPropertyChanged( property ); 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; } @@ -203,7 +203,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(); } @@ -221,7 +221,7 @@ void MetaDataBase::setPropertyComment( TQObject *o, const TQString &property, co } 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; } @@ -236,7 +236,7 @@ TQString MetaDataBase::propertyComment( TQObject *o, const TQString &property ) return ( (PropertyObject*)o )->mdPropertyComment( property ); 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(); } @@ -253,7 +253,7 @@ void MetaDataBase::setFakeProperty( TQObject *o, const TQString &property, const } 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; } @@ -267,7 +267,7 @@ TQVariant MetaDataBase::fakeProperty( TQObject * o, const TQString &property) return ( (PropertyObject*)o )->mdFakeProperty( property ); 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(); } @@ -283,7 +283,7 @@ TQMap* 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; } @@ -297,7 +297,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; } @@ -325,7 +325,7 @@ int MetaDataBase::spacing( 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; } @@ -340,7 +340,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; } @@ -382,7 +382,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; } @@ -396,7 +396,7 @@ void MetaDataBase::setResizeMode( TQObject *o, const TQString &mode ) 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; } @@ -413,7 +413,7 @@ TQString MetaDataBase::resizeMode( 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 TQString(); } @@ -426,7 +426,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; } @@ -460,7 +460,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; } @@ -489,7 +489,7 @@ void MetaDataBase::setupConnections( TQObject *o, const TQValueListfind( (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; } @@ -537,7 +537,7 @@ bool MetaDataBase::hasConnection( 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 FALSE; } @@ -559,7 +559,7 @@ TQValueList 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(); } @@ -572,7 +572,7 @@ TQValueList 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(); } @@ -594,7 +594,7 @@ TQValueList 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(); } @@ -615,7 +615,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; } @@ -669,7 +669,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; } @@ -713,7 +713,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; } @@ -734,7 +734,7 @@ void MetaDataBase::addFunction( TQObject *o, const TQCString &function, const 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; } @@ -758,7 +758,7 @@ void MetaDataBase::setFunctionList( TQObject *o, const TQValueList &fu 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; } @@ -772,7 +772,7 @@ void MetaDataBase::removeFunction( TQObject *o, const TQCString &function, 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; } @@ -796,7 +796,7 @@ void MetaDataBase::removeFunction( TQObject *o, const TQString &function ) 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; } @@ -814,7 +814,7 @@ TQValueList MetaDataBase::functionList( TQObject *o, boo 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(); } @@ -833,7 +833,7 @@ TQValueList 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(); } @@ -851,7 +851,7 @@ void MetaDataBase::changeFunction( TQObject *o, const TQString &function, 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; } @@ -875,7 +875,7 @@ void MetaDataBase::changeFunctionAttributes( TQObject *o, const TQString &oldNam 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; } @@ -899,7 +899,7 @@ bool MetaDataBase::hasFunction( TQObject *o, const TQCString &function, bool onl 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; } @@ -943,7 +943,7 @@ TQString MetaDataBase::languageOfFunction( TQObject *o, const TQCString &functio 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(); } @@ -1036,7 +1036,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; } @@ -1049,7 +1049,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(); } @@ -1062,7 +1062,7 @@ void MetaDataBase::setIncludes( TQObject *o, const TQValueList &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; } @@ -1075,7 +1075,7 @@ TQValueList 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(); } @@ -1088,7 +1088,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; } @@ -1101,7 +1101,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(); } @@ -1114,7 +1114,7 @@ void MetaDataBase::setVariables( TQObject *o, const TQValueList &vars 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; } @@ -1127,7 +1127,7 @@ void MetaDataBase::addVariable( TQObject *o, const TQString &name, 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; } @@ -1142,7 +1142,7 @@ void MetaDataBase::removeVariable( TQObject *o, const TQString &name ) 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; } @@ -1160,7 +1160,7 @@ TQValueList MetaDataBase::variables( 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(); } @@ -1173,7 +1173,7 @@ bool MetaDataBase::hasVariable( TQObject *o, const TQString &name ) 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; } @@ -1201,7 +1201,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; } @@ -1234,7 +1234,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(); } @@ -1247,7 +1247,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; } @@ -1260,7 +1260,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(); } @@ -1306,7 +1306,7 @@ void MetaDataBase::setCursor( TQWidget *w, const TQCursor &c ) } 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; } @@ -1397,7 +1397,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; } @@ -1413,7 +1413,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(); } @@ -1428,7 +1428,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; } @@ -1448,7 +1448,7 @@ void MetaDataBase::setPixmapKey( TQObject *o, int pixmap, const TQString &arg ) } 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; } @@ -1466,7 +1466,7 @@ TQString MetaDataBase::pixmapKey( TQObject *o, int pixmap ) return ( (PropertyObject*)o )->mdPixmapKey( pixmap ); 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(); } @@ -1489,7 +1489,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; } @@ -1506,7 +1506,7 @@ void MetaDataBase::setColumnFields( TQObject *o, const TQMap 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; } @@ -1521,7 +1521,7 @@ TQMap 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(); } @@ -1588,7 +1588,7 @@ void MetaDataBase::setBreakPoints( TQObject *o, const TQValueList &l ) 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; } @@ -1611,7 +1611,7 @@ TQValueList MetaDataBase::breakPoints( 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(); } @@ -1626,7 +1626,7 @@ void MetaDataBase::setBreakPointCondition( TQObject *o, int line, 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; } @@ -1640,7 +1640,7 @@ TQString MetaDataBase::breakPointCondition( TQObject *o, int line ) 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(); } @@ -1661,7 +1661,7 @@ void MetaDataBase::setExportMacro( TQObject *o, const TQString ¯o ) } 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; } @@ -1678,7 +1678,7 @@ TQString MetaDataBase::exportMacro( TQObject *o ) return ( (PropertyObject*)o )->mdExportMacro(); 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 ""; } diff --git a/kdevdesigner/designer/newformimpl.cpp b/kdevdesigner/designer/newformimpl.cpp index 2d631833..e6bfbfec 100644 --- a/kdevdesigner/designer/newformimpl.cpp +++ b/kdevdesigner/designer/newformimpl.cpp @@ -285,7 +285,7 @@ void NewForm::insertTemplates( TQIconView *tView, const char *qtdir = getenv( "QTDIR" ); if(qtdir) templRoots << qtdir; - templRoots << qInstallPathData(); + templRoots << tqInstallPathData(); if(qtdir) //try the tools/designer directory last! templRoots << (TQString(qtdir) + "/tools/designer"); for ( TQStringList::Iterator it = templRoots.begin(); it != templRoots.end(); ++it ) { diff --git a/kdevdesigner/designer/pixmapchooser.cpp b/kdevdesigner/designer/pixmapchooser.cpp index 976343bd..a050f4da 100644 --- a/kdevdesigner/designer/pixmapchooser.cpp +++ b/kdevdesigner/designer/pixmapchooser.cpp @@ -83,7 +83,7 @@ void PixmapView::previewUrl( const TQUrl &u ) if ( !pix.isNull() ) setPixmap( pix ); } else { - qWarning( "Previewing remote files not supported." ); + tqWarning( "Previewing remote files not supported." ); } } diff --git a/kdevdesigner/designer/project.cpp b/kdevdesigner/designer/project.cpp index 1410361d..e14aa5aa 100644 --- a/kdevdesigner/designer/project.cpp +++ b/kdevdesigner/designer/project.cpp @@ -1008,7 +1008,7 @@ void Project::loadConnections() dbConnections.append( conn ); } } else { - qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); + tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); } f.close(); } @@ -1543,7 +1543,7 @@ TQString Project::locationOfObject( TQObject *o ) extern TQMap *qwf_forms; if ( !qwf_forms ) { - qWarning( "Project::locationOfObject: qwf_forms is NULL!" ); + tqWarning( "Project::locationOfObject: qwf_forms is NULL!" ); return TQString(); } diff --git a/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp index 83bdedd3..2f2d1221 100644 --- a/kdevdesigner/designer/propertyeditor.cpp +++ b/kdevdesigner/designer/propertyeditor.cpp @@ -117,7 +117,7 @@ static TQStringList getFontList() { if ( !fontDataBase ) { fontDataBase = new TQFontDatabase; - qAddPostRoutine( cleanupFontDatabase ); + tqAddPostRoutine( cleanupFontDatabase ); } return fontDataBase->families(); } @@ -149,7 +149,7 @@ bool PropertyWhatsThis::clicked( const TQString& href ) { if ( !href.isEmpty() ) { TQAssistantClient *ac = MainWindow::self->assistantClient(); - ac->showPage( TQString( qInstallPathDocs() ) + "/html/" + href ); + ac->showPage( TQString( tqInstallPathDocs() ) + "/html/" + href ); } return FALSE; // do not hide window } diff --git a/kdevdesigner/designer/resource.cpp b/kdevdesigner/designer/resource.cpp index 168de589..4f1e9a37 100644 --- a/kdevdesigner/designer/resource.cpp +++ b/kdevdesigner/designer/resource.cpp @@ -1731,7 +1731,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 ); } } @@ -1778,7 +1778,7 @@ TQObject *Resource::createObject( const TQDomElement &e, TQWidget *parent, TQLay bool isPlugin = WidgetDatabase::isCustomPluginWidget( WidgetDatabase::idFromClassName( parentClassName ) ); if ( isPlugin ) - qWarning( "####### loading custom container widgets without page support not implemented!" ); + tqWarning( "####### loading custom container widgets without page support not implemented!" ); // ### TODO loading for custom container widgets without pages #endif if ( !className.isNull() ) { diff --git a/kdevdesigner/designer/wizardeditorimpl.cpp b/kdevdesigner/designer/wizardeditorimpl.cpp index 5933793e..d791d783 100644 --- a/kdevdesigner/designer/wizardeditorimpl.cpp +++ b/kdevdesigner/designer/wizardeditorimpl.cpp @@ -247,7 +247,7 @@ void WizardEditor::itemDropped( TQListBoxItem * i ) // Assumes that only one item has been moved. int droppedItem = listBox->index( i ); - //qDebug( "Moving page %d -> %d", draggedItem, droppedItem ); + //tqDebug( "Moving page %d -> %d", draggedItem, droppedItem ); MoveWizardPageCommand *cmd = new MoveWizardPageCommand( i18n( "Move Page %1 to %2 in %3" ).arg( draggedItem ).arg( droppedItem ).arg( wizard->name() ), formwindow, wizard, draggedItem, droppedItem ); commands.append( cmd ); } diff --git a/kdevdesigner/uilib/qwidgetfactory.cpp b/kdevdesigner/uilib/qwidgetfactory.cpp index 5c7c70b9..e2511664 100644 --- a/kdevdesigner/uilib/qwidgetfactory.cpp +++ b/kdevdesigner/uilib/qwidgetfactory.cpp @@ -333,7 +333,7 @@ TQWidget *TQWidgetFactory::create( TQIODevice *dev, TQObject *connector, TQWidge if ( doc.setContent( dev, &errMsg, &errLine ) ) { w = widgetFactory->createFromUiFile( doc, connector, parent, name ); } else { - // qDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); + // tqDebug( TQString("Parse error: ") + errMsg + TQString(" in line %d"), errLine ); } } if ( !w ) { @@ -690,7 +690,7 @@ void TQWidgetFactory::inputSpacer( const UibStrTable& strings, TQDataStream& in, } break; default: - qFatal( "Corrupt" ); + tqFatal( "Corrupt" ); } in >> objectTag; } @@ -757,7 +757,7 @@ void TQWidgetFactory::inputColumnOrRow( const UibStrTable& strings, } break; default: - qFatal( "Corrupt" ); + tqFatal( "Corrupt" ); } in >> objectTag; } @@ -822,7 +822,7 @@ void TQWidgetFactory::inputItem( const UibStrTable& strings, TQDataStream& in, pixmaps << value.asPixmap(); break; default: - qFatal( "Corrupt" ); + tqFatal( "Corrupt" ); } in >> objectTag; } @@ -893,7 +893,7 @@ void TQWidgetFactory::inputMenuItem( TQObject **objects, popupMenu->insertSeparator(); break; default: - qFatal( "Corrupt" ); + tqFatal( "Corrupt" ); } in >> objectTag; } @@ -1080,7 +1080,7 @@ TQObject *TQWidgetFactory::inputObject( TQObject **objects, int& numObjects, TQBrush(color, value.asPixmap()) ); break; default: - qFatal( "Corrupt" ); + tqFatal( "Corrupt" ); } in >> paletteTag; } @@ -1145,7 +1145,7 @@ TQObject *TQWidgetFactory::inputObject( TQObject **objects, int& numObjects, } break; default: - qFatal( "Corrupt" ); + tqFatal( "Corrupt" ); } in >> objectTag; metAttribute--; @@ -1182,14 +1182,14 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in, in >> lf; in >> cr; if ( lf != '\n' || cr != '\r' ) { - qWarning( "File corrupted" ); + tqWarning( "File corrupted" ); return 0; } TQ_UINT8 qdatastreamVersion; in >> qdatastreamVersion; if ( (int) qdatastreamVersion > in.version() ) { - qWarning( "Incompatible version of TQt" ); + tqWarning( "Incompatible version of TQt" ); return 0; } in.setVersion( qdatastreamVersion ); @@ -1248,7 +1248,7 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in, unpackStringSplit( strings, in, slot ); // ### #if 0 - qWarning( "connect( %p, %s, %p, %s )", objects[senderNo], + tqWarning( "connect( %p, %s, %p, %s )", objects[senderNo], signal.latin1(), objects[receiverNo], slot.latin1() ); #endif @@ -1257,7 +1257,7 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in, break; case Block_Functions: // ### - qWarning( "Block_Functions not supported" ); + tqWarning( "Block_Functions not supported" ); in.device()->at( nextBlock ); break; case Block_Images: @@ -1339,7 +1339,7 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in, break; case Block_Variables: // ### - qWarning( "Block_Variables not supported" ); + tqWarning( "Block_Variables not supported" ); in.device()->at( nextBlock ); break; case Block_Widget: @@ -1350,7 +1350,7 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in, toplevel->setName( name ); break; default: - qWarning( "Version error" ); + tqWarning( "Version error" ); return 0; } in >> blockType; @@ -1629,7 +1629,7 @@ TQWidget *TQWidgetFactory::createWidgetInternal( const TQDomElement &e, TQWidget TQString parentClassName = parent ? parent->className() : 0; bool isPlugin = parent ? !!d->customWidgets.find( parent->className() ) : FALSE; if ( isPlugin ) - qWarning( "####### loading custom container widgets without page support not implemented!" ); + tqWarning( "####### loading custom container widgets without page support not implemented!" ); // ### TODO loading for custom container widgets without pages #endif diff --git a/languages/cpp/app_templates/opienet/simpleiface.cpp b/languages/cpp/app_templates/opienet/simpleiface.cpp index bbabcbda..df336de5 100644 --- a/languages/cpp/app_templates/opienet/simpleiface.cpp +++ b/languages/cpp/app_templates/opienet/simpleiface.cpp @@ -17,7 +17,7 @@ bool %{APPNAME}Interface::refresh() { * I take wlan0 in my case */ TQString old = getInterfaceName(); - qWarning("Interface name was " + old ); + tqWarning("Interface name was " + old ); setInterfaceName( "wlan0" ); bool b =Interface::refresh(); diff --git a/languages/cpp/app_templates/qt4hello/main.cpp b/languages/cpp/app_templates/qt4hello/main.cpp index 59ee17d7..905f35fb 100644 --- a/languages/cpp/app_templates/qt4hello/main.cpp +++ b/languages/cpp/app_templates/qt4hello/main.cpp @@ -5,7 +5,7 @@ int main(int argc, char *argv[]) { TQCoreApplication app(argc, argv); - qDebug("Hello from TQt 4!"); + tqDebug("Hello from TQt 4!"); return 0; } diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp index 88c01ef8..aa931991 100644 --- a/languages/cpp/cppnewclassdlg.cpp +++ b/languages/cpp/cppnewclassdlg.cpp @@ -534,7 +534,7 @@ void CppNewClassDialog::remClassFromAdv( TQString text ) int *index = new int(1); if (constructors_cpp_edit->find(text + "(", true, false, true, para, index)) { - qWarning("%s( found", text.latin1()); + tqWarning("%s( found", text.latin1()); if (para) constructors_cpp_edit->removeParagraph(*para); }*/ delete it; @@ -936,7 +936,7 @@ bool CppNewClassDialog::isConstructor( TQString className, const FunctionDom &me // regexp: myclass\\s*\\(\\s*(const)?\\s*myclass\\s*&[A-Za-z_0-9\\s]*\\) is for copy constructors if ( ( className == method->name() ) ) { - qWarning( "1x" ); + tqWarning( "1x" ); if ( ( method->argumentList().count() == 1 ) && ( m_part->formatModelItem( method->argumentList() [ 0 ].data() ).contains( TQRegExp( " *(const)? *" + className + " *& *" ) ) ) ) // if ( method->asString().contains(TQRegExp(className + "\\s*\\(\\s*(const)?\\s*" + className + "\\s*&[A-Za-z_0-9\\s]*\\)", true, false)) ) return false; @@ -1701,7 +1701,7 @@ void CppNewClassDialog::ClassGenerator::gen_implementation() "{\n" "}\n" ); - qWarning( "NEW CLASS: constructors = %s", constructors.latin1() ); + tqWarning( "NEW CLASS: constructors = %s", constructors.latin1() ); if ( childClass ) { @@ -1789,7 +1789,7 @@ void CppNewClassDialog::ClassGenerator::gen_implementation() constructors.replace( TQRegExp( "\\$BASEINITIALIZER\\$" ), baseInitializer ); constructors.replace( TQRegExp( "\\$CLASSNAME\\$" ), className ); - // qWarning("NEW CLASS: constructors = %s", constructors.latin1()); + // tqWarning("NEW CLASS: constructors = %s", constructors.latin1()); if ( templateStr.isEmpty() ) { constructors.replace( TQRegExp( "\\$TEMPLATESTR\\$\\n" ), "" ); @@ -1801,9 +1801,9 @@ void CppNewClassDialog::ClassGenerator::gen_implementation() constructors.replace( TQRegExp( "\\$TEMPLATEPARAMS\\$" ), templateParams ); classImpl.replace( TQRegExp( "#include \"\\$HEADER\\$\"\\n" ), "" ); } - // qWarning("NEW CLASS: constructors = %s", constructors.latin1()); + // tqWarning("NEW CLASS: constructors = %s", constructors.latin1()); constructors.replace( TQRegExp( "\\$ARGS\\$" ), argsCpp ); - // qWarning("NEW CLASS: constructors = %s", constructors.latin1()); + // tqWarning("NEW CLASS: constructors = %s", constructors.latin1()); //remove unnesessary carriadge returns diff --git a/languages/php/phpconfigwidget.cpp b/languages/php/phpconfigwidget.cpp index 113defb9..5be07acb 100644 --- a/languages/php/phpconfigwidget.cpp +++ b/languages/php/phpconfigwidget.cpp @@ -119,12 +119,12 @@ void PHPConfigWidget::accept() void PHPConfigWidget::slotZendButtonClicked() { - qWarning( "PHPConfigWidgetBase::slotZendButtonClicked(): Not implemented yet!" ); + tqWarning( "PHPConfigWidgetBase::slotZendButtonClicked(): Not implemented yet!" ); } void PHPConfigWidget::slotAboutClicked() { - qWarning( "PHPConfigWidget::slotAboutClicked()" ); + tqWarning( "PHPConfigWidget::slotAboutClicked()" ); KShellProcess proc("/bin/sh"); proc << exe_edit->text(); proc << "-m"; diff --git a/languages/ruby/app_templates/dcopservice/app.cpp b/languages/ruby/app_templates/dcopservice/app.cpp index 46086a9e..4825c116 100644 --- a/languages/ruby/app_templates/dcopservice/app.cpp +++ b/languages/ruby/app_templates/dcopservice/app.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) { TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); delete instance; if (appdir.isNull()) { - qFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); } TQFileInfo program(appdir); diff --git a/languages/ruby/app_templates/kapp/app.cpp b/languages/ruby/app_templates/kapp/app.cpp index 46086a9e..4825c116 100644 --- a/languages/ruby/app_templates/kapp/app.cpp +++ b/languages/ruby/app_templates/kapp/app.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) { TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); delete instance; if (appdir.isNull()) { - qFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); } TQFileInfo program(appdir); diff --git a/languages/ruby/app_templates/kxt/app.cpp b/languages/ruby/app_templates/kxt/app.cpp index 46086a9e..4825c116 100644 --- a/languages/ruby/app_templates/kxt/app.cpp +++ b/languages/ruby/app_templates/kxt/app.cpp @@ -10,7 +10,7 @@ int main(int argc, char **argv) { TQString appdir = ::locate("data", "%{APPNAMELC}/main.rb", instance); delete instance; if (appdir.isNull()) { - qFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); + tqFatal("Error: Can't find \"%{APPNAMELC}/main.rb\"\n"); } TQFileInfo program(appdir); diff --git a/lib/util/rurl.cpp b/lib/util/rurl.cpp index 05dac07d..8d695154 100644 --- a/lib/util/rurl.cpp +++ b/lib/util/rurl.cpp @@ -209,7 +209,7 @@ Name Name::relativeName( const TQString &base, const TQString &url ) { i >= dir.count() ? currDir = "" : currDir = dir[i]; i >= file.count() ? currFile = "" : currFile = file[i]; -// qWarning("i = %d, currDir = %s, currFile = %s", i, currDir.latin1(), currFile.latin1()); +// tqWarning("i = %d, currDir = %s, currFile = %s", i, currDir.latin1(), currFile.latin1()); if (currDir.isEmpty() && currFile.isEmpty()) break; else if (currDir.isEmpty()) diff --git a/lib/util/urlutil.cpp b/lib/util/urlutil.cpp index 81eecf84..52a620d5 100644 --- a/lib/util/urlutil.cpp +++ b/lib/util/urlutil.cpp @@ -260,7 +260,7 @@ TQString URLUtil::relativePathToFile( const TQString & dirUrl, const TQString & { i >= dir.count() ? currDir = "" : currDir = dir[i]; i >= file.count() ? currFile = "" : currFile = file[i]; - //qWarning("i = %d, currDir = %s, currFile = %s", i, currDir.latin1(), currFile.latin1()); + //tqWarning("i = %d, currDir = %s, currFile = %s", i, currDir.latin1(), currFile.latin1()); if (currDir.isEmpty() && currFile.isEmpty()) break; else if (currDir.isEmpty()) diff --git a/lib/widgets/propeditor/childproperty.cpp b/lib/widgets/propeditor/childproperty.cpp index ac53936a..beebad5a 100644 --- a/lib/widgets/propeditor/childproperty.cpp +++ b/lib/widgets/propeditor/childproperty.cpp @@ -44,14 +44,14 @@ ChildProperty::ChildProperty(MultiProperty *parent, const TQString & name, Child void ChildProperty::setValue(const TQVariant &value, bool // rememberOldValue ) { - qWarning("ChildProperty::setValue"); + tqWarning("ChildProperty::setValue"); if (!m_parent->valid()) return; switch (m_parent->type()) { case Size: { - qWarning("ChildProperty::setValue for TQSize"); + tqWarning("ChildProperty::setValue for TQSize"); TQSize v = m_parent->value().toSize(); if (m_childType == Size_Height) v.setHeight(value.toInt()); @@ -62,7 +62,7 @@ void ChildProperty::setValue(const TQVariant &value, bool // rememberOldValue } case Point: { - qWarning("ChildProperty::setValue for TQPoint"); + tqWarning("ChildProperty::setValue for TQPoint"); TQPoint v = m_parent->value().toPoint(); if (m_childType == Point_X) v.setX(value.toInt()); @@ -73,7 +73,7 @@ void ChildProperty::setValue(const TQVariant &value, bool // rememberOldValue } case Rect: { - qWarning("ChildProperty::setValue for TQRect"); + tqWarning("ChildProperty::setValue for TQRect"); TQRect v = m_parent->value().toRect(); if (m_childType == Rect_X) v.setX(value.toInt()); @@ -88,7 +88,7 @@ void ChildProperty::setValue(const TQVariant &value, bool // rememberOldValue } case SizePolicy: { - qWarning("ChildProperty::setValue for TQSizePolicy"); + tqWarning("ChildProperty::setValue for TQSizePolicy"); TQSizePolicy v = m_parent->value().toSizePolicy(); if (m_childType == SizePolicy_HorData) v.setHorData(TQSizePolicy::SizeType(value.toInt())); diff --git a/lib/widgets/propeditor/multiproperty.cpp b/lib/widgets/propeditor/multiproperty.cpp index ac1cb0fb..eae14e98 100644 --- a/lib/widgets/propeditor/multiproperty.cpp +++ b/lib/widgets/propeditor/multiproperty.cpp @@ -159,7 +159,7 @@ void MultiProperty::setValue(const TQVariant &value) property->setValue(value); if (m_propertyList) { -// qWarning("emit change"); +// tqWarning("emit change"); emit m_propertyList->propertyValueChanged(property); } } @@ -190,11 +190,11 @@ void MultiProperty::addProperty(Property *prop) void MultiProperty::removeProperty(Property *prop) { -/* qWarning("op >> removing %s", prop->name().ascii()); - qWarning("op >> list is %d", list.count());*/ +/* tqWarning("op >> removing %s", prop->name().ascii()); + tqWarning("op >> list is %d", list.count());*/ /*bool b = */list.remove(prop); -/* qWarning("op >> list is %d", list.count()); - qWarning("op >> removal is %s", b?"true":"false"); */ +/* tqWarning("op >> list is %d", list.count()); + tqWarning("op >> removal is %s", b?"true":"false"); */ } bool MultiProperty::operator ==(const MultiProperty &prop) const @@ -206,8 +206,8 @@ bool MultiProperty::operator ==(const MultiProperty &prop) const bool MultiProperty::operator ==(const Property &prop) const { -/* qWarning("MultiProperty::operator == for %s = %s", name().ascii(), prop.name().ascii()); - qWarning("MultiProperty::operator == for %d = %d", type(), prop.type());*/ +/* tqWarning("MultiProperty::operator == for %s = %s", name().ascii(), prop.name().ascii()); + tqWarning("MultiProperty::operator == for %d = %d", type(), prop.type());*/ if ( (type() == prop.type()) && (name() == prop.name()) ) return true; return false; diff --git a/lib/widgets/propeditor/propertyeditor.cpp b/lib/widgets/propeditor/propertyeditor.cpp index a1bd9406..c7eafd8f 100644 --- a/lib/widgets/propeditor/propertyeditor.cpp +++ b/lib/widgets/propeditor/propertyeditor.cpp @@ -219,14 +219,14 @@ void PropertyEditor::populateProperties(PropertyList *list) for (TQValueList > >::const_iterator it = groups.begin(); it != groups.end(); ++it) { -// qWarning("PropertyEditor::populateProperties: adding group %s", (*it).first.ascii()); +// tqWarning("PropertyEditor::populateProperties: adding group %s", (*it).first.ascii()); PropertyGroupItem *group = 0; if ( (!(*it).first.isEmpty()) && ((*it).second.count() > 0) ) group = new PropertyGroupItem(this, (*it).first); const TQValueList &properties = (*it).second; for (TQValueList::const_iterator it2 = properties.begin(); it2 != properties.end(); ++it2) { -// qWarning("PropertyEditor::populateProperties: adding property %s", (*it2).ascii()); +// tqWarning("PropertyEditor::populateProperties: adding property %s", (*it2).ascii()); if (group) addProperty(group, *it2); else @@ -245,7 +245,7 @@ void PropertyEditor::addProperty(PropertyGroupItem *group, const TQString &name) { if ((*m_list)[name] == 0) return; -// qWarning("%s = name : object null ", name.ascii()); +// tqWarning("%s = name : object null ", name.ascii()); PropertyItem *pitem = new PropertyItem(this, group, (*m_list)[name]); addChildProperties(pitem); } @@ -254,7 +254,7 @@ void PropertyEditor::addProperty(const TQString &name) { if ((*m_list)[name] == 0) return; -// qWarning("%s = name : object null ", name.ascii()); +// tqWarning("%s = name : object null ", name.ascii()); PropertyItem *pitem = new PropertyItem(this, (*m_list)[name]); addChildProperties(pitem); } @@ -270,12 +270,12 @@ void PropertyEditor::addChildProperties(PropertyItem *parent) machine(prop); } -// qWarning("seeking children: count: %d", prop->details.count()); +// tqWarning("seeking children: count: %d", prop->details.count()); parent->setOpen(true); for (TQValueList::iterator it = prop->details.begin(); it != prop->details.end(); ++it) { -// qWarning("found child %s", (*it).name().ascii()); +// tqWarning("found child %s", (*it).name().ascii()); new PropertyItem(this, parent, new MultiProperty(&m_detailedList, &(*it))); } } @@ -296,7 +296,7 @@ void PropertyEditor::clearProperties() void PropertyEditor::propertyValueChanged(Property *property) { -// qWarning("PropertyEditor::propertyValueChanged"); +// tqWarning("PropertyEditor::propertyValueChanged"); if (m_currentEditWidget->propertyName() == property->name()) m_currentEditWidget->setValue(property->value(), false); else @@ -316,7 +316,7 @@ void PropertyEditor::propertyChanged(MultiProperty *property, const TQVariant &v if (!property) return; - qWarning("editor: assign %s to %s", property->name().latin1(), value.toString().latin1()); + tqWarning("editor: assign %s to %s", property->name().latin1(), value.toString().latin1()); property->setValue(value, false); //highlight changed properties diff --git a/lib/widgets/propeditor/propertylist.cpp b/lib/widgets/propeditor/propertylist.cpp index b831e6d2..a5b43a3f 100644 --- a/lib/widgets/propeditor/propertylist.cpp +++ b/lib/widgets/propeditor/propertylist.cpp @@ -109,7 +109,7 @@ void PropertyList::removeProperty(Property *property) delete property; if (mp->list.count() == 0) { -// qWarning("rp: removing mp for %s itself", pname.ascii()); +// tqWarning("rp: removing mp for %s itself", pname.ascii()); m_list.remove(pname); delete mp; } @@ -135,7 +135,7 @@ void PropertyList::removeProperty(const TQString &name) } if (m_list[name]->list.count() == 0) { -// qWarning("rp2: removing mp for %s itself", name.ascii()); +// tqWarning("rp2: removing mp for %s itself", name.ascii()); delete m_list[name]; m_list.remove(name); } @@ -194,15 +194,15 @@ void PropertyList::addToGroup(const TQString &group, MultiProperty *property) void PropertyList::removeFromGroup(MultiProperty *property) { TQString group = m_groupOfProperty[property]; -// qWarning("removeFromGroup group=%s", group.ascii()); +// tqWarning("removeFromGroup group=%s", group.ascii()); for(TQValueList > >::iterator it = m_propertiesOfGroup.begin(); it != m_propertiesOfGroup.end(); ++it) { -// qWarning("removeFromGroup checking %s", (*it).first.ascii()); +// tqWarning("removeFromGroup checking %s", (*it).first.ascii()); if ((*it).first == group) { -// qWarning("removeFromGroup removing %s", property->name().ascii()); +// tqWarning("removeFromGroup removing %s", property->name().ascii()); (*it).second.remove(property->name()); break; } @@ -305,26 +305,26 @@ PropertyBuffer::PropertyBuffer( ) void PropertyBuffer::intersect(const PropertyList *list) { - qWarning("PropertyBuffer::intersect"); + tqWarning("PropertyBuffer::intersect"); for (TQMap::iterator it = m_list.begin(); it != m_list.end(); ++it) { -// qWarning("intersect:: for mp = %s", it.data()->name().ascii()); +// tqWarning("intersect:: for mp = %s", it.data()->name().ascii()); if (list->m_list.contains(it.key())) { -/* qWarning("intersect:: list contains %s", it.key().ascii()); +/* tqWarning("intersect:: list contains %s", it.key().ascii()); if ( (*(it.data()) == *(list->m_list[it.key()]))) - qWarning("intersect:: equal properties"); + tqWarning("intersect:: equal properties"); else - qWarning("intersect:: not equal properties");*/ + tqWarning("intersect:: not equal properties");*/ if ( ((*it.data()) == *(list->m_list[it.key()])) && (list->m_groupOfProperty[list->m_list[it.key()]] == m_groupOfProperty[it.data()]) ) { -// qWarning("intersect:: equal properties, adding"); +// tqWarning("intersect:: equal properties, adding"); it.data()->addProperty(list->m_list[it.key()]); continue; } } -// qWarning("intersect:: removing %s from intersection", it.key().ascii()); +// tqWarning("intersect:: removing %s from intersection", it.key().ascii()); removeProperty(it.key()); } connect(list, TQT_SIGNAL(propertyValueChanged(Property*)), this, TQT_SLOT(intersectedValueChanged(Property*))); @@ -332,7 +332,7 @@ void PropertyBuffer::intersect(const PropertyList *list) void PropertyBuffer::intersectedValueChanged(Property *property) { -// qWarning("PropertyBuffer::intersectedValueChanged"); +// tqWarning("PropertyBuffer::intersectedValueChanged"); TQString propertyName = property->name(); if (!contains(propertyName)) return; diff --git a/lib/widgets/propeditor/psizepolicyedit.cpp b/lib/widgets/propeditor/psizepolicyedit.cpp index 652fc616..99983457 100644 --- a/lib/widgets/propeditor/psizepolicyedit.cpp +++ b/lib/widgets/propeditor/psizepolicyedit.cpp @@ -61,7 +61,7 @@ void PSizePolicyEdit::setValue(const TQVariant& value, bool emitChange) TQString PSizePolicyEdit::findValueDescription(TQVariant val) const { -// qWarning("PSizePolicyEdit::findValueDescription : %d", val.toInt()); +// tqWarning("PSizePolicyEdit::findValueDescription : %d", val.toInt()); for (TQMap::const_iterator it = m_spValues.begin(); it != m_spValues.end(); ++ it) { if (it.data() == val) diff --git a/lib/widgets/propeditor/qeditlistbox.cpp b/lib/widgets/propeditor/qeditlistbox.cpp index ad3ab6c4..683a0931 100644 --- a/lib/widgets/propeditor/qeditlistbox.cpp +++ b/lib/widgets/propeditor/qeditlistbox.cpp @@ -195,14 +195,14 @@ void QEditListBox::moveItemUp() { if (!m_listBox->isEnabled()) { - qDebug("beep"); + tqDebug("beep"); return; } unsigned int selIndex = m_listBox->currentItem(); if (selIndex == 0) { - qDebug("beep"); + tqDebug("beep"); return; } @@ -218,14 +218,14 @@ void QEditListBox::moveItemDown() { if (!m_listBox->isEnabled()) { - qDebug("beep"); + tqDebug("beep"); return; } unsigned int selIndex = m_listBox->currentItem(); if (selIndex == m_listBox->count() - 1) { - qDebug("beep"); + tqDebug("beep"); return; } diff --git a/lib/widgets/qcomboview.cpp b/lib/widgets/qcomboview.cpp index d3335349..cb44f32c 100644 --- a/lib/widgets/qcomboview.cpp +++ b/lib/widgets/qcomboview.cpp @@ -84,7 +84,7 @@ void QComboViewData::updateLinedGeometry() TQRect r = TQStyle::visualRect( combo->style().querySubControlMetrics(TQStyle::CC_ComboBox, combo, TQStyle::SC_ComboBoxEditField), combo ); -// qWarning("updateLinedGeometry(): currentItem is %d", combo->currentItem() == 0 ? 0 : 1); +// tqWarning("updateLinedGeometry(): currentItem is %d", combo->currentItem() == 0 ? 0 : 1); const TQPixmap *pix = combo->currentItem() ? combo->currentItem()->pixmap(0) : 0; if ( pix && pix->width() < r.width() ) r.setLeft( r.left() + pix->width() + 4 ); @@ -98,7 +98,7 @@ static inline bool checkInsertIndex( const char *method, const char * name, bool range_err = (*index > count); #if defined(TQT_CHECK_RANGE) if ( range_err ) - qWarning( "QComboView::%s: (%s) Index %d out of range", + tqWarning( "QComboView::%s: (%s) Index %d out of range", method, name ? name : "", *index ); #else Q_UNUSED( method ) @@ -116,7 +116,7 @@ static inline bool checkIndex( const char *method, const char * name, bool range_err = (index >= count); #if defined(TQT_CHECK_RANGE) if ( range_err ) - qWarning( "QComboView::%s: (%s) Index %i out of range", + tqWarning( "QComboView::%s: (%s) Index %i out of range", method, name ? name : "", index ); #else Q_UNUSED( method ) @@ -235,7 +235,7 @@ void QComboView::setCurrentItem( TQListViewItem *item ) d->completeAt = 0; if ( d->ed ) { d->ed->setText( item->text(0) ); -// qWarning("setCurrentItem( %s )", item->text(0).latin1()); +// tqWarning("setCurrentItem( %s )", item->text(0).latin1()); d->updateLinedGeometry(); } if ( d->listView() ) { @@ -322,7 +322,7 @@ void QComboView::internalActivate( TQListViewItem * item ) TQString t( item->text(0) ); if ( d->ed ) { d->ed->setText( t ); -// qWarning("internalActivate( %s )", item->text(0).latin1()); +// tqWarning("internalActivate( %s )", item->text(0).latin1()); d->updateLinedGeometry(); } emit activated( item ); @@ -893,7 +893,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event ) switch( event->type() ) { case TQEvent::MouseMove: if ( !d->mouseWasInsidePopup ) { -// qWarning("!d->mouseWasInsidePopup"); +// tqWarning("!d->mouseWasInsidePopup"); TQPoint pos = e->pos(); if ( TQT_TQRECT_OBJECT(d->listView()->rect()).contains( pos ) ) d->mouseWasInsidePopup = TRUE; @@ -919,7 +919,7 @@ bool QComboView::eventFilter( TQObject *object, TQEvent *event ) } } else if ((e->state() & ( Qt::RightButton | Qt::LeftButton | Qt::MidButton ) ) == 0 && style().styleHint(TQStyle::SH_ComboBox_ListMouseTracking, this)) { -// qWarning("event filter:: emu"); +// tqWarning("event filter:: emu"); TQWidget *mouseW = TQApplication::widgetAt( e->globalPos(), TRUE ); // if ( mouseW == d->listView()->viewport() ) { //### if ( mouseW == d->listView()->viewport() ) { @@ -1482,7 +1482,7 @@ void QComboView::setCurrentActiveItem( TQListViewItem * item ) if ( d->ed ) { d->ed->setText( item->text(0) ); d->ed->setCursorPosition(0); -// qWarning("setCurrentActiveItem( %s )", item->text(0).latin1()); +// tqWarning("setCurrentActiveItem( %s )", item->text(0).latin1()); d->updateLinedGeometry(); } if ( d->listView() ) { diff --git a/parts/abbrev/abbrevconfigwidget.cpp b/parts/abbrev/abbrevconfigwidget.cpp index 97f5c02a..c21857f8 100644 --- a/parts/abbrev/abbrevconfigwidget.cpp +++ b/parts/abbrev/abbrevconfigwidget.cpp @@ -30,12 +30,12 @@ AbbrevConfigWidget::AbbrevConfigWidget(AbbrevPart *part, TQWidget *parent, const { m_part = part; - qWarning("creating abbrevconfigwidget for %d abbrevs", part->templates().allTemplates().count()); + tqWarning("creating abbrevconfigwidget for %d abbrevs", part->templates().allTemplates().count()); TQPtrList templates = part->templates().allTemplates(); CodeTemplate *templ; for (templ = templates.first(); templ; templ = templates.next()) { - qWarning("creating item for code template "); + tqWarning("creating item for code template "); TQListViewItem *it = new TQListViewItem( listTemplates, templ->name, templ->description, diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp index e78661f9..2d55199c 100644 --- a/parts/classview/hierarchydlg.cpp +++ b/parts/classview/hierarchydlg.cpp @@ -240,14 +240,14 @@ void HierarchyDialog::slotNamespaceComboChoice( const TQString& itemText ) void HierarchyDialog::processNamespace( TQString prefix, NamespaceDom dom ) { - qWarning("processNamespace: prefix %s", prefix.latin1()); + tqWarning("processNamespace: prefix %s", prefix.latin1()); TQString prefixInc = prefix.isEmpty() ? "" : "."; // TQString nsprefix = dom->name().isEmpty() ? TQString("") : prefixInc + dom->name(); NamespaceList namespaceList = dom->namespaceList(); for (NamespaceList::const_iterator it = namespaceList.begin(); it != namespaceList.end(); ++it) { - qWarning("about to processNamespace: prefix %s", (prefixInc + (*it)->name()).latin1()); + tqWarning("about to processNamespace: prefix %s", (prefixInc + (*it)->name()).latin1()); processNamespace(prefixInc + (*it)->name(), *it); } @@ -260,7 +260,7 @@ void HierarchyDialog::processNamespace( TQString prefix, NamespaceDom dom ) void HierarchyDialog::processClass( TQString prefix, ClassDom dom ) { - qWarning("processClass: prefix %s class %s", prefix.latin1(), dom->name().latin1()); + tqWarning("processClass: prefix %s class %s", prefix.latin1(), dom->name().latin1()); TQString prefixInc = prefix.isEmpty() ? "" : "."; classes[prefix + prefixInc + dom->name()] = dom;