Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / libs / plasma / tests / appletbrowser.cpp
blob70235f507eb72f9f5eb82f78612e256ca057a9d0
1 /*
2 * Copyright 2008 Aaron J. Seigo
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Library General Public License as
7 * published by the Free Software Foundation; either version 2 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 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.
21 #include <QCoreApplication>
23 #include <KAboutData>
24 #include <KApplication>
25 #include <KCmdLineArgs>
26 #include <KComponentData>
27 #include <KConfig>
28 #include <KDebug>
30 #include "plasma/appletbrowser.h"
32 static const char description[] = I18N_NOOP("Applet browser dialog");
33 static const char version[] = "1.0";
35 int main(int argc, char *argv[])
37 KAboutData aboutData("plasmappletbrowser", 0, ki18n("Plasma Applet Browser"),
38 version, ki18n( description ), KAboutData::License_GPL,
39 ki18n("(C) 2008, Aaron Seigo"));
40 aboutData.addAuthor(ki18n("Aaron Seigo"), ki18n("Original author"), "aseigo@kde.org");
41 KCmdLineArgs::init(argc, argv, &aboutData);
42 KApplication app;
44 Plasma::AppletBrowser br(0);
45 br.setApplication(QString());
46 br.show();
48 return app.exec();