~ubuntu-branches/ubuntu/gutsy/kdebase-workspace/gutsy

« back to all changes in this revision

Viewing changes to plasma/engineexplorer/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-09-05 20:45:14 UTC
  • Revision ID: james.westby@ubuntu.com-20070905204514-632hhspl0nvrc84i
Tags: upstream-3.93.0
ImportĀ upstreamĀ versionĀ 3.93.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   Copyright 2006 Aaron Seigo <aseigo@kde.org>
 
3
 *
 
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.
 
8
 *
 
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
 
13
 *
 
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.
 
18
 */
 
19
 
 
20
#include <KApplication>
 
21
#include <KAboutData>
 
22
#include <KCmdLineArgs>
 
23
#include <KLocale>
 
24
 
 
25
#include "engineexplorer.h"
 
26
 
 
27
static const char description[] = I18N_NOOP("Explore the data published by Plasma DataEngines");
 
28
static const char version[] = "0.0";
 
29
 
 
30
int main(int argc, char **argv)
 
31
{
 
32
    KAboutData aboutData("plasmaengineexplorer", 0, ki18n("Plasma Engine Explorer"),
 
33
                         version, ki18n(description), KAboutData::License_GPL,
 
34
                         ki18n("(c) 2006, The KDE Team"));
 
35
    aboutData.addAuthor(ki18n("Aaron J. Seigo"),
 
36
                        ki18n( "Author and maintainer" ),
 
37
                        "aseigo@kde.org");
 
38
 
 
39
 
 
40
    KCmdLineArgs::init(argc, argv, &aboutData);
 
41
 
 
42
    KApplication app;
 
43
    EngineExplorer* w = new EngineExplorer;
 
44
    w->show();
 
45
    return app.exec();
 
46
}