• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegames API Reference
  • KDE Home
  • Contact Us
 

KShisen

  • sources
  • kde-4.14
  • kdegames
  • kshisen
  • src
main.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  * KShisen - A japanese game similar to mahjongg *
3  * Copyright 1997 Mario Weilguni <mweilguni@sime.com> *
4  * Copyright 2002-2004 Dave Corrie <kde@davecorrie.com> *
5  * Copyright 2009,2010 Frederik Schwarzer <schwarzer@kde.org> *
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This program is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
19  ***************************************************************************/
20 
21 #include "app.h"
22 #include "commit.h"
23 #include "version.h"
24 
25 #include <kapplication.h>
26 #include <kaboutdata.h>
27 #include <kcmdlineargs.h>
28 #include <klocale.h>
29 #include <kglobal.h>
30 
31 static const char description[] = I18N_NOOP("A KDE game similar to Mahjongg");
32 
33 int main(int argc, char **argv)
34 {
35  KAboutData aboutData("kshisen", 0, ki18n("Shisen-Sho"),
36  KSHISEN_VERSION " #" KSHISEN_COMMIT, ki18n(description), KAboutData::License_GPL,
37  ki18n("(c) 1997, Mario Weilguni"), KLocalizedString(), "http://games.kde.org/kshisen");
38  aboutData.addAuthor(ki18n("Frederik Schwarzer"), ki18n("Current Maintainer"), "schwarzer@kde.org");
39  aboutData.addAuthor(ki18n("Dave Corrie"), ki18n("Former Maintainer"), "kde@davecorrie.com");
40  aboutData.addAuthor(ki18n("Mario Weilguni"), ki18n("Original Author"), "mweilguni@sime.com");
41  aboutData.addCredit(ki18n("Mauricio Piacentini"), ki18n("KMahjonggLib integration for KDE4"), "mauricio@tabuleiro.com");
42  aboutData.addCredit(ki18n("Jason Lane"), ki18n("Added 'tiles removed' counter<br/>Tile smooth-scaling and window resizing"), "jglane@btopenworld.com");
43  aboutData.addCredit(ki18n("Thanks also to everyone who should be listed here but is not!"));
44  KCmdLineArgs::init(argc, argv, &aboutData);
45 
46  KApplication a;
47  KGlobal::locale()->insertCatalog(QLatin1String("libkdegames"));
48  KGlobal::locale()->insertCatalog(QLatin1String("libkmahjongg"));
49 
50  App *app = new App();
51  app->show();
52  return a.exec();
53 }
54 
55 // vim: expandtab:tabstop=4:shiftwidth=4
56 // kate: space-indent on; indent-width 4
main
int main(int argc, char **argv)
Definition: main.cpp:33
KSHISEN_COMMIT
#define KSHISEN_COMMIT
Definition: commit.h:21
version.h
QLatin1String
commit.h
description
static const char description[]
Definition: main.cpp:31
app.h
App
Class holding the application and its functions.
Definition: app.h:33
KSHISEN_VERSION
#define KSHISEN_VERSION
Definition: version.h:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KShisen

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

kdegames API Reference

Skip menu "kdegames API Reference"
  • granatier
  • kapman
  • kblackbox
  • kgoldrunner
  • kigo
  • kmahjongg
  • KShisen
  • ksquares
  • libkdegames
  •   highscore
  •   libkdegamesprivate
  •     kgame
  • libkmahjongg
  • palapeli
  •   libpala

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal