diff options
author | Timothy Pearson <[email protected]> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /tools/designer/uilib | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'tools/designer/uilib')
-rw-r--r-- | tools/designer/uilib/qwidgetfactory.cpp | 8 |
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 ); } |