summaryrefslogtreecommitdiffstats
path: root/libtdeedu/extdate/main.cpp
blob: 7bf65058cc6f5a60546b579338eb38c64bbfd930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 TDECmdLineOptions options[] =
{
	TDECmdLineLastOption
};

int main( int argc, char *argv[] )
{
	TDEAboutData aboutData( "test_extdatepicker", I18N_NOOP("Test ExtDatePicker"),
				"0.1", description, TDEAboutData::License_GPL,
				I18N_NOOP("(c) 2004, Jason Harris"), notice,
				"http://30doradus.org");
	aboutData.addAuthor("Jason Harris", 0,
				"jharris@30doradus.org", "http://www.30doradus.org");

	TDECmdLineArgs::init( argc, argv, &aboutData );

	TDEApplication a;
	TestWidget *t = new TestWidget(0,0);
	t->show();
	TQObject::connect(kapp, TQT_SIGNAL(lastWindowClosed()), kapp, TQT_SLOT(quit()));
	return a.exec();
}