diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:45:40 +0900 |
commit | faf33629bb6562a6f43f930afafe4b22e9cdb60b (patch) | |
tree | 8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /korundum/rubylib/templates/annotated/menuapp3.rb | |
parent | 0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff) | |
download | tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'korundum/rubylib/templates/annotated/menuapp3.rb')
-rw-r--r-- | korundum/rubylib/templates/annotated/menuapp3.rb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/korundum/rubylib/templates/annotated/menuapp3.rb b/korundum/rubylib/templates/annotated/menuapp3.rb index 37fbf2b4..f1b76940 100644 --- a/korundum/rubylib/templates/annotated/menuapp3.rb +++ b/korundum/rubylib/templates/annotated/menuapp3.rb @@ -96,29 +96,29 @@ class MainWin < KDE::MainWindow # in the toolBar. # "File" menu items - @newAction = KDE::StdAction.openNew(self, SLOT("slotNew()"), actionCollection()) - @openAction = KDE::StdAction.open(self, SLOT("slotOpen()"), actionCollection()) - @saveAction = KDE::StdAction.save(self, SLOT("slotSave()"), actionCollection()) - @saveAsAction = KDE::StdAction.saveAs(self, SLOT("slotSaveAs()"), actionCollection()) - @printAction = KDE::StdAction.print(self, SLOT("slotPrint()"), actionCollection()) - @quitAction = KDE::StdAction.quit(self, SLOT("slotQuit()"), actionCollection()) + @newAction = KDE::StdAction.openNew(self, TQ_SLOT("slotNew()"), actionCollection()) + @openAction = KDE::StdAction.open(self, TQ_SLOT("slotOpen()"), actionCollection()) + @saveAction = KDE::StdAction.save(self, TQ_SLOT("slotSave()"), actionCollection()) + @saveAsAction = KDE::StdAction.saveAs(self, TQ_SLOT("slotSaveAs()"), actionCollection()) + @printAction = KDE::StdAction.print(self, TQ_SLOT("slotPrint()"), actionCollection()) + @quitAction = KDE::StdAction.quit(self, TQ_SLOT("slotQuit()"), actionCollection()) # "Edit" menu items - @undoAction = KDE::StdAction.undo(self, SLOT("slotUndo()"), actionCollection()) - @redoAction = KDE::StdAction.redo(self, SLOT("slotRedo()"), actionCollection()) - @cutAction = KDE::StdAction.cut(self, SLOT("slotCut()"), actionCollection()) - @copyAction = KDE::StdAction.copy(self, SLOT("slotCopy()"), actionCollection()) - @pasteAction = KDE::StdAction.paste(self, SLOT("slotPaste()"), actionCollection()) - @findAction = KDE::StdAction.find(self, SLOT("slotFind()"), actionCollection()) - @findNextAction = KDE::StdAction.findNext(self, SLOT("slotFindNext()"), actionCollection()) - @replaceAction = KDE::StdAction.replace(self, SLOT("slotReplace()"), actionCollection()) + @undoAction = KDE::StdAction.undo(self, TQ_SLOT("slotUndo()"), actionCollection()) + @redoAction = KDE::StdAction.redo(self, TQ_SLOT("slotRedo()"), actionCollection()) + @cutAction = KDE::StdAction.cut(self, TQ_SLOT("slotCut()"), actionCollection()) + @copyAction = KDE::StdAction.copy(self, TQ_SLOT("slotCopy()"), actionCollection()) + @pasteAction = KDE::StdAction.paste(self, TQ_SLOT("slotPaste()"), actionCollection()) + @findAction = KDE::StdAction.find(self, TQ_SLOT("slotFind()"), actionCollection()) + @findNextAction = KDE::StdAction.findNext(self, TQ_SLOT("slotFindNext()"), actionCollection()) + @replaceAction = KDE::StdAction.replace(self, TQ_SLOT("slotReplace()"), actionCollection()) # For ANYTHING constructed from KDE::Action or its descendants (KDE::ActionMenu, KDE::ActionSeparator, # KDE::FontAction, etc) you MUST provide the actionCollection () parent and an object # name ("specialActionName") or the XMLGUI mechanism will not be able to locate the # action. XMLGUI finds the action via its member name value, NOT via its variable name. - @specialAction = KDE::Action.new(i18n("Special"), KDE::Shortcut.new(0), self, SLOT('slotSpecial()'), actionCollection(), "specialActionName") + @specialAction = KDE::Action.new(i18n("Special"), KDE::Shortcut.new(0), self, TQ_SLOT('slotSpecial()'), actionCollection(), "specialActionName") end def initStatusBar() |