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

kapman

  • sources
  • kde-4.14
  • kdegames
  • kapman
main.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2007-2008 Thomas Gallinari <tg8187@yahoo.fr>
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, 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 General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #include <KAboutData>
19 #include <KCmdLineArgs>
20 #include <KApplication>
21 #include "kapmanmainwindow.h"
22 
23 int main(int argc, char** argv) {
24  // About Kapman
25  KAboutData about("kapman", 0, ki18n("Kapman"), "1.0.1",
26  ki18n("Kapman: Go through the levels escaping ghosts!"),
27  KAboutData::License_GPL, ki18n("Copyright (c) 2007-2008 The KapTeam"));
28  // Alphabetical order of Developers of Kapman
29  about.addAuthor(ki18n("Alexandre Galinier"), ki18n("Developer"), "alex.galinier@gmail.com", 0);
30  about.addAuthor(ki18n("Nathalie Liesse"), ki18n("Developer"), "nathalie.liesse@gmail.com", 0);
31  about.addAuthor(ki18n("Ömer Fadıl USTA"), ki18n("Developer"), "omerusta@gmail.com", 0);
32  about.addAuthor(ki18n("Pierre-Benoit Besse"), ki18n("Developer"), "besse.pb@gmail.com", 0);
33  about.addAuthor(ki18n("Romain Castan"), ki18n("Developer"), "romaincastan@gmail.com", 0);
34  about.addAuthor(ki18n("Thomas Gallinari"), ki18n("Developer"), "tg8187@yahoo.fr", 0);
35  about.addCredit(ki18n("Roney Gomes"), ki18n("Port to KgSound framework"), "roney477@gmail.com", 0);
36 
37  // Command line arguments
38  KCmdLineArgs::init(argc, argv, &about);
39  // Create the application
40  KApplication app;
41  // Insert libkdegames catalog, for translation of libkdegames messages
42  KGlobal::locale()->insertCatalog( QLatin1String( "libkdegames" ));
43  // Create the main window
44  KapmanMainWindow* window = new KapmanMainWindow();
45  // Show the main window
46  window->show();
47  // Execute the application
48  return app.exec();
49 }
50 
main
int main(int argc, char **argv)
Definition: main.cpp:23
kapmanmainwindow.h
QLatin1String
KapmanMainWindow
This class enables to create the main window for Kapman.
Definition: kapmanmainwindow.h:35
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapman

Skip menu "kapman"
  • 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