diff options
Diffstat (limited to 'src/kernel/qtranslator.cpp')
-rw-r--r-- | src/kernel/qtranslator.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qtranslator.cpp b/src/kernel/qtranslator.cpp index 18d3c839a..7758d31be 100644 --- a/src/kernel/qtranslator.cpp +++ b/src/kernel/qtranslator.cpp @@ -365,8 +365,8 @@ TQTranslator::TQTranslator( TQObject * parent, const char * name ) TQTranslator::~TQTranslator() { - if ( qApp ) - qApp->removeTranslator( this ); + if ( tqApp ) + tqApp->removeTranslator( this ); clear(); delete d; } @@ -597,8 +597,8 @@ bool TQTranslator::do_load( const uchar *data, int len ) } array.resetRawData( (const char *) data, len ); - if ( qApp && qApp->translators && qApp->translators->contains(this) ) - qApp->setReverseLayout( qt_detectRTLLanguage() ); + if ( tqApp && tqApp->translators && tqApp->translators->contains(this) ) + tqApp->setReverseLayout( qt_detectRTLLanguage() ); return ok; } @@ -690,8 +690,8 @@ void TQTranslator::clear() d->messages = 0; #endif - if ( qApp ) { - qApp->setReverseLayout( qt_detectRTLLanguage() ); + if ( tqApp ) { + tqApp->setReverseLayout( qt_detectRTLLanguage() ); TQWidgetList *list = TQApplication::topLevelWidgets(); TQWidgetListIt it( *list ); @@ -699,7 +699,7 @@ void TQTranslator::clear() while ( ( w=it.current() ) != 0 ) { ++it; if (!w->isDesktop()) - qApp->postEvent( w, new TQEvent( TQEvent::LanguageChange ) ); + tqApp->postEvent( w, new TQEvent( TQEvent::LanguageChange ) ); } delete list; } |