summaryrefslogtreecommitdiffstats
path: root/src/kernel/qtranslator.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
committerTimothy Pearson <[email protected]>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /src/kernel/qtranslator.cpp
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'src/kernel/qtranslator.cpp')
-rw-r--r--src/kernel/qtranslator.cpp14
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;
}