1 /***************************************************************************
4 Copyright : (C) 2000 - 2008 by Till Krech <till@snafu.de>
5 (C) 2009 by Mathias Soeken <msoeken@tzi.de>
6 ***************************************************************************/
8 /***************************************************************************
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. *
15 ***************************************************************************/
17 #include <kapplication.h>
18 #include <kdeversion.h>
19 #include <kcmdlineargs.h>
20 #include <kaboutdata.h>
25 int main(int argc
, char *argv
[])
27 KAboutData
aboutData( "kruler", 0, ki18n( "KDE Screen Ruler" ),
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.
42 KLineal
*ruler
= new KLineal();