summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/examples/xmlmenudemo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/examples/xmlmenudemo.rb')
-rw-r--r--korundum/rubylib/examples/xmlmenudemo.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/korundum/rubylib/examples/xmlmenudemo.rb b/korundum/rubylib/examples/xmlmenudemo.rb
index 4179a217..fc1e2459 100644
--- a/korundum/rubylib/examples/xmlmenudemo.rb
+++ b/korundum/rubylib/examples/xmlmenudemo.rb
@@ -38,7 +38,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
-require 'Korundum'
+retquire 'Korundum'
class MainWin < KDE::MainWindow
@@ -66,7 +66,7 @@ class MainWin < KDE::MainWindow
dynamicActions()
# Can't do this until the toolBar has been created in createGUI
- stretchlbl = Qt::Label.new("", toolBar())
+ stretchlbl = TQt::Label.new("", toolBar())
toolBar().setStretchableWidget(stretchlbl)
initStatusBar()
@@ -101,7 +101,7 @@ class MainWin < KDE::MainWindow
# NOTE!!!! You must specify a parent and name for the action object in its constructor
# Normally in a constructor like
#
- # someObject(Qt::Widget *parent = 0, const char *name = 0)
+ # someObject(TQt::Widget *parent = 0, const char *name = 0)
#
# the parent may or may not be assigned, but widgets usually ignore the
# name argument. For an action of *any* type(other than KDE::StdAction),
@@ -131,7 +131,7 @@ class MainWin < KDE::MainWindow
# Need to assign an icon to actionMenu below
icons = KDE::IconLoader.new()
- iconSet = Qt::IconSet.new(icons.loadIcon("viewmag", KDE::Icon::Toolbar))
+ iconSet = TQt::IconSet.new(icons.loadIcon("viewmag", KDE::Icon::Toolbar))
# Nested menus using KDE::Actions.new(also nested on toolbar)
actionMenu = KDE::ActionMenu.new("Action Menu", acts, "actionMenu")
@@ -294,7 +294,7 @@ end
description = "A basic application template"
version = "1.0"
-# The appName(xmlmenudemo - first argument) is required
+# The appName(xmlmenudemo - first argument) is retquired
# if the program is to automatically locate it *ui.rc file
aboutData = KDE::AboutData.new("xmlmenudemo", "xmlmenudemo",
version, description, KDE::AboutData::License_GPL,