2 * Copyright 2006-2007 Aaron Seigo <aseigo@kde.org>
3 * Copyright 2008 Chani Armitage <chanika@gmail.com>
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
7 * published by the Free Software Foundation; either version 2,
8 * or (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 Library General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 #include <KCmdLineArgs>
26 #include <config-workspace.h>
27 #include "plasmaapp.h"
29 static const char description
[] = I18N_NOOP( "Plasma widgets over the screensaver" );
30 static const char version
[] = "0.0";
33 int main(int argc
, char **argv
)
35 KAboutData
aboutData("plasma-overlay",0 , ki18n("Plasma for the Screensaver"),
36 version
, ki18n(description
), KAboutData::License_GPL
,
37 ki18n("Copyright 2006-2008, The KDE Team"));
38 aboutData
.addAuthor(ki18n("Chani Armitage"),
39 ki18n("Author and maintainer"),
41 aboutData
.addAuthor(ki18n("Aaron J. Seigo"),
42 ki18n("Plasma Author and maintainer"),
44 aboutData
.addCredit(ki18n("John Lions"),
45 ki18n("In memory of his contributions, 1937-1998."),
46 0, "http://en.wikipedia.org/wiki/John_Lions");
48 KCmdLineArgs::init(argc
, argv
, &aboutData
);
50 KCmdLineOptions options
;
51 options
.add("cheats",ki18n("Enables some cheats that are useful for debugging."));
52 options
.add("setup",ki18n("Start unlocked for configuration."));
53 KCmdLineArgs::addCmdLineOptions(options
);
55 PlasmaApp
*app
= PlasmaApp::self();
56 QApplication::setWindowIcon(KIcon("plasma"));
57 app
->disableSessionManagement(); // I assume we'd never want a screensaver thing reppearing on login?