diff options
Diffstat (limited to 'templates/annotated/menuapp2.py')
-rw-r--r-- | templates/annotated/menuapp2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/annotated/menuapp2.py b/templates/annotated/menuapp2.py index b3b3501..be0d100 100644 --- a/templates/annotated/menuapp2.py +++ b/templates/annotated/menuapp2.py @@ -67,7 +67,7 @@ class MainWin (KMainWindow): # Create the status bar self.initStatusBar () - # Usings actions, only a single line is retquired + # Usings actions, only a single line is required # to enable/disable both the menu item and corresponding # toolbar button from anywhere in the program self.saveAction.setEnabled (False) @@ -112,7 +112,7 @@ class MainWin (KMainWindow): # or you can use KAction.setIcon to set/change the icon. You # can also add a tooltip with KAction.setToolTip - # This KAction constructor retquires a TQString, an accelerator (0 + # This KAction constructor requires a TQString, an accelerator (0 # in this case), a slot, and a TQObject (None in this case) self.specialAction = KAction (i18n ("Special"), 0, self.slotSpecial, None) |