summaryrefslogtreecommitdiffstats
path: root/tools/designer/uilib/qwidgetfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/uilib/qwidgetfactory.cpp')
-rw-r--r--tools/designer/uilib/qwidgetfactory.cpp28
1 files changed, 14 insertions, 14 deletions
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