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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/designer/uilib/qwidgetfactory.cpp b/tools/designer/uilib/qwidgetfactory.cpp
index cbf49cc47..9cd0ad75d 100644
--- a/tools/designer/uilib/qwidgetfactory.cpp
+++ b/tools/designer/uilib/qwidgetfactory.cpp
@@ -296,7 +296,7 @@ TQWidget *TQWidgetFactory::create( const TQString &uiFile, TQObject *connector,
bool failed = FALSE;
if ( !f.open( IO_ReadOnly ) )
failed = TRUE;
- if ( failed && qApp->type() == TQApplication::Tty ) {
+ if ( failed && tqApp->type() == TQApplication::Tty ) {
// for TQSA: If we have no GUI, we have no form definition
// files, but just the code. So try if only the code exists.
f.setName( uiFile + ".qs" );
@@ -331,7 +331,7 @@ TQWidget *TQWidgetFactory::create( TQIODevice *dev, TQObject *connector, TQWidge
widgetFactory->toplevel = 0;
// If we have no GUI, we only want to load the code
- if ( qApp->type() != TQApplication::Tty ) {
+ if ( tqApp->type() != TQApplication::Tty ) {
TQIODevice::Offset start = dev->at();
Q_UINT32 magic;
TQDataStream in( dev );
@@ -2612,12 +2612,12 @@ void TQWidgetFactory::loadExtraSource()
TQString TQWidgetFactory::translate( const TQString& sourceText, const TQString& comment )
{
- return qApp->translate( d->translationContext, sourceText.utf8(), comment.utf8(),
+ return tqApp->translate( d->translationContext, sourceText.utf8(), comment.utf8(),
TQApplication::UnicodeUTF8 );
}
TQString TQWidgetFactory::translate( const char *sourceText, const char *comment )
{
- return qApp->translate( d->translationContext, sourceText, comment,
+ return tqApp->translate( d->translationContext, sourceText, comment,
TQApplication::UnicodeUTF8 );
}