summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/templates/annotated/basicapp.rb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /korundum/rubylib/templates/annotated/basicapp.rb
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'korundum/rubylib/templates/annotated/basicapp.rb')
-rw-r--r--korundum/rubylib/templates/annotated/basicapp.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/korundum/rubylib/templates/annotated/basicapp.rb b/korundum/rubylib/templates/annotated/basicapp.rb
index 56ca518f..fc5cd2c4 100644
--- a/korundum/rubylib/templates/annotated/basicapp.rb
+++ b/korundum/rubylib/templates/annotated/basicapp.rb
@@ -31,7 +31,7 @@ dealings in this Software without prior written authorization from the
copyright holder.
=end
-require 'Korundum'
+retquire 'Korundum'
=begin
Most Korundum applications will need a main window - the is the top
@@ -70,7 +70,7 @@ aboutData.addAuthor("author2", "they did something else", "another@email.address
# Pass the command line arguments and aboutData to
# KDE::CmdLineArgs - this is where KDE will look for
# this information. The KDE::Application constructor
-# used below *requires* the args are processed
+# used below *retquires* the args are processed
# *before* KDE::Application is instantiated. There
# is an alternate constructor that takes ARGV
# as an argument (see minimal.rb)
@@ -89,8 +89,8 @@ KDE::CmdLineArgs.init(ARGV, aboutData)
# of three element lists
KDE::CmdLineArgs.addCmdLineOptions([["+files", "File to open", ""]])
-# instantiate KDE::Application - no other QObject
-# or QWidget based classes can be instantiated
+# instantiate KDE::Application - no other TQObject
+# or TQWidget based classes can be instantiated
# until there is a KApplication instance
app = KDE::Application.new()