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

kgoldrunner

main.cpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2003 Marco Krüger <grisuji@gmx.de>
00003     Copyright 2003 Ian Wadham <ianw2@optusnet.com.au>
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License
00016     along with this program; if not, write to the Free Software
00017     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00018  */
00019 
00020 #include <kapplication.h>
00021 #include <kaboutdata.h>
00022 #include <kcmdlineargs.h>
00023 #include <klocale.h>
00024 #include "kgrconsts.h"
00025 #include "kgoldrunner.h"
00026 
00027 static const char description[] =
00028     I18N_NOOP("KGoldrunner is a game of action and puzzle solving");
00029 
00030 static const char version[] = "3.0";
00031 
00032 int main (int argc, char **argv)
00033 {
00034     KAboutData about("kgoldrunner", 0, ki18n("KGoldrunner" ),
00035                  version, ki18n(description),
00036                      KAboutData::License_GPL,
00037              ki18n("(C) 2003 Ian Wadham and Marco Krüger"));
00038     about.addAuthor( ki18n("Ian Wadham"), ki18n("Current author"),
00039                  "ianw2@optusnet.com.au" );
00040     about.addAuthor( ki18n("Marco Krüger"), ki18n("Original author"),
00041                         "grisuji@gmx.de" );
00042     about.addCredit(ki18n("Mauricio Piacentini"),
00043               ki18n("Port to KDE4, Qt4 and KGameCanvas classes"), 
00044               "mauricio@tabuleiro.com");
00045     about.addCredit(ki18n("Maurizio Monge"),
00046               ki18n("KGameCanvas classes for KDE4"), 
00047               "maurizio.monge@gmail.com");
00048     about.addCredit(ki18n("Mauricio Piacentini"),
00049               ki18n("Artwork for runners and default theme"), 
00050               "mauricio@tabuleiro.com");
00051     about.addCredit(ki18n("Johann Ollivier Lapeyre"),
00052               ki18n("Artwork for bars and ladders"), 
00053               "johann.ollivierlapeyre@gmail.com");
00054     about.addCredit(ki18n("Eugene Trounev"),
00055               ki18n("Artwork for background of Geek City theme"), 
00056               "irs_me@hotmail.com");
00057     about.addCredit(ki18n("Luciano Montanaro"),
00058               ki18n("Nostalgia themes, improvements to runners, "
00059                 "multiple-backgrounds feature, fade-in/fade-out "
00060                 "feature and several other ideas"), 
00061               "mikelima@cirulla.net");
00062     about.addCredit(ki18n("Eugene Trounev"),
00063               ki18n("Artwork for the Treasure of Egypt theme"), 
00064               "irs_me@hotmail.com");
00065 
00066     KCmdLineArgs::init (argc, argv, &about);
00067 
00068     KApplication app;
00069     // See if we are starting with session management.
00070     if (app.isSessionRestored())
00071     {
00072         RESTORE(KGoldrunner);
00073     return app.exec();
00074     }
00075     else
00076     {
00077     KGoldrunner * widget = new KGoldrunner;
00078     if (widget->startedOK()) {
00079         widget->show();
00080         return app.exec();
00081     }
00082     }
00083 }

kgoldrunner

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

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference 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