summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kdatepicker/KDatePickTest.java
blob: 57ff7f5aee1234aabdbc587e9966da6db32a6cd9 (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
import org.kde.qt.*;
import org.kde.koala.*;

public class KDatePickTest {


   public static void main (String[] args) {

      KLocale.setMainCatalogue("tdelibs");
      KCmdLineArgs.init(args, "kdatepickertest", "KDatePickTest", 
                         "A KDatePicker test..", "0.1");
      KApplication app = new KApplication();
      KDatePicker picker = new KDatePicker();
      app.setMainWidget(picker);
      picker.show();
      app.exec();
      return;

   }

   static {
      qtjava.initialize();
      kdejava.initialize();
   }

}