From 3ed7c09d22a5f310a97516f5bab6068e5688a813 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:07 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- korundum/rubylib/templates/annotated/basicapp.rb | 2 +- korundum/rubylib/templates/annotated/menuapp1.rb | 2 +- korundum/rubylib/templates/annotated/menuapp2.rb | 2 +- korundum/rubylib/templates/annotated/minimal.rb | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'korundum/rubylib/templates/annotated') diff --git a/korundum/rubylib/templates/annotated/basicapp.rb b/korundum/rubylib/templates/annotated/basicapp.rb index fe512f77..9fd77171 100644 --- a/korundum/rubylib/templates/annotated/basicapp.rb +++ b/korundum/rubylib/templates/annotated/basicapp.rb @@ -94,7 +94,7 @@ KDE::CmdLineArgs.addCmdLineOptions([["+files", "File to open", ""]]) # until there is a TDEApplication instance app = KDE::Application.new() -# instantiate the subclass of KMainWindow +# instantiate the subclass of TDEMainWindow mainWindow = MainWin.new(nil, "main window") # create the display diff --git a/korundum/rubylib/templates/annotated/menuapp1.rb b/korundum/rubylib/templates/annotated/menuapp1.rb index d65d3272..bf4ea83c 100644 --- a/korundum/rubylib/templates/annotated/menuapp1.rb +++ b/korundum/rubylib/templates/annotated/menuapp1.rb @@ -92,7 +92,7 @@ class MainWin < KDE::MainWindow fileMenu.insertSeparator() fileMenu.insertItem(i18n("Save"), self, SLOT('slotSave()'), TQt::KeySequence.new(KDE::StdAccel.save().keyCodeQt())) - # KStdAccel doesn't have a standard accelerator for 'Save As', + # TDEStdAccel doesn't have a standard accelerator for 'Save As', # so we omit it - insertItem uses the default value fileMenu.insertItem(i18n("SaveAs"), self, SLOT('slotSaveAs()')) diff --git a/korundum/rubylib/templates/annotated/menuapp2.rb b/korundum/rubylib/templates/annotated/menuapp2.rb index cf79d572..f8778163 100644 --- a/korundum/rubylib/templates/annotated/menuapp2.rb +++ b/korundum/rubylib/templates/annotated/menuapp2.rb @@ -111,7 +111,7 @@ class MainWin < KDE::MainWindow # or you can use KDE::Action.setIcon to set/change the icon. You # can also add a tooltip with KDE::Action.setToolTip - # This KAction constructor requires a string, an accelerator (0 + # This TDEAction constructor requires a string, an accelerator (0 # in this case), a slot, and a TQObject (None in this case) @specialAction = KDE::Action.new(i18n("Special"), KDE::Shortcut.new(0), self, SLOT('slotSpecial()'), actionCollection(), "specialActionName") diff --git a/korundum/rubylib/templates/annotated/minimal.rb b/korundum/rubylib/templates/annotated/minimal.rb index e700adc1..1f910f09 100644 --- a/korundum/rubylib/templates/annotated/minimal.rb +++ b/korundum/rubylib/templates/annotated/minimal.rb @@ -67,7 +67,7 @@ about = KDE::AboutData.new(appName, "A minimal application", "0.1") KDE::CmdLineArgs.init(ARGV, about) app = KDE::Application.new() -# instantiate the subclass of KMainWindow +# instantiate the subclass of TDEMainWindow mainWindow = MainWin.new(nil, "main window") # create the display -- cgit v1.2.1