diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:38:16 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:38:16 -0600 |
| commit | 104997c6f7b545c0095fdc1b1573367bc4cb4d5b (patch) | |
| tree | cb6ae5f9464208d78cb51515f5a3c3a0a7edc64f /examples3/i18n/mywidget.py | |
| parent | e87fff3247e64b4e9509be991a8f2d6bd4ccfacc (diff) | |
| download | pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.tar.gz pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.zip | |
Rename tqt3 color functions
Diffstat (limited to 'examples3/i18n/mywidget.py')
| -rw-r--r-- | examples3/i18n/mywidget.py | 8 |
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) |
