2 * Copyright 2006-2007 Aaron Seigo <aseigo@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2,
7 * or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 #include <KApplication>
22 #include <KCmdLineArgs>
26 #include <config-workspace.h>
27 #include "plasmaapp.h"
29 static const char description
[] = I18N_NOOP( "The KDE desktop, panels and widgets workspace application." );
30 static const char version
[] = "0.3";
34 int kdemain(int argc
, char **argv
)
36 KDE_EXPORT
int kdemain(int argc
, char **argv
)
39 KAboutData
aboutData("plasma", 0, ki18n("Plasma Workspace"),
40 version
, ki18n(description
), KAboutData::License_GPL
,
41 ki18n("Copyright 2006-2007, The KDE Team"));
42 aboutData
.addAuthor(ki18n("Aaron J. Seigo"),
43 ki18n("Author and maintainer"),
45 aboutData
.addCredit(ki18n("John Lions"),
46 ki18n("In memory of his contributions, 1937-1998."),
47 0, "http://en.wikipedia.org/wiki/John_Lions");
49 KCmdLineArgs::init(argc
, argv
, &aboutData
);
51 PlasmaApp
*app
= PlasmaApp::self();
52 QApplication::setWindowIcon(KIcon("plasma"));
53 app
->disableSessionManagement(); // autostarted