~ubuntu-branches/ubuntu/feisty/kdetv/feisty

« back to all changes in this revision

Viewing changes to kdetv/clients/kdetv/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-09-17 23:25:16 UTC
  • Revision ID: james.westby@ubuntu.com-20050917232516-9wdsn3ckagbqieh8
Tags: upstream-0.8.8
ImportĀ upstreamĀ versionĀ 0.8.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *
 
3
 * Copyright (C) 2002 George Staikos <staikos@kde.org>
 
4
 *
 
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.
 
9
 *
 
10
 */
 
11
 
 
12
#include <kaboutdata.h>
 
13
#include <kapplication.h>
 
14
#include <kcmdlineargs.h>
 
15
#include <klocale.h>
 
16
 
 
17
#include "mainwindow.h"
 
18
#include <kdetv_version.h>
 
19
 
 
20
int main(int argc, char **argv)
 
21
{
 
22
    static KCmdLineOptions options[] = {
 
23
        { 0, 0, 0 }
 
24
    };
 
25
 
 
26
    KAboutData about("kdetv", I18N_NOOP("kdetv"),
 
27
                     KDETV_VERSION,
 
28
                     I18N_NOOP("kdetv: TV for KDE"),
 
29
                     KAboutData::License_GPL,
 
30
                     I18N_NOOP("(c) 2002-2005 The kdetv Developers"), 0,
 
31
                     "http://www.kdetv.org/");
 
32
    about.addAuthor("Dirk Ziegelmeier",  I18N_NOOP("Developer and maintainer"),           "dziegel@gmx.de");
 
33
    about.addAuthor("George Staikos",    I18N_NOOP("Original author"),                    "staikos@kde.org");
 
34
    about.addAuthor("Richard Moore",     I18N_NOOP("GUI design, plugins"),                "rich@kde.org");
 
35
    about.addAuthor("Kevin Hessels",     I18N_NOOP("Configuration dialog"),               "khessels@shaw.ca");
 
36
    about.addAuthor("Stefan Hellwig",    I18N_NOOP("Webmaster, developer"),               "stefan@stefanhellwig.de");
 
37
    about.addAuthor("Zsolt Rizsanyi",    I18N_NOOP("Infrared remote support, developer"), "rizsanyi@users.sourceforge.net");
 
38
    about.addAuthor("Dawit Alemayehu",   I18N_NOOP("Developer"),                          "adawit@kde.org");
 
39
    about.addCredit("Bill Crowell",      I18N_NOOP("Donation of a DVB-C and DVB-T card"), "bill@crowellsystems.com");
 
40
    about.addCredit("Frank Pieczynski",  I18N_NOOP("Extensive testing"),                  "pieczy@web.de");
 
41
    about.addCredit("Koos Vriezen",      I18N_NOOP("V4L plugin fixes"),                   "koos.vriezen@xs4all.nl");
 
42
    about.addCredit("Andras Mantia",     I18N_NOOP("Ideas and fixes"),                    "amantia@kde.org");
 
43
    about.addCredit("Hans-Peter Jansen", I18N_NOOP("Ideas and fixes"),                    "hpj@urpla.net");
 
44
 
 
45
    KCmdLineArgs::init(argc, argv, &about);
 
46
    KCmdLineArgs::addCmdLineOptions( options );
 
47
    KApplication a;
 
48
//    KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
 
49
 
 
50
    MainWindow mw;
 
51
    mw.setCaption( i18n("kdetv") );
 
52
 
 
53
    a.setMainWidget( &mw );
 
54
    mw.show();
 
55
 
 
56
    int retval = a.exec();
 
57
    return retval;
 
58
}
 
59