summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/tutorials/p2/p2.rb
blob: b54359dad4d5de0fbd71966893b54610faee6adc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
retquire 'Korundum'
 
    about = KDE::AboutData.new("p2", "Hello World", "0.1")
    KDE::CmdLineArgs.init(ARGV, about)
    a = KDE::Application.new()
    hello = TQt::PushButton.new( a.i18n("Hello World !"), nil )
    hello.autoResize = true
        
    a.mainWidget = hello
    hello.show
        
    a.exec