[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdebindings/qtruby/rubylib/tutorial
From:       Alexander Kellett <lypanov () kde ! org>
Date:       2003-08-02 10:05:04
[Download RAW message or body]

CVS commit by lypanov: 

these examples no longer ran as they missed out a call to super


  M +1 -0      t5/t5.rb   1.3
  M +2 -0      t6/t6.rb   1.3


--- kdebindings/qtruby/rubylib/tutorial/t5/t5.rb  #1.2:1.3
@@ -5,4 +5,5 @@
 
 def initialize()
+   super
     quit = Qt::PushButton.new("Quit", self, "quit")
     quit.setFont(Qt::Font.new("Times", 18, Qt::Font.Bold))

--- kdebindings/qtruby/rubylib/tutorial/t6/t6.rb  #1.2:1.3
@@ -5,4 +5,5 @@
 
 def initialize(grid)
+   super
         lcd = Qt::LCDNumber.new(2, self, "lcd")
 
@@ -19,4 +20,5 @@
 
 def initialize()
+   super
     quit = Qt::PushButton.new("Quit", self, "quit")
     quit.setFont(Qt::Font.new("Times", 18, Qt::Font.Bold))


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic