summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kdatepicktest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/tests/kdatepicktest.cpp')
-rw-r--r--tdeui/tests/kdatepicktest.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tdeui/tests/kdatepicktest.cpp b/tdeui/tests/kdatepicktest.cpp
new file mode 100644
index 000000000..c982dbe91
--- /dev/null
+++ b/tdeui/tests/kdatepicktest.cpp
@@ -0,0 +1,16 @@
+#include "kdatepicker.h"
+#include <tqlineedit.h>
+#include <kapplication.h>
+#include <klocale.h>
+
+int main(int argc, char** argv)
+{
+ KLocale::setMainCatalogue("kdelibs");
+ KApplication app(argc, argv, "KDatePickertest");
+ KDatePicker picker;
+ app.setMainWidget(&picker);
+ picker.show();
+ // picker.setEnabled(false);
+ return app.exec();
+}
+