blob: bf214ca98318cbccebb0034dc1ac919594aa0dae (
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("kdelibs");
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();
}
}
|