diff options
Diffstat (limited to 'korundum/rubylib/examples/menudemo.rb')
-rw-r--r-- | korundum/rubylib/examples/menudemo.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korundum/rubylib/examples/menudemo.rb b/korundum/rubylib/examples/menudemo.rb index 44e5b7f0..0ff27ac8 100644 --- a/korundum/rubylib/examples/menudemo.rb +++ b/korundum/rubylib/examples/menudemo.rb @@ -85,7 +85,7 @@ class MainWin < MainWindow # Demo menu items - # KToggleAction has an isChecked member and emits the "toggle" signal + # TDEToggleAction has an isChecked member and emits the "toggle" signal @toggle1Action = ToggleAction.new("Toggle 1") @toggle2Action = ToggleAction.new("Toggle 2", Shortcut.new(), self, SLOT('slotToggle2()'), nil) @@ -100,18 +100,18 @@ class MainWin < MainWindow icons = IconLoader.new() iconSet = TQt::IconSet.new(icons.loadIcon("viewmag", Icon::Toolbar)) - # Nested menus using KActions (also nested on toolbar) + # Nested menus using TDEActions (also nested on toolbar) @actionMenu = ActionMenu.new("Action Menu") @actionMenu.setIconSet(iconSet) @actionMenu.insert(StdAction.zoomIn(self, SLOT('slotZoomIn()'), actionCollection())) @actionMenu.insert(StdAction.zoomOut(self, SLOT('slotZoomOut()'), actionCollection())) # Doesn't work in KDE 2.1.1 -# radio1Action = KRadioAction ("Radio 1") +# radio1Action = TDERadioAction ("Radio 1") # radio1Action.setExclusiveGroup ("Radio") -# radio2Action = KRadioAction ("Radio 2") +# radio2Action = TDERadioAction ("Radio 2") # radio2Action.setExclusiveGroup ("Radio") -# radio3Action = KRadioAction ("Radio 3") +# radio3Action = TDERadioAction ("Radio 3") # radio3Action.setExclusiveGroup ("Radio") end |