summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/test/kcharselect/KCharSelectTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'tdejava/koala/test/kcharselect/KCharSelectTest.java')
-rw-r--r--tdejava/koala/test/kcharselect/KCharSelectTest.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/tdejava/koala/test/kcharselect/KCharSelectTest.java b/tdejava/koala/test/kcharselect/KCharSelectTest.java
new file mode 100644
index 00000000..412d26f2
--- /dev/null
+++ b/tdejava/koala/test/kcharselect/KCharSelectTest.java
@@ -0,0 +1,31 @@
+import org.trinitydesktop.qt.*;
+import org.trinitydesktop.koala.*;
+
+/**
+ *
+ * Taken from test program of the tdeui tests
+ **/
+public class KCharSelectTest {
+
+
+ public static void main (String[] args) {
+
+ TDECmdLineArgs.init(args, "kcharselecttest", "KCharSelectTest",
+ "A KCharSelect test app", "0.1");
+ TDEApplication app = new TDEApplication();
+ KCharSelect selector = new KCharSelect(null,"char selector");
+ selector.resize( selector.sizeHint() );
+ app.setMainWidget(selector);
+ selector.show();
+ selector.setCaption( "KCharSelect Test");
+ app.exec();
+ return;
+
+ }
+
+ static {
+ qtjava.initialize();
+ tdejava.initialize();
+ }
+
+}