diff options
Diffstat (limited to 'templates/annotated/menuapp1.py')
-rw-r--r-- | templates/annotated/menuapp1.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/annotated/menuapp1.py b/templates/annotated/menuapp1.py index 23184eb..0f0f3f5 100644 --- a/templates/annotated/menuapp1.py +++ b/templates/annotated/menuapp1.py @@ -43,7 +43,7 @@ True = not False import sys -from qt import QPopupMenu, SIGNAL +from qt import TQPopupMenu, SIGNAL from tdecore import KApplication, KCmdLineArgs, KAboutData, i18n, KStdAccel, KIcon, KIconLoader from tdeui import KMainWindow, KMessageBox @@ -68,9 +68,9 @@ class MainWin (KMainWindow): self.initStatusBar () def initMenus (self): - # Create a QPopupMenu - all menus are "popup" menus + # Create a TQPopupMenu - all menus are "popup" menus - fileMenu = QPopupMenu (self) + fileMenu = TQPopupMenu (self) # This is the "simple" KDE-1.0 way. It is not suggested that this # template actually be used in an application, but it's @@ -116,7 +116,7 @@ class MainWin (KMainWindow): self.menuBar ().insertItem (i18n ("&File"), fileMenu) - editMenu = QPopupMenu (self) + editMenu = TQPopupMenu (self) # "Edit" menu items editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ()) |