1 /***************************************************************************
4 copyright : (C) 2000 by Till Krech
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, Till Krech"));
32 aboutData
.addAuthor(ki18n("Till Krech"),ki18n("Programming"), "till@snafu.de");
33 aboutData
.addCredit(ki18n("Gunnstein Lye"),ki18n("Initial port to KDE 2"), "gl@ez.no");
34 KCmdLineArgs::init( argc
, argv
, &aboutData
);
36 KCmdLineOptions options
;
37 KCmdLineArgs::addCmdLineOptions( options
); // Add our own options.
41 KLineal
*ruler
= new KLineal();