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