summaryrefslogtreecommitdiffstats
path: root/examples3/i18n/mywidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples3/i18n/mywidget.py')
-rw-r--r--examples3/i18n/mywidget.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples3/i18n/mywidget.py b/examples3/i18n/mywidget.py
index f69cebf..c714910 100644
--- a/examples3/i18n/mywidget.py
+++ b/examples3/i18n/mywidget.py
@@ -15,7 +15,7 @@ class MyWidget(TQMainWindow):
self.setCaption(self.trUtf8("""Internationalization Example"""))
self.file = TQPopupMenu(self)
- self.file.insertItem(self.trUtf8("E&xit"), qApp, SLOT("quit()"),
+ self.file.insertItem(self.trUtf8("E&xit"), tqApp, SLOT("quit()"),
TQKeySequence(self.trUtf8("Ctrl+Q","File|Quit")))
self.menuBar().insertItem(self.trUtf8("&File"), self.file)
@@ -25,9 +25,9 @@ class MyWidget(TQMainWindow):
self.gbox = TQButtonGroup(1, TQGroupBox.Horizontal,
self.trUtf8("View"), self.central)
- rb = TQRadioButton(qApp.translate('MyWidget','Perspective'), self.gbox)
- rb = TQRadioButton(qApp.translate('MyWidget','Isometric'), self.gbox)
- rb = TQRadioButton(qApp.translate('MyWidget','Oblique'), self.gbox)
+ rb = TQRadioButton(tqApp.translate('MyWidget','Perspective'), self.gbox)
+ rb = TQRadioButton(tqApp.translate('MyWidget','Isometric'), self.gbox)
+ rb = TQRadioButton(tqApp.translate('MyWidget','Oblique'), self.gbox)
self.initChoices(self.central)