summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kcharselect/KCharSelectTest.java
blob: 03c6f66ac052f2a9267b9be3f8544182892b6a63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import org.kde.qt.*;
import org.kde.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();
      kdejava.initialize();
   }

}