some cleanup from the last change SVN_SILENT
[kdegraphics.git] / kruler / main.cpp
blob0956ceaec89d86c3bd3ac9033cd5fb09d3b94c8c
1 /***************************************************************************
2 main.cpp - description
3 -------------------
4 Copyright : (C) 2000 - 2008 by Till Krech <till@snafu.de>
5 (C) 2009 by Mathias Soeken <msoeken@tzi.de>
6 ***************************************************************************/
8 /***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
17 #include <kapplication.h>
18 #include <kdeversion.h>
19 #include <kcmdlineargs.h>
20 #include <kaboutdata.h>
21 #include <klocale.h>
23 #include "klineal.h"
25 int main(int argc, char *argv[])
27 KAboutData aboutData( "kruler", 0, ki18n( "KDE Screen Ruler" ),
28 KDE_VERSION_STRING,
29 ki18n( "A screen ruler for the K Desktop Environment" ),
30 KAboutData::License_GPL,
31 ki18n( "(c) 2000 - 2008, Till Krech\n(c) 2009, Mathias Soeken" ) );
32 aboutData.addAuthor( ki18n( "Mathias Soeken" ), ki18n( "Maintainer" ), "msoeken@tzi.de" );
33 aboutData.addAuthor( ki18n( "Till Krech" ), ki18n( "Former Maintainer and Developer" ), "till@snafu.de" );
34 aboutData.addCredit( ki18n( "Gunnstein Lye" ),ki18n( "Initial port to KDE 2" ), "gl@ez.no" );
35 KCmdLineArgs::init( argc, argv, &aboutData );
37 KCmdLineOptions options;
38 KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
40 KApplication a;
42 KLineal *ruler = new KLineal();
43 ruler->show();
45 return a.exec();