ktimer
main.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include <kapplication.h>
00020 #include <klocale.h>
00021 #include <kcmdlineargs.h>
00022 #include <kaboutdata.h>
00023
00024 #include "ktimer.h"
00025
00026 static const char description[] =
00027 I18N_NOOP("KDE Timer");
00028
00029 static const char version[] = "v0.3";
00030
00031 int main( int argc, char **argv )
00032 {
00033 KAboutData aboutData( "ktimer", 0, ki18n("KTimer"),
00034 version, ki18n(description), KAboutData::License_GPL,
00035 ki18n("(c) 2001, Stefan Schimanski"), KLocalizedString(),
00036 "http://utils.kde.org/projects/ktimer");
00037 aboutData.addAuthor(ki18n("Stefan Schimanski"),KLocalizedString(), "schimmi@kde.org");
00038 KCmdLineArgs::init( argc, argv, &aboutData );
00039
00040 KApplication app;
00041
00042 KTimerPref *timer = new KTimerPref;
00043 app.setTopWidget( timer );
00044
00045 return app.exec();
00046 }