diff options
Diffstat (limited to 'templates/basic/menuapp2.py')
-rw-r--r-- | templates/basic/menuapp2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/basic/menuapp2.py b/templates/basic/menuapp2.py index 1edb042..3a8b2ff 100644 --- a/templates/basic/menuapp2.py +++ b/templates/basic/menuapp2.py @@ -41,7 +41,7 @@ True = not False import sys -from qt import QPopupMenu, SIGNAL +from qt import TQPopupMenu, SIGNAL from tdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KShortcut from tdeui import KMainWindow, KMessageBox, KStdAction, KAction @@ -83,7 +83,7 @@ class MainWin (KMainWindow): self.specialAction = KAction (i18n ("Special"), KShortcut.null (), self.slotSpecial, self.actionCollection (), None) def initMenus (self): - fileMenu = QPopupMenu (self) + fileMenu = TQPopupMenu (self) self.newAction.plug (fileMenu) self.openAction.plug (fileMenu) fileMenu.insertSeparator () @@ -95,7 +95,7 @@ class MainWin (KMainWindow): self.quitAction.plug (fileMenu) self.menuBar ().insertItem (i18n ("&File"), fileMenu) - editMenu = QPopupMenu (self) + editMenu = TQPopupMenu (self) self.undoAction.plug (editMenu) self.redoAction.plug (editMenu) editMenu.insertSeparator () |