• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kdelirc

main.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           main.cpp  -  Implementation of the main window
00003                              -------------------
00004     copyright            : (C) 2002 by Gav Wood
00005     email                : gav@kde.org
00006 ***************************************************************************/
00007 
00008 // This program is free software.
00009 
00010 #include <klocale.h>
00011 #include <kcmdlineargs.h>
00012 #include <kwin.h>
00013 #include <kaboutdata.h>
00014 #include <kglobal.h>
00015 #include <kdebug.h>
00016 #include <kuniqueapplication.h>
00017 
00018 #include "irkick.h"
00019 
00020 extern "C" KDE_EXPORT int kdemain(int argc, char *argv[])
00021 {
00022     KAboutData *aboutData = new KAboutData("irkick", 0, ki18n("IRKick"), VERSION, ki18n("The KDE Infrared Remote Control Server"), KAboutData::License_GPL, ki18n("(c) 2003, Gav Wood"), KLocalizedString(), 0, "gav@kde.org");
00023     aboutData->addAuthor(ki18n("Gav Wood"), ki18n("Author"), "gav@kde.org", "http://www.indigoarchive.net/gav/");
00024     aboutData->addCredit(ki18n("Malte Starostik"), ki18n("Original LIRC interface code"), "malte.starostik@t-online.de");
00025     aboutData->addCredit(ki18n("Dirk Ziegelmeier"), ki18n("Ideas, concept code"), "dirk@ziegelmeier.net");
00026     aboutData->addCredit(ki18n("Zsolt Rizsanyi"), ki18n("Random patches"), "rizsanyi@myrealbox.com");
00027     aboutData->addCredit(ki18n("Antonio Larrosa Jiménez"), ki18n("Ideas"), "larrosa@kde.org");
00028 
00029     KCmdLineArgs::init( argc, argv, aboutData );
00030     KUniqueApplication::addCmdLineOptions();
00031     KUniqueApplication app;
00032     KGlobal::locale()->insertCatalog( "kdelirc" );
00033     app.disableSessionManagement();
00034     IRKick *theIRKick = new IRKick("IRKick");
00035 
00036     int ret = app.exec();
00037     delete theIRKick;
00038     return ret;
00039 }

kdelirc

Skip menu "kdelirc"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal