diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-04 01:49:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-04 01:49:44 -0600 |
commit | 2627136bb0f3c43fb2d0cb48838ea70425d17241 (patch) | |
tree | 12de29576081ce2853e17c6dabb07da665068455 /templates | |
parent | 12cadbfed97cb4735f3f910f57cba5739438077c (diff) | |
download | pytde-2627136bb0f3c43fb2d0cb48838ea70425d17241.tar.gz pytde-2627136bb0f3c43fb2d0cb48838ea70425d17241.zip |
Additional cleanup
Diffstat (limited to 'templates')
-rw-r--r-- | templates/basic/menuapp1.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py index 863a521..8312c7c 100644 --- a/templates/basic/menuapp1.py +++ b/templates/basic/menuapp1.py @@ -70,31 +70,31 @@ class MainWin (KMainWindow): fileMenu = TQPopupMenu (self) # "File" menu items - fileMenu.insertItem (i18n ("New"), self.slotNew, KStdAccel.openNew ().keyCodeTQt ()) - fileMenu.insertItem (i18n ("Open"), self.slotOpen, KStdAccel.open ().keyCodeTQt ()) + fileMenu.insertItem (i18n ("New"), self.slotNew, KStdAccel.openNew ().keyCodeQt ()) + fileMenu.insertItem (i18n ("Open"), self.slotOpen, KStdAccel.open ().keyCodeQt ()) fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("Save"), self.slotSave, KStdAccel.save ().keyCodeTQt ()) + fileMenu.insertItem (i18n ("Save"), self.slotSave, KStdAccel.save ().keyCodeQt ()) fileMenu.insertItem (i18n ("SaveAs"), self.slotSaveAs) fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("Print"), self.slotPrint, KStdAccel.print_ ().keyCodeTQt ()) + fileMenu.insertItem (i18n ("Print"), self.slotPrint, KStdAccel.print_ ().keyCodeQt ()) fileMenu.insertSeparator (); - fileMenu.insertItem (i18n ("&Quit"), self.slotQuit, KStdAccel.quit ().keyCodeTQt ()); + fileMenu.insertItem (i18n ("&Quit"), self.slotQuit, KStdAccel.quit ().keyCodeQt ()); self.menuBar ().insertItem (i18n ("&File"), fileMenu) editMenu = TQPopupMenu (self) # "Edit" menu items - editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ().keyCodeTQt ()) - editMenu.insertItem (i18n ("Redo"), self.slotRedo, KStdAccel.redo ().keyCodeTQt ()) + editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ().keyCodeQt ()) + editMenu.insertItem (i18n ("Redo"), self.slotRedo, KStdAccel.redo ().keyCodeQt ()) editMenu.insertSeparator (); - editMenu.insertItem (i18n ("Cut"), self.slotCut, KStdAccel.cut ().keyCodeTQt ()) - editMenu.insertItem (i18n ("Copy"), self.slotCopy, KStdAccel.copy ().keyCodeTQt ()) - editMenu.insertItem (i18n ("Paste"), self.slotPaste, KStdAccel.paste ().keyCodeTQt ()) + editMenu.insertItem (i18n ("Cut"), self.slotCut, KStdAccel.cut ().keyCodeQt ()) + editMenu.insertItem (i18n ("Copy"), self.slotCopy, KStdAccel.copy ().keyCodeQt ()) + editMenu.insertItem (i18n ("Paste"), self.slotPaste, KStdAccel.paste ().keyCodeQt ()) editMenu.insertSeparator (); - editMenu.insertItem (i18n ("Find"), self.slotFind, KStdAccel.find ().keyCodeTQt ()) - editMenu.insertItem (i18n ("Find Next"), self.slotFindNext, KStdAccel.findNext ().keyCodeTQt ()) - editMenu.insertItem (i18n ("Replace"), self.slotReplace, KStdAccel.replace ().keyCodeTQt ()) + editMenu.insertItem (i18n ("Find"), self.slotFind, KStdAccel.find ().keyCodeQt ()) + editMenu.insertItem (i18n ("Find Next"), self.slotFindNext, KStdAccel.findNext ().keyCodeQt ()) + editMenu.insertItem (i18n ("Replace"), self.slotReplace, KStdAccel.replace ().keyCodeQt ()) self.menuBar ().insertItem (i18n ("&Edit"), editMenu) |