summaryrefslogtreecommitdiffstats
path: root/libtdeedu/extdate/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 16:06:06 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-16 16:06:06 -0600
commit34784ccef6ac9dd33b4460560c68e5422a73560a (patch)
treea206e2a4050c2861ce0706a8fd3542ff29e234e1 /libtdeedu/extdate/main.cpp
parent89354dfc31a795bae9415f79bb07b32be643e4f4 (diff)
downloadtdeedu-34784ccef6ac9dd33b4460560c68e5422a73560a.tar.gz
tdeedu-34784ccef6ac9dd33b4460560c68e5422a73560a.zip
Finish rename from prior commit
Diffstat (limited to 'libtdeedu/extdate/main.cpp')
-rw-r--r--libtdeedu/extdate/main.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/libtdeedu/extdate/main.cpp b/libtdeedu/extdate/main.cpp
new file mode 100644
index 00000000..bcc68a1f
--- /dev/null
+++ b/libtdeedu/extdate/main.cpp
@@ -0,0 +1,30 @@
+#include "testwidget.h"
+#include <kapplication.h>
+#include <kcmdlineargs.h>
+#include <kaboutdata.h>
+
+static const char description[] = I18N_NOOP("ExtDatePicker test program");
+static const char notice[] = I18N_NOOP("Compares KDatePicker and ExtDatePicker");
+
+static KCmdLineOptions options[] =
+{
+ KCmdLineLastOption
+};
+
+int main( int argc, char *argv[] )
+{
+ KAboutData aboutData( "test_extdatepicker", I18N_NOOP("Test ExtDatePicker"),
+ "0.1", description, KAboutData::License_GPL,
+ I18N_NOOP("(c) 2004, Jason Harris"), notice,
+ "http://30doradus.org");
+ aboutData.addAuthor("Jason Harris", 0,
+ "jharris@30doradus.org", "http://www.30doradus.org");
+
+ KCmdLineArgs::init( argc, argv, &aboutData );
+
+ KApplication a;
+ TestWidget *t = new TestWidget(0,0);
+ t->show();
+ TQObject::connect(kapp, TQT_SIGNAL(lastWindowClosed()), kapp, TQT_SLOT(quit()));
+ return a.exec();
+}