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 | |
51 | |