summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/rbkconfig_compiler/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /korundum/rubylib/rbkconfig_compiler/tests
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'korundum/rubylib/rbkconfig_compiler/tests')
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test1.kcfg2
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test1main.rb4
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test2main.rb6
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test3main.rb4
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test4.kcfg2
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test4main.rb4
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test5.kcfg2
-rw-r--r--korundum/rubylib/rbkconfig_compiler/tests/test5main.rb4
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()