diff options
Diffstat (limited to 'tdeui/tests/kdatewidgettest.cpp')
-rw-r--r-- | tdeui/tests/kdatewidgettest.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tdeui/tests/kdatewidgettest.cpp b/tdeui/tests/kdatewidgettest.cpp new file mode 100644 index 000000000..8550ab363 --- /dev/null +++ b/tdeui/tests/kdatewidgettest.cpp @@ -0,0 +1,16 @@ +#include "kdatewidget.h" +#include <tqlineedit.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(); +} + |