diff options
Diffstat (limited to 'tdeui/tests/ktimewidgettest.cpp')
-rw-r--r-- | tdeui/tests/ktimewidgettest.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tdeui/tests/ktimewidgettest.cpp b/tdeui/tests/ktimewidgettest.cpp new file mode 100644 index 000000000..f2767b416 --- /dev/null +++ b/tdeui/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(); +} |