summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer')
-rw-r--r--tools/designer/designer/command.cpp2
-rw-r--r--tools/designer/designer/customwidgeteditorimpl.cpp2
-rw-r--r--tools/designer/designer/hierarchyview.cpp2
-rw-r--r--tools/designer/designer/layout.cpp2
-rw-r--r--tools/designer/designer/mainwindow.cpp6
-rw-r--r--tools/designer/designer/mainwindowactions.cpp2
-rw-r--r--tools/designer/designer/metadatabase.cpp128
-rw-r--r--tools/designer/designer/newformimpl.cpp2
-rw-r--r--tools/designer/designer/pixmapchooser.cpp2
-rw-r--r--tools/designer/designer/project.cpp4
-rw-r--r--tools/designer/designer/propertyeditor.cpp4
-rw-r--r--tools/designer/designer/resource.cpp8
-rw-r--r--tools/designer/designer/wizardeditorimpl.cpp2
-rw-r--r--tools/designer/editor/yyindent.cpp6
-rw-r--r--tools/designer/examples/book/connection.cpp4
-rw-r--r--tools/designer/plugins/cppeditor/yyreg.cpp6
-rw-r--r--tools/designer/plugins/dlg/dlg2ui.cpp2
-rw-r--r--tools/designer/plugins/glade/glade2ui.cpp2
-rw-r--r--tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp4
-rw-r--r--tools/designer/plugins/kdevdlg/main.cpp2
-rw-r--r--tools/designer/plugins/rc/main.cpp2
-rw-r--r--tools/designer/plugins/rc/rc2ui.cpp4
-rw-r--r--tools/designer/tools/conv2ui/main.cpp4
-rw-r--r--tools/designer/uic/embed.cpp2
-rw-r--r--tools/designer/uic/main.cpp10
-rw-r--r--tools/designer/uic/subclassing.cpp2
-rw-r--r--tools/designer/uilib/qwidgetfactory.cpp28
27 files changed, 122 insertions, 122 deletions
diff --git a/tools/designer/designer/command.cpp b/tools/designer/designer/command.cpp
index bb25fa86..e374a3cc 100644
--- a/tools/designer/designer/command.cpp
+++ b/tools/designer/designer/command.cpp
@@ -2220,7 +2220,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/tools/designer/designer/customwidgeteditorimpl.cpp b/tools/designer/designer/customwidgeteditorimpl.cpp
index 51571520..955d0ba1 100644
--- a/tools/designer/designer/customwidgeteditorimpl.cpp
+++ b/tools/designer/designer/customwidgeteditorimpl.cpp
@@ -764,7 +764,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/tools/designer/designer/hierarchyview.cpp b/tools/designer/designer/hierarchyview.cpp
index 25d0f334..b27ba330 100644
--- a/tools/designer/designer/hierarchyview.cpp
+++ b/tools/designer/designer/hierarchyview.cpp
@@ -911,7 +911,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/tools/designer/designer/layout.cpp b/tools/designer/designer/layout.cpp
index 2f0393b1..5262e49c 100644
--- a/tools/designer/designer/layout.cpp
+++ b/tools/designer/designer/layout.cpp
@@ -774,7 +774,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/tools/designer/designer/mainwindow.cpp b/tools/designer/designer/mainwindow.cpp
index 1d97ffe4..315cbb63 100644
--- a/tools/designer/designer/mainwindow.cpp
+++ b/tools/designer/designer/mainwindow.cpp
@@ -133,7 +133,7 @@ MainWindow *MainWindow::self = 0;
TQString assistantPath()
{
- TQString path = TQDir::cleanDirPath( TQString( qInstallPathBins() ) +
+ TQString path = TQDir::cleanDirPath( TQString( tqInstallPathBins() ) +
TQDir::separator() );
return path;
}
@@ -2794,7 +2794,7 @@ void MainWindow::setSnapGrid( bool b )
TQString MainWindow::documentationPath() const
{
- return TQString( qInstallPathDocs() ) + "/html/";
+ return TQString( tqInstallPathDocs() ) + "/html/";
}
void MainWindow::windowsMenuActivated( int id )
@@ -3421,7 +3421,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/tools/designer/designer/mainwindowactions.cpp b/tools/designer/designer/mainwindowactions.cpp
index dbff60da..69708a37 100644
--- a/tools/designer/designer/mainwindowactions.cpp
+++ b/tools/designer/designer/mainwindowactions.cpp
@@ -1450,7 +1450,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/tools/designer/designer/metadatabase.cpp b/tools/designer/designer/metadatabase.cpp
index 302ee532..e28d77f3 100644
--- a/tools/designer/designer/metadatabase.cpp
+++ b/tools/designer/designer/metadatabase.cpp
@@ -152,7 +152,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;
}
@@ -191,7 +191,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;
}
@@ -204,7 +204,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();
}
@@ -222,7 +222,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;
}
@@ -237,7 +237,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::null;
}
@@ -254,7 +254,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;
}
@@ -268,7 +268,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();
}
@@ -284,7 +284,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;
}
@@ -298,7 +298,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;
}
@@ -326,7 +326,7 @@ int MetaDataBase::spacing( TQObject *o )
o = ( (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;
}
@@ -341,7 +341,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;
}
@@ -383,7 +383,7 @@ int MetaDataBase::margin( TQObject *o )
o = ( (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;
}
@@ -397,7 +397,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;
}
@@ -414,7 +414,7 @@ TQString MetaDataBase::resizeMode( TQObject *o )
o = ( (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::null;
}
@@ -427,7 +427,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;
}
@@ -461,7 +461,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;
}
@@ -490,7 +490,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;
}
@@ -538,7 +538,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;
}
@@ -560,7 +560,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>();
}
@@ -573,7 +573,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>();
}
@@ -595,7 +595,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>();
}
@@ -616,7 +616,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;
}
@@ -670,7 +670,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;
}
@@ -714,7 +714,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;
}
@@ -735,7 +735,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;
}
@@ -759,7 +759,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;
}
@@ -773,7 +773,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;
}
@@ -797,7 +797,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;
}
@@ -815,7 +815,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>();
}
@@ -834,7 +834,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>();
}
@@ -852,7 +852,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;
}
@@ -876,7 +876,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;
}
@@ -900,7 +900,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;
}
@@ -944,7 +944,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::null;
}
@@ -1038,7 +1038,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;
}
@@ -1051,7 +1051,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();
}
@@ -1064,7 +1064,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;
}
@@ -1077,7 +1077,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>();
}
@@ -1090,7 +1090,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;
}
@@ -1103,7 +1103,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();
}
@@ -1116,7 +1116,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;
}
@@ -1129,7 +1129,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;
}
@@ -1144,7 +1144,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;
}
@@ -1162,7 +1162,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>();
}
@@ -1175,7 +1175,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;
}
@@ -1203,7 +1203,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;
}
@@ -1236,7 +1236,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();
}
@@ -1249,7 +1249,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;
}
@@ -1262,7 +1262,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();
}
@@ -1308,7 +1308,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;
}
@@ -1399,7 +1399,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;
}
@@ -1415,7 +1415,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::null;
}
@@ -1430,7 +1430,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;
}
@@ -1450,7 +1450,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;
}
@@ -1468,7 +1468,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::null;
}
@@ -1491,7 +1491,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;
}
@@ -1508,7 +1508,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;
}
@@ -1523,7 +1523,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>();
}
@@ -1589,7 +1589,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;
}
@@ -1612,7 +1612,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>();
}
@@ -1627,7 +1627,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;
}
@@ -1641,7 +1641,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::null;
}
@@ -1662,7 +1662,7 @@ void MetaDataBase::setExportMacro( TQObject *o, const TQString &macro )
}
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;
}
@@ -1679,7 +1679,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/tools/designer/designer/newformimpl.cpp b/tools/designer/designer/newformimpl.cpp
index 4636bc9d..8bbc41f2 100644
--- a/tools/designer/designer/newformimpl.cpp
+++ b/tools/designer/designer/newformimpl.cpp
@@ -289,7 +289,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/tools/designer/designer/pixmapchooser.cpp b/tools/designer/designer/pixmapchooser.cpp
index de90f369..fc93bf88 100644
--- a/tools/designer/designer/pixmapchooser.cpp
+++ b/tools/designer/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/tools/designer/designer/project.cpp b/tools/designer/designer/project.cpp
index 2d5dc2dd..65ee8bbb 100644
--- a/tools/designer/designer/project.cpp
+++ b/tools/designer/designer/project.cpp
@@ -1048,7 +1048,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();
}
@@ -1583,7 +1583,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::null;
}
diff --git a/tools/designer/designer/propertyeditor.cpp b/tools/designer/designer/propertyeditor.cpp
index af0db8e3..db8b12ac 100644
--- a/tools/designer/designer/propertyeditor.cpp
+++ b/tools/designer/designer/propertyeditor.cpp
@@ -118,7 +118,7 @@ static TQStringList getFontList()
{
if ( !fontDataBase ) {
fontDataBase = new TQFontDatabase;
- qAddPostRoutine( cleanupFontDatabase );
+ tqAddPostRoutine( cleanupFontDatabase );
}
return fontDataBase->families();
}
@@ -150,7 +150,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/tools/designer/designer/resource.cpp b/tools/designer/designer/resource.cpp
index 96720dc4..36af9775 100644
--- a/tools/designer/designer/resource.cpp
+++ b/tools/designer/designer/resource.cpp
@@ -1756,7 +1756,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 );
}
}
@@ -1803,7 +1803,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() ) {
@@ -2367,9 +2367,9 @@ void Resource::saveImageData( const TQImage &img, TQTextStream &ts, int indent )
TQByteArray bazip = ba;
int i = 0;
if (compress) {
- bazip = qCompress( ba );
+ bazip = tqCompress( ba );
format += ".GZ";
- // The first 4 bytes in qCompress() are the length of the unzipped
+ // The first 4 bytes in tqCompress() are the length of the unzipped
// format. The XPM.GZ format does not use these.
i = 4;
}
diff --git a/tools/designer/designer/wizardeditorimpl.cpp b/tools/designer/designer/wizardeditorimpl.cpp
index 99329a25..47468cea 100644
--- a/tools/designer/designer/wizardeditorimpl.cpp
+++ b/tools/designer/designer/wizardeditorimpl.cpp
@@ -252,7 +252,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( tr( "Move page %1 to %2 in %3" ).arg( draggedItem ).arg( droppedItem ).arg( wizard->name() ), formwindow, wizard, draggedItem, droppedItem );
commands.append( cmd );
}
diff --git a/tools/designer/editor/yyindent.cpp b/tools/designer/editor/yyindent.cpp
index 11adb7f9..d8498dc3 100644
--- a/tools/designer/editor/yyindent.cpp
+++ b/tools/designer/editor/yyindent.cpp
@@ -1115,7 +1115,7 @@ static TQString fileContents( const TQString& fileName )
{
TQFile f( fileName );
if ( !f.open(IO_ReadOnly) ) {
- qWarning( "yyindent error: Cannot open file '%s' for reading: %s",
+ tqWarning( "yyindent error: Cannot open file '%s' for reading: %s",
fileName.latin1(), strerror(errno) );
return TQString::null;
}
@@ -1124,14 +1124,14 @@ static TQString fileContents( const TQString& fileName )
TQString contents = t.read();
f.close();
if ( contents.isEmpty() )
- qWarning( "yyindent error: File '%s' is empty", fileName.latin1() );
+ tqWarning( "yyindent error: File '%s' is empty", fileName.latin1() );
return contents;
}
int main( int argc, char **argv )
{
if ( argc != 2 ) {
- qWarning( "usage: yyindent file.cpp" );
+ tqWarning( "usage: yyindent file.cpp" );
return 1;
}
diff --git a/tools/designer/examples/book/connection.cpp b/tools/designer/examples/book/connection.cpp
index 3e42fd99..d9b0df31 100644
--- a/tools/designer/examples/book/connection.cpp
+++ b/tools/designer/examples/book/connection.cpp
@@ -18,9 +18,9 @@ bool createConnections()
defaultDB->setPassword( DB_BOOKS_PASSWD );
defaultDB->setHostName( DB_BOOKS_HOST );
if ( ! defaultDB->open() ) {
- qWarning( "Failed to open books database: " +
+ tqWarning( "Failed to open books database: " +
defaultDB->lastError().driverText() );
- qWarning( defaultDB->lastError().databaseText() );
+ tqWarning( defaultDB->lastError().databaseText() );
return FALSE;
}
diff --git a/tools/designer/plugins/cppeditor/yyreg.cpp b/tools/designer/plugins/cppeditor/yyreg.cpp
index 4073752b..bec1bd9f 100644
--- a/tools/designer/plugins/cppeditor/yyreg.cpp
+++ b/tools/designer/plugins/cppeditor/yyreg.cpp
@@ -71,7 +71,7 @@ enum { Tok_Boi, Tok_Ampersand, Tok_Aster, Tok_LeftParen, Tok_RightParen,
/*
The following variables store the lexical analyzer state. The best way
to understand them is to implement a function myGetToken() that calls
- getToken(), to add some qDebug() statements in there and then to
+ getToken(), to add some tqDebug() statements in there and then to
#define getToken() myGetToken().
*/
static TQString *yyIn; // the input stream
@@ -143,7 +143,7 @@ static void stopTokenizer()
*/
static int getToken()
{
- // why "+ 2"? try putting some qDebug()'s and see
+ // why "+ 2"? try putting some tqDebug()'s and see
yyPos = yyCurPos + 2;
for ( ;; ) {
@@ -177,7 +177,7 @@ static int getToken()
around with the tokenizer state to effectively
ignore the comment. Beware of off-by-one and
off-by-two bugs when you modify this code by adding
- qDebug()'s here and there.
+ tqDebug()'s here and there.
*/
if ( yyCurPos >= 0 ) {
int lineStart = yyIn->findRev( TQChar('\n'), yyCurPos ) + 1;
diff --git a/tools/designer/plugins/dlg/dlg2ui.cpp b/tools/designer/plugins/dlg/dlg2ui.cpp
index da0cd500..e44c285f 100644
--- a/tools/designer/plugins/dlg/dlg2ui.cpp
+++ b/tools/designer/plugins/dlg/dlg2ui.cpp
@@ -1617,7 +1617,7 @@ TQStringList Dlg2Ui::convertTQtArchitectDlgFile( const TQString& fileName )
outf.setName( outFileName );
if ( !outf.open(IO_WriteOnly) ) {
- qWarning( "dlg2ui: Could not open output file '%s'",
+ tqWarning( "dlg2ui: Could not open output file '%s'",
outFileName.latin1() );
return TQStringList();
}
diff --git a/tools/designer/plugins/glade/glade2ui.cpp b/tools/designer/plugins/glade/glade2ui.cpp
index f886a259..4d4eae25 100644
--- a/tools/designer/plugins/glade/glade2ui.cpp
+++ b/tools/designer/plugins/glade/glade2ui.cpp
@@ -2181,7 +2181,7 @@ TQStringList Glade2Ui::convertGladeFile( const TQString& fileName )
outFileName += TQString( ".ui" );
FILE *out = fopen( outFileName.latin1(), "w" );
if ( out == 0 ) {
- qWarning( "glade2ui: Could not open file '%s'",
+ tqWarning( "glade2ui: Could not open file '%s'",
outFileName.latin1() );
} else {
if ( !yyOut.isEmpty() )
diff --git a/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp b/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
index a5a46fe7..e9230192 100644
--- a/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
+++ b/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
@@ -251,7 +251,7 @@ bool KDEVDLG2UI::parse()
TQString outputFile = TQString( className ) + ".ui";
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) )
- qFatal( "kdevdlg2ui: Could not open output file '%s'", outputFile.latin1() );
+ tqFatal( "kdevdlg2ui: Could not open output file '%s'", outputFile.latin1() );
out = new TQTextStream( &fileOut );
targetFiles.append( outputFile );
} else {
@@ -515,7 +515,7 @@ bool KDEVDLG2UI::writeDialog( const TQString& name )
writeColor( "paletteBackgroundColor", color );
} //else {
//if ( line.length() )
- //qDebug( "IGNORED: %s", line.latin1() );
+ //tqDebug( "IGNORED: %s", line.latin1() );
//}
}
*out << "</UI>" << endl;
diff --git a/tools/designer/plugins/kdevdlg/main.cpp b/tools/designer/plugins/kdevdlg/main.cpp
index 1e7c3466..e5ccdce2 100644
--- a/tools/designer/plugins/kdevdlg/main.cpp
+++ b/tools/designer/plugins/kdevdlg/main.cpp
@@ -89,7 +89,7 @@ TQStringList KDevDlgFilter::import( const TQString &, const TQString& filename )
{
TQFile file( filename );
if ( !file.open( IO_ReadOnly ) )
- qWarning( "uic: Could not open file '%s' ", filename.latin1() );
+ tqWarning( "uic: Could not open file '%s' ", filename.latin1() );
TQTextStream in;
in.setDevice( &file );
diff --git a/tools/designer/plugins/rc/main.cpp b/tools/designer/plugins/rc/main.cpp
index 7d899743..6ff2fda1 100644
--- a/tools/designer/plugins/rc/main.cpp
+++ b/tools/designer/plugins/rc/main.cpp
@@ -87,7 +87,7 @@ TQStringList RCFilter::import( const TQString &, const TQString& filename )
{
TQFile file( filename );
if ( !file.open( IO_ReadOnly ) )
- qWarning( "uic: Could not open file '%s' ", filename.latin1() );
+ tqWarning( "uic: Could not open file '%s' ", filename.latin1() );
TQTextStream in;
in.setDevice( &file );
diff --git a/tools/designer/plugins/rc/rc2ui.cpp b/tools/designer/plugins/rc/rc2ui.cpp
index f88f9d43..9730b806 100644
--- a/tools/designer/plugins/rc/rc2ui.cpp
+++ b/tools/designer/plugins/rc/rc2ui.cpp
@@ -380,7 +380,7 @@ bool RC2UI::makeDialog()
TQString outputFile = TQString(className) + ".ui";
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) )
- qFatal( "rc2ui: Could not open output file '%s'", outputFile.latin1() );
+ tqFatal( "rc2ui: Could not open output file '%s'", outputFile.latin1() );
out = new TQTextStream( &fileOut );
targetFiles.append( outputFile );
} else {
@@ -838,7 +838,7 @@ bool RC2UI::makeStringTable()
if (outputFile ) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) )
- qFatal( "rc2ui: Could not open output file '%s'", outputFile.latin1() );
+ tqFatal( "rc2ui: Could not open output file '%s'", outputFile.latin1() );
out = new TQTextStream( &fileOut );
}
diff --git a/tools/designer/tools/conv2ui/main.cpp b/tools/designer/tools/conv2ui/main.cpp
index 67c584b9..31e56172 100644
--- a/tools/designer/tools/conv2ui/main.cpp
+++ b/tools/designer/tools/conv2ui/main.cpp
@@ -76,12 +76,12 @@ bool Conv2ui::reinit()
bool Conv2ui::convert( const TQString & filename, const TQDir & dest )
{
if ( !importFiltersManager ) {
- qWarning( "Conv2ui: no TQPluginManager was found" );
+ tqWarning( "Conv2ui: no TQPluginManager was found" );
return FALSE;
}
if ( !TQFile::exists( absName( filename ) ) ) {
- qWarning( "Conv2ui: can not find file %s", filename.latin1() );
+ tqWarning( "Conv2ui: can not find file %s", filename.latin1() );
return FALSE;
}
diff --git a/tools/designer/uic/embed.cpp b/tools/designer/uic/embed.cpp
index 63cbd9bc..bd9088ea 100644
--- a/tools/designer/uic/embed.cpp
+++ b/tools/designer/uic/embed.cpp
@@ -78,7 +78,7 @@ static TQString convertToCIdentifier( const char *s )
static ulong embedData( TQTextStream& out, const uchar* input, int nbytes )
{
#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
- TQByteArray bazip( qCompress( input, nbytes ) );
+ TQByteArray bazip( tqCompress( input, nbytes ) );
ulong len = bazip.size();
#else
ulong len = nbytes;
diff --git a/tools/designer/uic/main.cpp b/tools/designer/uic/main.cpp
index dbb3962a..b0048e5b 100644
--- a/tools/designer/uic/main.cpp
+++ b/tools/designer/uic/main.cpp
@@ -265,7 +265,7 @@ int main( int argc, char * argv[] )
if ( !outputFile.isEmpty() ) {
fileOut.setName( outputFile );
if (!fileOut.open( IO_WriteOnly ) ) {
- qWarning( "uic: Could not open output file '%s'", outputFile.data() );
+ tqWarning( "uic: Could not open output file '%s'", outputFile.data() );
return 1;
}
} else {
@@ -283,7 +283,7 @@ int main( int argc, char * argv[] )
TQFile file( fileName );
if ( !file.open( IO_ReadOnly ) ) {
- qWarning( "uic: Could not open file '%s'", fileName );
+ tqWarning( "uic: Could not open file '%s'", fileName );
return 1;
}
@@ -291,13 +291,13 @@ int main( int argc, char * argv[] )
TQString errMsg;
int errLine;
if ( !doc.setContent( &file, &errMsg, &errLine ) ) {
- qWarning( TQString("uic: Failed to parse %s: ") + errMsg + TQString (" in line %d"), fileName, errLine );
+ tqWarning( TQString("uic: Failed to parse %s: ") + errMsg + TQString (" in line %d"), fileName, errLine );
return 1;
}
TQDomElement e = doc.firstChild().toElement();
if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) {
- qWarning( TQString("uic: File generated with too recent version of TQt Designer (%s vs. %s)"),
+ tqWarning( TQString("uic: File generated with too recent version of TQt Designer (%s vs. %s)"),
e.attribute("version").latin1(), TQT_VERSION_STR );
return 1;
}
@@ -350,7 +350,7 @@ int main( int argc, char * argv[] )
out << "#endif // " << protector << endl;
}
if ( fileOut.status() != IO_Ok ) {
- qWarning( "uic: Error writing to file" );
+ tqWarning( "uic: Error writing to file" );
if ( !outputFile.isEmpty() )
remove( outputFile );
}
diff --git a/tools/designer/uic/subclassing.cpp b/tools/designer/uic/subclassing.cpp
index 194bb615..17e651f0 100644
--- a/tools/designer/uic/subclassing.cpp
+++ b/tools/designer/uic/subclassing.cpp
@@ -345,7 +345,7 @@ void Uic::writeFunctionsSubImpl( const TQStringList &fuLst, const TQStringList &
out << " */" << endl;
out << type << " " << subClass << "::" << (*it) << endl;
out << "{" << endl;
- out << " qWarning( \"" << subClass << "::" << (*it) << " not yet implemented!\" );" << endl;
+ out << " tqWarning( \"" << subClass << "::" << (*it) << " not yet implemented!\" );" << endl;
out << "}" << endl << endl;
}
out << endl;
diff --git a/tools/designer/uilib/qwidgetfactory.cpp b/tools/designer/uilib/qwidgetfactory.cpp
index 9cd0ad75..d1844bb2 100644
--- a/tools/designer/uilib/qwidgetfactory.cpp
+++ b/tools/designer/uilib/qwidgetfactory.cpp
@@ -344,7 +344,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 ) {
@@ -701,7 +701,7 @@ void TQWidgetFactory::inputSpacer( const UibStrTable& strings, TQDataStream& in,
}
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -768,7 +768,7 @@ void TQWidgetFactory::inputColumnOrRow( const UibStrTable& strings,
}
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -833,7 +833,7 @@ void TQWidgetFactory::inputItem( const UibStrTable& strings, TQDataStream& in,
pixmaps << value.asPixmap();
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -904,7 +904,7 @@ void TQWidgetFactory::inputMenuItem( TQObject **objects,
popupMenu->insertSeparator();
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -1091,7 +1091,7 @@ TQObject *TQWidgetFactory::inputObject( TQObject **objects, int& numObjects,
TQBrush(color, value.asPixmap()) );
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> paletteTag;
}
@@ -1156,7 +1156,7 @@ TQObject *TQWidgetFactory::inputObject( TQObject **objects, int& numObjects,
}
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
metAttribute--;
@@ -1193,14 +1193,14 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in,
in >> lf;
in >> cr;
if ( lf != '\n' || cr != '\r' ) {
- qWarning( "File corrupted" );
+ tqWarning( "File corrupted" );
return 0;
}
Q_UINT8 qdatastreamVersion;
in >> qdatastreamVersion;
if ( (int) qdatastreamVersion > in.version() ) {
- qWarning( "Incompatible version of TQt" );
+ tqWarning( "Incompatible version of TQt" );
return 0;
}
in.setVersion( qdatastreamVersion );
@@ -1259,7 +1259,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
@@ -1268,7 +1268,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:
@@ -1350,7 +1350,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:
@@ -1361,7 +1361,7 @@ TQWidget *TQWidgetFactory::createFromUibFile( TQDataStream& in,
toplevel->setName( name );
break;
default:
- qWarning( "Version error" );
+ tqWarning( "Version error" );
return 0;
}
in >> blockType;
@@ -1640,7 +1640,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