summaryrefslogtreecommitdiffstats
path: root/tools/designer
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:24:30 -0600
commita830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (patch)
tree3910055c634e2ca44eacd2c892118634df9b3597 /tools/designer
parentb0b53cc84f215df9b9bcce77253a6b7a9d300986 (diff)
downloadqt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.tar.gz
qt3-a830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0.zip
Rename additional global TQt functions
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 74a6b19..b12a598 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 412f50f..6991fab 100644
--- a/tools/designer/designer/customwidgeteditorimpl.cpp
+++ b/tools/designer/designer/customwidgeteditorimpl.cpp
@@ -764,7 +764,7 @@ void CustomWidgetEditor::loadDescription()
QString errMsg;
int errLine;
if ( !doc.setContent( &f, &errMsg, &errLine ) ) {
- qDebug( QString("Parse error: ") + errMsg + QString(" in line %d"), errLine );
+ tqDebug( QString("Parse error: ") + errMsg + QString(" in line %d"), errLine );
return;
}
diff --git a/tools/designer/designer/hierarchyview.cpp b/tools/designer/designer/hierarchyview.cpp
index b4c68cc..7e78580 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 2701023..3efe107 100644
--- a/tools/designer/designer/layout.cpp
+++ b/tools/designer/designer/layout.cpp
@@ -774,7 +774,7 @@ void GridLayout::doLayout()
( (QLayoutWidget*)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 0474b2f..3bdf654 100644
--- a/tools/designer/designer/mainwindow.cpp
+++ b/tools/designer/designer/mainwindow.cpp
@@ -133,7 +133,7 @@ MainWindow *MainWindow::self = 0;
QString assistantPath()
{
- QString path = QDir::cleanDirPath( QString( qInstallPathBins() ) +
+ QString path = QDir::cleanDirPath( QString( tqInstallPathBins() ) +
QDir::separator() );
return path;
}
@@ -2794,7 +2794,7 @@ void MainWindow::setSnapGrid( bool b )
QString MainWindow::documentationPath() const
{
- return QString( qInstallPathDocs() ) + "/html/";
+ return QString( tqInstallPathDocs() ) + "/html/";
}
void MainWindow::windowsMenuActivated( int id )
@@ -3421,7 +3421,7 @@ void MainWindow::showSourceLine( QObject *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 d8d99aa..c847f92 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 << (QString(qtdir) + "/tools/designer");
QFile f;
diff --git a/tools/designer/designer/metadatabase.cpp b/tools/designer/designer/metadatabase.cpp
index cd36cc0..4da93cc 100644
--- a/tools/designer/designer/metadatabase.cpp
+++ b/tools/designer/designer/metadatabase.cpp
@@ -152,7 +152,7 @@ void MetaDataBase::setPropertyChanged( QObject *o, const QString &property, bool
}
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( QObject *o, const QString &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 @@ QStringList MetaDataBase::changedProperties( QObject *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 QStringList();
}
@@ -222,7 +222,7 @@ void MetaDataBase::setPropertyComment( QObject *o, const QString &property, cons
}
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 @@ QString MetaDataBase::propertyComment( QObject *o, const QString &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 QString::null;
}
@@ -254,7 +254,7 @@ void MetaDataBase::setFakeProperty( QObject *o, const QString &property, const Q
}
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 @@ QVariant MetaDataBase::fakeProperty( QObject * o, const QString &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 QVariant();
}
@@ -284,7 +284,7 @@ QMap<QString,QVariant>* MetaDataBase::fakeProperties( QObject* 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( QObject *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( QObject *o )
o = ( (QMainWindow*)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( QObject *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( QObject *o )
o = ( (QMainWindow*)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( QObject *o, const QString &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 @@ QString MetaDataBase::resizeMode( QObject *o )
o = ( (QMainWindow*)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 QString::null;
}
@@ -427,7 +427,7 @@ void MetaDataBase::addConnection( QObject *o, QObject *sender, const QCString &s
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( QObject *o, QObject *sender, const QCString
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( QObject *o, const QValueList<LanguageInterf
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( QObject *o, QObject *sender, const QCString &s
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 @@ QValueList<MetaDataBase::Connection> MetaDataBase::connections( QObject *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 QValueList<Connection>();
}
@@ -573,7 +573,7 @@ QValueList<MetaDataBase::Connection> MetaDataBase::connections( QObject *o, QObj
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 QValueList<Connection>();
}
@@ -595,7 +595,7 @@ QValueList<MetaDataBase::Connection> MetaDataBase::connections( QObject *o, QObj
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 QValueList<Connection>();
}
@@ -616,7 +616,7 @@ void MetaDataBase::doConnections( QObject *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( QObject *o, const QCString &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( QObject *o, const QCString &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( QObject *o, const QCString &function, const QStr
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( QObject *o, const QValueList<Function> &func
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( QObject *o, const QCString &function, const Q
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( QObject *o, const QString &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 @@ QValueList<MetaDataBase::Function> MetaDataBase::functionList( QObject *o, bool
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 QValueList<Function>();
}
@@ -834,7 +834,7 @@ QValueList<MetaDataBase::Function> MetaDataBase::slotList( QObject *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 QValueList<Function>();
}
@@ -852,7 +852,7 @@ void MetaDataBase::changeFunction( QObject *o, const QString &function, const QS
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( QObject *o, const QString &oldName,
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( QObject *o, const QCString &function, bool onlyC
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 @@ QString MetaDataBase::languageOfFunction( QObject *o, const QCString &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 QString::null;
}
@@ -1038,7 +1038,7 @@ void MetaDataBase::setTabOrder( QWidget *w, const QWidgetList &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 @@ QWidgetList MetaDataBase::tabOrder( QWidget *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 QWidgetList();
}
@@ -1064,7 +1064,7 @@ void MetaDataBase::setIncludes( QObject *o, const QValueList<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 @@ QValueList<MetaDataBase::Include> MetaDataBase::includes( QObject *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 QValueList<Include>();
}
@@ -1090,7 +1090,7 @@ void MetaDataBase::setForwards( QObject *o, const QStringList &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 @@ QStringList MetaDataBase::forwards( QObject *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 QStringList();
}
@@ -1116,7 +1116,7 @@ void MetaDataBase::setVariables( QObject *o, const QValueList<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( QObject *o, const QString &name, const QString &
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( QObject *o, const QString &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 @@ QValueList<MetaDataBase::Variable> MetaDataBase::variables( QObject *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 QValueList<MetaDataBase::Variable>();
}
@@ -1175,7 +1175,7 @@ bool MetaDataBase::hasVariable( QObject *o, const QString &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( QObject *o, const QStringList &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 @@ QStringList MetaDataBase::signalList( QObject *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 QStringList();
}
@@ -1249,7 +1249,7 @@ void MetaDataBase::setMetaInfo( QObject *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( QObject *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( QWidget *w, const QCursor &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( QObject *o, int pixmap, const QString &arg
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1415,7 +1415,7 @@ QString MetaDataBase::pixmapArgument( QObject *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 QString::null;
}
@@ -1430,7 +1430,7 @@ void MetaDataBase::clearPixmapArguments( QObject *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( QObject *o, int pixmap, const QString &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 @@ QString MetaDataBase::pixmapKey( QObject *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 QString::null;
}
@@ -1491,7 +1491,7 @@ void MetaDataBase::clearPixmapKeys( QObject *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( QObject *o, const QMap<QString, QString> &co
setupDataBase();
MetaDataBaseRecord *r = db->find( (void*)o );
if ( !r ) {
- qWarning( "No entry for %p (%s, %s) found in MetaDataBase",
+ tqWarning( "No entry for %p (%s, %s) found in MetaDataBase",
o, o->name(), o->className() );
return;
}
@@ -1523,7 +1523,7 @@ QMap<QString, QString> MetaDataBase::columnFields( QObject *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 QMap<QString, QString>();
}
@@ -1589,7 +1589,7 @@ void MetaDataBase::setBreakPoints( QObject *o, const QValueList<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 @@ QValueList<uint> MetaDataBase::breakPoints( QObject *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 QValueList<uint>();
}
@@ -1627,7 +1627,7 @@ void MetaDataBase::setBreakPointCondition( QObject *o, int line, const QString &
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 @@ QString MetaDataBase::breakPointCondition( QObject *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 QString::null;
}
@@ -1662,7 +1662,7 @@ void MetaDataBase::setExportMacro( QObject *o, const QString &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 @@ QString MetaDataBase::exportMacro( QObject *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 a4a6ce0..8ef429c 100644
--- a/tools/designer/designer/newformimpl.cpp
+++ b/tools/designer/designer/newformimpl.cpp
@@ -289,7 +289,7 @@ void NewForm::insertTemplates( QIconView *tView,
const char *qtdir = getenv( "QTDIR" );
if(qtdir)
templRoots << qtdir;
- templRoots << qInstallPathData();
+ templRoots << tqInstallPathData();
if(qtdir) //try the tools/designer directory last!
templRoots << (QString(qtdir) + "/tools/designer");
for ( QStringList::Iterator it = templRoots.begin(); it != templRoots.end(); ++it ) {
diff --git a/tools/designer/designer/pixmapchooser.cpp b/tools/designer/designer/pixmapchooser.cpp
index 8c8b0a7..9e64053 100644
--- a/tools/designer/designer/pixmapchooser.cpp
+++ b/tools/designer/designer/pixmapchooser.cpp
@@ -83,7 +83,7 @@ void PixmapView::previewUrl( const QUrl &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 3eae1c4..6f97dd8 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( QString("Parse error: ") + errMsg + QString(" in line %d"), errLine );
+ tqDebug( QString("Parse error: ") + errMsg + QString(" in line %d"), errLine );
}
f.close();
}
@@ -1583,7 +1583,7 @@ QString Project::locationOfObject( QObject *o )
extern QMap<QWidget*, QString> *qwf_forms;
if ( !qwf_forms ) {
- qWarning( "Project::locationOfObject: qwf_forms is NULL!" );
+ tqWarning( "Project::locationOfObject: qwf_forms is NULL!" );
return QString::null;
}
diff --git a/tools/designer/designer/propertyeditor.cpp b/tools/designer/designer/propertyeditor.cpp
index 708f779..c0c89ae 100644
--- a/tools/designer/designer/propertyeditor.cpp
+++ b/tools/designer/designer/propertyeditor.cpp
@@ -118,7 +118,7 @@ static QStringList getFontList()
{
if ( !fontDataBase ) {
fontDataBase = new QFontDatabase;
- qAddPostRoutine( cleanupFontDatabase );
+ tqAddPostRoutine( cleanupFontDatabase );
}
return fontDataBase->families();
}
@@ -150,7 +150,7 @@ bool PropertyWhatsThis::clicked( const QString& href )
{
if ( !href.isEmpty() ) {
QAssistantClient *ac = MainWindow::self->assistantClient();
- ac->showPage( QString( qInstallPathDocs() ) + "/html/" + href );
+ ac->showPage( QString( tqInstallPathDocs() ) + "/html/" + href );
}
return FALSE; // do not hide window
}
diff --git a/tools/designer/designer/resource.cpp b/tools/designer/designer/resource.cpp
index 257f4e6..cb1c39a 100644
--- a/tools/designer/designer/resource.cpp
+++ b/tools/designer/designer/resource.cpp
@@ -1756,7 +1756,7 @@ void Resource::saveProperty( QObject *w, const QString &name, const QVariant &va
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 @@ QObject *Resource::createObject( const QDomElement &e, QWidget *parent, QLayout*
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 QImage &img, QTextStream &ts, int indent )
QByteArray 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 8754953..7e3cff1 100644
--- a/tools/designer/designer/wizardeditorimpl.cpp
+++ b/tools/designer/designer/wizardeditorimpl.cpp
@@ -252,7 +252,7 @@ void WizardEditor::itemDropped( QListBoxItem * 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 df9a78f..3493dac 100644
--- a/tools/designer/editor/yyindent.cpp
+++ b/tools/designer/editor/yyindent.cpp
@@ -1115,7 +1115,7 @@ static QString fileContents( const QString& fileName )
{
QFile 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 QString::null;
}
@@ -1124,14 +1124,14 @@ static QString fileContents( const QString& fileName )
QString 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 710f50c..9bd0a45 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 144c99f..0648e36 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 QString *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( QChar('\n'), yyCurPos ) + 1;
diff --git a/tools/designer/plugins/dlg/dlg2ui.cpp b/tools/designer/plugins/dlg/dlg2ui.cpp
index c309eb2..66a485a 100644
--- a/tools/designer/plugins/dlg/dlg2ui.cpp
+++ b/tools/designer/plugins/dlg/dlg2ui.cpp
@@ -1617,7 +1617,7 @@ QStringList Dlg2Ui::convertQtArchitectDlgFile( const QString& 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 QStringList();
}
diff --git a/tools/designer/plugins/glade/glade2ui.cpp b/tools/designer/plugins/glade/glade2ui.cpp
index 39ff5e8..07efef2 100644
--- a/tools/designer/plugins/glade/glade2ui.cpp
+++ b/tools/designer/plugins/glade/glade2ui.cpp
@@ -2181,7 +2181,7 @@ QStringList Glade2Ui::convertGladeFile( const QString& fileName )
outFileName += QString( ".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 bce7fb2..2934612 100644
--- a/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
+++ b/tools/designer/plugins/kdevdlg/kdevdlg2ui.cpp
@@ -251,7 +251,7 @@ bool KDEVDLG2UI::parse()
QString outputFile = QString( 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 QTextStream( &fileOut );
targetFiles.append( outputFile );
} else {
@@ -515,7 +515,7 @@ bool KDEVDLG2UI::writeDialog( const QString& 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 1247f3d..6011ca0 100644
--- a/tools/designer/plugins/kdevdlg/main.cpp
+++ b/tools/designer/plugins/kdevdlg/main.cpp
@@ -89,7 +89,7 @@ QStringList KDevDlgFilter::import( const QString &, const QString& filename )
{
QFile 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() );
QTextStream in;
in.setDevice( &file );
diff --git a/tools/designer/plugins/rc/main.cpp b/tools/designer/plugins/rc/main.cpp
index f2e9abb..b3900a9 100644
--- a/tools/designer/plugins/rc/main.cpp
+++ b/tools/designer/plugins/rc/main.cpp
@@ -87,7 +87,7 @@ QStringList RCFilter::import( const QString &, const QString& filename )
{
QFile 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() );
QTextStream in;
in.setDevice( &file );
diff --git a/tools/designer/plugins/rc/rc2ui.cpp b/tools/designer/plugins/rc/rc2ui.cpp
index b3e48dd..0f27730 100644
--- a/tools/designer/plugins/rc/rc2ui.cpp
+++ b/tools/designer/plugins/rc/rc2ui.cpp
@@ -380,7 +380,7 @@ bool RC2UI::makeDialog()
QString outputFile = QString(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 QTextStream( &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 QTextStream( &fileOut );
}
diff --git a/tools/designer/tools/conv2ui/main.cpp b/tools/designer/tools/conv2ui/main.cpp
index 7ede6c7..f0c32c5 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 QString & filename, const QDir & dest )
{
if ( !importFiltersManager ) {
- qWarning( "Conv2ui: no QPluginManager was found" );
+ tqWarning( "Conv2ui: no QPluginManager was found" );
return FALSE;
}
if ( !QFile::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 f6f09c4..6ac2885 100644
--- a/tools/designer/uic/embed.cpp
+++ b/tools/designer/uic/embed.cpp
@@ -78,7 +78,7 @@ static QString convertToCIdentifier( const char *s )
static ulong embedData( QTextStream& out, const uchar* input, int nbytes )
{
#ifndef QT_NO_IMAGE_COLLECTION_COMPRESSION
- QByteArray bazip( qCompress( input, nbytes ) );
+ QByteArray 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 ace2033..6a8db05 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[] )
QFile 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[] )
QString errMsg;
int errLine;
if ( !doc.setContent( &file, &errMsg, &errLine ) ) {
- qWarning( QString("uic: Failed to parse %s: ") + errMsg + QString (" in line %d"), fileName, errLine );
+ tqWarning( QString("uic: Failed to parse %s: ") + errMsg + QString (" in line %d"), fileName, errLine );
return 1;
}
QDomElement e = doc.firstChild().toElement();
if ( e.hasAttribute("version") && e.attribute("version").toDouble() > 3.3 ) {
- qWarning( QString("uic: File generated with too recent version of Qt Designer (%s vs. %s)"),
+ tqWarning( QString("uic: File generated with too recent version of Qt Designer (%s vs. %s)"),
e.attribute("version").latin1(), QT_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 a7be6df..4b0b16c 100644
--- a/tools/designer/uic/subclassing.cpp
+++ b/tools/designer/uic/subclassing.cpp
@@ -345,7 +345,7 @@ void Uic::writeFunctionsSubImpl( const QStringList &fuLst, const QStringList &ty
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 b7fc6e9..0340bc8 100644
--- a/tools/designer/uilib/qwidgetfactory.cpp
+++ b/tools/designer/uilib/qwidgetfactory.cpp
@@ -344,7 +344,7 @@ QWidget *QWidgetFactory::create( QIODevice *dev, QObject *connector, QWidget *pa
if ( doc.setContent( dev, &errMsg, &errLine ) ) {
w = widgetFactory->createFromUiFile( doc, connector, parent, name );
} else {
- // qDebug( QString("Parse error: ") + errMsg + QString(" in line %d"), errLine );
+ // tqDebug( QString("Parse error: ") + errMsg + QString(" in line %d"), errLine );
}
}
if ( !w ) {
@@ -701,7 +701,7 @@ void QWidgetFactory::inputSpacer( const UibStrTable& strings, QDataStream& in,
}
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -768,7 +768,7 @@ void QWidgetFactory::inputColumnOrRow( const UibStrTable& strings,
}
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -833,7 +833,7 @@ void QWidgetFactory::inputItem( const UibStrTable& strings, QDataStream& in,
pixmaps << value.asPixmap();
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -904,7 +904,7 @@ void QWidgetFactory::inputMenuItem( QObject **objects,
popupMenu->insertSeparator();
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
}
@@ -1091,7 +1091,7 @@ QObject *QWidgetFactory::inputObject( QObject **objects, int& numObjects,
QBrush(color, value.asPixmap()) );
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> paletteTag;
}
@@ -1156,7 +1156,7 @@ QObject *QWidgetFactory::inputObject( QObject **objects, int& numObjects,
}
break;
default:
- qFatal( "Corrupt" );
+ tqFatal( "Corrupt" );
}
in >> objectTag;
metAttribute--;
@@ -1193,14 +1193,14 @@ QWidget *QWidgetFactory::createFromUibFile( QDataStream& 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 Qt" );
+ tqWarning( "Incompatible version of Qt" );
return 0;
}
in.setVersion( qdatastreamVersion );
@@ -1259,7 +1259,7 @@ QWidget *QWidgetFactory::createFromUibFile( QDataStream& 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 @@ QWidget *QWidgetFactory::createFromUibFile( QDataStream& 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 @@ QWidget *QWidgetFactory::createFromUibFile( QDataStream& 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 @@ QWidget *QWidgetFactory::createFromUibFile( QDataStream& in,
toplevel->setName( name );
break;
default:
- qWarning( "Version error" );
+ tqWarning( "Version error" );
return 0;
}
in >> blockType;
@@ -1640,7 +1640,7 @@ QWidget *QWidgetFactory::createWidgetInternal( const QDomElement &e, QWidget *pa
QString 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