add more spacing
[personal-kdebase.git] / workspace / kcontrol / randr / main.cpp
blob3ca6c5dc5c917106bdab4a811ab4023cc925dd0b
1 /*
2 * Copyright (c) 2007 Gustavo Pichorim Boiko <gustavo.boiko@kdemail.net>
3 * Copyright (c) 2002,2003 Hamish Rodda <rodda@kde.org>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #include <stdlib.h>
21 #include <kdebug.h>
23 #include <klocale.h>
24 #include <kcmdlineargs.h>
25 #include <kaboutdata.h>
26 #include <kglobal.h>
28 #include "krandrapp.h"
30 static const char krandrtrayVersion[] = "0.5";
31 int main(int argc, char **argv)
33 KAboutData aboutData("display-randr", "krandr", ki18n("Resize and Rotate"), krandrtrayVersion,
34 ki18n("X Resize and Rotate System Tray App"), KAboutData::License_GPL,
35 ki18n("(c) 2007 Gustavo Pichorim Boiko, 2002-2003 Hamish Rodda"), ki18n(0L));
36 aboutData.addAuthor(ki18n("Gustavo Pichorim Boiko"),ki18n("Maintainer"), "gustavo.boiko@kdemail.net");
37 aboutData.addAuthor(ki18n("Hamish Rodda"),ki18n("Original Author"), "rodda@kde.org");
38 aboutData.addCredit(ki18n("Lubos Lunak"),ki18n("Many fixes"), "l.lunak@suse.cz");
39 aboutData.addCredit(ki18n("Harry Bock"),ki18n("Many fixes, multi-head support"), "hbock@providence.edu");
40 aboutData.setProductName("krandr/krandrtray");
41 aboutData.setProgramIconName("preferences-desktop-display-randr");
43 KCmdLineArgs::init(argc,argv,&aboutData);
45 KCmdLineOptions options;
46 options.add("login", ki18n("Application is being auto-started at KDE session start"), 0L);
47 KCmdLineArgs::addCmdLineOptions(options);
48 KCmdLineArgs::addStdCmdLineOptions();
50 KRandRApp app;
51 return app.exec();