diff options
Diffstat (limited to 'korundum/rubylib/templates/annotated/basicapp.rb')
-rw-r--r-- | korundum/rubylib/templates/annotated/basicapp.rb | 8 |
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() |