summaryrefslogtreecommitdiffstats
path: root/examples/i18n/mywidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/i18n/mywidget.py')
-rw-r--r--examples/i18n/mywidget.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/i18n/mywidget.py b/examples/i18n/mywidget.py
index a06a9ee..681d98a 100644
--- a/examples/i18n/mywidget.py
+++ b/examples/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"), tqApp, SLOT("quit()"),
+ self.file.insertItem(self.trUtf8("E&xit"), tqApp, TQ_SLOT("quit()"),
TQKeySequence(self.trUtf8("Ctrl+Q","File|Quit")))
self.menuBar().insertItem(self.trUtf8("&File"), self.file)