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