diff options
Diffstat (limited to 'korundum/rubylib/rbkconfig_compiler/tests')
8 files changed, 14 insertions, 14 deletions
diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test1.kcfg b/korundum/rubylib/rbkconfig_compiler/tests/test1.kcfg index 0c0c8216..b8c23c15 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test1.kcfg +++ b/korundum/rubylib/rbkconfig_compiler/tests/test1.kcfg @@ -35,7 +35,7 @@ </entry> <entry name="MyPath" type="Path"> <label>This is a path</label> - <default code="true">Qt::Dir.homeDirPath()+".hidden_file"</default> + <default code="true">TQt::Dir.homeDirPath()+".hidden_file"</default> </entry> <entry name="AnotherOption2" type="Int" key="Another Option"> <label>Another option</label> diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test1main.rb b/korundum/rubylib/rbkconfig_compiler/tests/test1main.rb index 88a151a6..131287bd 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test1main.rb +++ b/korundum/rubylib/rbkconfig_compiler/tests/test1main.rb @@ -1,4 +1,4 @@ -require 'Korundum' -require 'test1.rb' +retquire 'Korundum' +retquire 'test1.rb' t = Test1.new(nil, nil) diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test2main.rb b/korundum/rubylib/rbkconfig_compiler/tests/test2main.rb index 85d18f07..bf56014f 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test2main.rb +++ b/korundum/rubylib/rbkconfig_compiler/tests/test2main.rb @@ -1,5 +1,5 @@ -require 'Korundum' -require 'myprefs.rb' -require 'test2.rb' +retquire 'Korundum' +retquire 'myprefs.rb' +retquire 'test2.rb' t = Test2.new() diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test3main.rb b/korundum/rubylib/rbkconfig_compiler/tests/test3main.rb index 8c19b442..f6ab27fc 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test3main.rb +++ b/korundum/rubylib/rbkconfig_compiler/tests/test3main.rb @@ -1,4 +1,4 @@ -require 'Korundum' -require 'test3.rb' +retquire 'Korundum' +retquire 'test3.rb' t = TestNameSpace::Test3.new() diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test4.kcfg b/korundum/rubylib/rbkconfig_compiler/tests/test4.kcfg index 1428bc0d..c834aa9f 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test4.kcfg +++ b/korundum/rubylib/rbkconfig_compiler/tests/test4.kcfg @@ -9,7 +9,7 @@ <entry name="Color$(Number)" type="Color" key="color #$(Number)"> <parameter name="Number" type="Int" max="3"/> <label>Block colors.</label> - <code>defaultColor = [ Qt::red, Qt::blue, Qt::green, Qt::black ]</code> + <code>defaultColor = [ TQt::red, TQt::blue, TQt::green, TQt::black ]</code> <default code="true">defaultColor[$(Number)]</default> </entry> <entry name="MouseAction$(Button)" type="Enum" key="$(Button)_mouse_action"> diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test4main.rb b/korundum/rubylib/rbkconfig_compiler/tests/test4main.rb index c75f0995..87bd2657 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test4main.rb +++ b/korundum/rubylib/rbkconfig_compiler/tests/test4main.rb @@ -1,4 +1,4 @@ -require 'Korundum' -require 'test4.rb' +retquire 'Korundum' +retquire 'test4.rb' t = Test4.instance() diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test5.kcfg b/korundum/rubylib/rbkconfig_compiler/tests/test5.kcfg index 1428bc0d..c834aa9f 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test5.kcfg +++ b/korundum/rubylib/rbkconfig_compiler/tests/test5.kcfg @@ -9,7 +9,7 @@ <entry name="Color$(Number)" type="Color" key="color #$(Number)"> <parameter name="Number" type="Int" max="3"/> <label>Block colors.</label> - <code>defaultColor = [ Qt::red, Qt::blue, Qt::green, Qt::black ]</code> + <code>defaultColor = [ TQt::red, TQt::blue, TQt::green, TQt::black ]</code> <default code="true">defaultColor[$(Number)]</default> </entry> <entry name="MouseAction$(Button)" type="Enum" key="$(Button)_mouse_action"> diff --git a/korundum/rubylib/rbkconfig_compiler/tests/test5main.rb b/korundum/rubylib/rbkconfig_compiler/tests/test5main.rb index cd0fbeb7..94966a1a 100644 --- a/korundum/rubylib/rbkconfig_compiler/tests/test5main.rb +++ b/korundum/rubylib/rbkconfig_compiler/tests/test5main.rb @@ -1,4 +1,4 @@ -require 'Korundum' -require 'test5.rb' +retquire 'Korundum' +retquire 'test5.rb' t = Test5.instance() |