1/***************************************************************************
2 begin : Fri May 19 2000
3 copyright : (C) 2000 by Roman Merzlyakov
4 email : roman@sbrf.barrt.ru
5 copyright : (C) 2000 by Roman Razilov
6 email : Roman.Razilov@gmx.de
7 ***************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
17 /*
18 * Roman Razilov 2000-05-19 debug dummmy
19 * Roman Razilov 2000-05-21 qimgio
20*/
21
22
23#include <KApplication>
24#include <KLocale>
25#include <KAboutData>
26#include <KCmdLineArgs>
27#include <KGlobal>
28
29#include "klines.h"
30
31static const char description[] = I18N_NOOP("Kolor Lines - a little game about balls and how to get rid of them");
32
33int main( int argc, char **argv )
34{
35 KAboutData aboutData("klines", 0, ki18n("Kolor Lines"), "1.5",
36 ki18n(description), KAboutData::License_GPL,
37 ki18n("(c) 2000-2008 The KLines Authors"), KLocalizedString(), "http://games.kde.org/klines");
38 aboutData.addAuthor(ki18n("Roman Merzlyakov"), ki18n("Original author"), "roman@sbrf.barrt.ru");
39 aboutData.addAuthor(ki18n("Roman Razilov"), ki18n("Rewrite and Extension"), "Roman.Razilov@gmx.de");
40 aboutData.addAuthor(ki18n("Dmitry Suzdalev"), ki18n("Rewrite to use QGraphicsView. Current maintainer"), "dimsuz@gmail.com");
41 aboutData.addCredit(ki18n("Eugene Trounev"), ki18n("New SVG artwork for KDE4 version of the game"), "eugene.trounev@gmail.com");
42 KCmdLineArgs::init(argc, argv, &aboutData);
43
44 KApplication application;
45 KGlobal::locale()->insertCatalog( QLatin1String( "libkdegames" ));
46
47 if (application.isSessionRestored())
48 RESTORE(KLinesMainWindow)
49 else {
50 KLinesMainWindow *window = new KLinesMainWindow;
51 window->show();
52 }
53 return application.exec();
54}
55