From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- examples/demo/i18n/i18n.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/demo/i18n/i18n.cpp') diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp index 1fba89252..925fdf139 100644 --- a/examples/demo/i18n/i18n.cpp +++ b/examples/demo/i18n/i18n.cpp @@ -114,14 +114,14 @@ void I18nDemo::newSlot(int id) } if (lastwrapper) { - qApp->removeTranslator(&lastwrapper->translator); + tqApp->removeTranslator(&lastwrapper->translator); lastwrapper = 0; } Wrapper *wrapper = new Wrapper(workspace, windowIdNumber); wrapper->translator.load(qmfile, "."); - qApp->installTranslator(&wrapper->translator); + tqApp->installTranslator(&wrapper->translator); connect(wrapper, SIGNAL(destroyed()), SLOT(wrapperDead())); wrapper->setCaption(tr("--language--")); @@ -139,7 +139,7 @@ void I18nDemo::newSlot(int id) "

See http://www.trolltech.com/qt/ for more " "information.

").arg(TQT_VERSION_STR)); - qApp->removeTranslator(&wrapper->translator); + tqApp->removeTranslator(&wrapper->translator); te->show(); wrapper->show(); @@ -173,7 +173,7 @@ void I18nDemo::windowSlot(int id) void I18nDemo::windowActivated(TQWidget *w) { if (lastwrapper) { - qApp->removeTranslator(&lastwrapper->translator); + tqApp->removeTranslator(&lastwrapper->translator); windowMenu->setItemChecked(lastwrapper->id, FALSE); } @@ -221,7 +221,7 @@ void I18nDemo::wrapperDead() Wrapper *w = (Wrapper *) sender(); if (w == lastwrapper) { - qApp->removeTranslator(&w->translator); + tqApp->removeTranslator(&w->translator); lastwrapper = 0; } @@ -240,7 +240,7 @@ void I18nDemo::showEvent(TQShowEvent *) if (! lastwrapper) return; - qApp->installTranslator(&lastwrapper->translator); + tqApp->installTranslator(&lastwrapper->translator); } @@ -249,5 +249,5 @@ void I18nDemo::hideEvent(TQHideEvent *) if (! lastwrapper) return; - qApp->removeTranslator(&lastwrapper->translator); + tqApp->removeTranslator(&lastwrapper->translator); } -- cgit v1.2.1