diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:37:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:37:05 -0600 |
commit | 313fa28dc5e72d738faec49ff14fa5aed4a7fcd4 (patch) | |
tree | df0fec64d296b72881b384fcc7dd4541c84d2d88 /kdevdesigner | |
parent | 1040d772e2544a98af4bc49c94b47cea28111559 (diff) | |
download | tdevelop-313fa28dc5e72d738faec49ff14fa5aed4a7fcd4.tar.gz tdevelop-313fa28dc5e72d738faec49ff14fa5aed4a7fcd4.zip |
Rename additional global TQt functions
Diffstat (limited to 'kdevdesigner')
-rw-r--r-- | kdevdesigner/designer/command.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/customwidgeteditorimpl.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/formfile.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/hierarchyview.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/kdevdesigner_part.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/layout.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/mainwindow.cpp | 6 | ||||
-rw-r--r-- | kdevdesigner/designer/mainwindowactions.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/metadatabase.cpp | 128 | ||||
-rw-r--r-- | kdevdesigner/designer/newformimpl.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/pixmapchooser.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/designer/project.cpp | 4 | ||||
-rw-r--r-- | kdevdesigner/designer/propertyeditor.cpp | 4 | ||||
-rw-r--r-- | kdevdesigner/designer/resource.cpp | 4 | ||||
-rw-r--r-- | kdevdesigner/designer/wizardeditorimpl.cpp | 2 | ||||
-rw-r--r-- | kdevdesigner/uilib/qwidgetfactory.cpp | 28 |
16 files changed, 97 insertions, 97 deletions
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<TQString,TQVariant>* MetaDataBase::fakeProperties( TQObject* o ) setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return 0; } @@ -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 TQValueList<LanguageInte 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; } @@ -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::Connection> MetaDataBase::connections( TQObject *o ) setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return TQValueList<Connection>(); } @@ -572,7 +572,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return TQValueList<Connection>(); } @@ -594,7 +594,7 @@ TQValueList<MetaDataBase::Connection> MetaDataBase::connections( TQObject *o, TQ setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return TQValueList<Connection>(); } @@ -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<Function> &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::Function> 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<Function>(); } @@ -833,7 +833,7 @@ TQValueList<MetaDataBase::Function> 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<Function>(); } @@ -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<Include> &incs ) setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return; } @@ -1075,7 +1075,7 @@ TQValueList<MetaDataBase::Include> MetaDataBase::includes( TQObject *o ) setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return TQValueList<Include>(); } @@ -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<Variable> &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::Variable> 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<MetaDataBase::Variable>(); } @@ -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<TQString, TQString> setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return; } @@ -1521,7 +1521,7 @@ TQMap<TQString, TQString> MetaDataBase::columnFields( TQObject *o ) setupDataBase(); MetaDataBaseRecord *r = db->find( (void*)o ); if ( !r ) { - qWarning( "No entry for %p (%s, %s) found in MetaDataBase", + tqWarning( "No entry for %p (%s, %s) found in MetaDataBase", o, o->name(), o->className() ); return TQMap<TQString, TQString>(); } @@ -1588,7 +1588,7 @@ void MetaDataBase::setBreakPoints( TQObject *o, const TQValueList<uint> &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<uint> 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<uint>(); } @@ -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<TQWidget*, TQString> *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 |