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