From 02712db157a9d5bedd962da3d7f9726b29057059 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 16 Jul 2023 14:26:03 +0900 Subject: Drop compatibility code for TQButton Signed-off-by: Michele Calgaro --- korundum/rubylib/tutorials/p2/p2.rb | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'korundum/rubylib') diff --git a/korundum/rubylib/tutorials/p2/p2.rb b/korundum/rubylib/tutorials/p2/p2.rb index a9647fef..50dce77f 100644 --- a/korundum/rubylib/tutorials/p2/p2.rb +++ b/korundum/rubylib/tutorials/p2/p2.rb @@ -1,12 +1,11 @@ -require '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 \ No newline at end of file +require '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 ) + + a.mainWidget = hello + hello.show + + a.exec -- cgit v1.2.1