Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>pull/22/head
parent
1f00d69db7
commit
02712db157
@ -1,12 +1,11 @@
|
|||||||
require 'Korundum'
|
require 'Korundum'
|
||||||
|
|
||||||
about = KDE::AboutData.new("p2", "Hello World", "0.1")
|
about = KDE::AboutData.new("p2", "Hello World", "0.1")
|
||||||
KDE::CmdLineArgs.init(ARGV, about)
|
KDE::CmdLineArgs.init(ARGV, about)
|
||||||
a = KDE::Application.new()
|
a = KDE::Application.new()
|
||||||
hello = TQt::PushButton.new( a.i18n("Hello World !"), nil )
|
hello = TQt::PushButton.new( a.i18n("Hello World !"), nil )
|
||||||
hello.autoResize = true
|
|
||||||
|
a.mainWidget = hello
|
||||||
a.mainWidget = hello
|
hello.show
|
||||||
hello.show
|
|
||||||
|
a.exec
|
||||||
a.exec
|
|
||||||
|
Loading…
Reference in new issue