2 * Copyright (c) 1996-2004 Nicolas HADACEK <hadacek@kde.org>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
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.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 #include <kapplication.h>
21 #include <kcmdlineargs.h>
22 #include <kaboutdata.h>
25 #include "mainwindow.h"
28 static const char *DESCRIPTION
29 = I18N_NOOP("KMines is a classic minesweeper game");
31 int main(int argc
, char **argv
)
33 KAboutData
aboutData("kmines", 0, ki18n("KMines"), LONG_VERSION
,
34 ki18n(DESCRIPTION
), KAboutData::License_GPL
,
35 ki18n(COPYLEFT
), KLocalizedString(), HOMEPAGE
);
36 aboutData
.addAuthor(ki18n("Nicolas Hadacek"),
37 ki18n("Original author"), "hadacek@kde.org");
38 aboutData
.addAuthor(ki18n("Mauricio Piacentini"),
39 ki18n("Code refactoring and SVG support. Current maintainer"),
40 "mauricio@tabuleiro.com");
41 aboutData
.addAuthor(ki18n("Dmitry Suzdalev"),
42 ki18n("Rewrite to use QGraphicsView framework. Current maintainer"),
44 aboutData
.addCredit(ki18n("Andreas Zehender"), ki18n("Smiley pixmaps"));
45 aboutData
.addCredit(ki18n("Mikhail Kourinny"), ki18n("Solver/Adviser"));
46 aboutData
.addCredit(ki18n("Thomas Capricelli"), ki18n("Magic reveal mode"));
47 KCmdLineArgs::init(argc
, argv
, &aboutData
);
50 KGlobal::locale()->insertCatalog("libkdegames");
52 if ( a
.isSessionRestored() )
53 RESTORE(KMinesMainWindow
)
55 KMinesMainWindow
*mw
= new KMinesMainWindow
;