1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#include "kmahjongg.h"
#include "version.h"
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <kaboutdata.h>
#include <kimageio.h>
static const char description[] = I18N_NOOP("Mahjongg for TDE");
int main( int argc, char** argv )
{
KAboutData aboutData( "kmahjongg", I18N_NOOP("KMahjongg"),
KMAHJONGG_VERSION, description, KAboutData::License_GPL,
"(c) 1997, Mathias Mueller");
aboutData.addAuthor("Mathias Mueller", I18N_NOOP("Original Author"), "[email protected]");
aboutData.addAuthor("Albert Astals Cid", I18N_NOOP("Current maintainer"), "[email protected]");
aboutData.addAuthor("David Black", I18N_NOOP("Rewrite and Extension"), "[email protected]");
aboutData.addAuthor("Michael Haertjens", I18N_NOOP("Solvable game generation\nbased on algorithm by Michael Meeks in GNOME mahjongg"), "[email protected]");
aboutData.addAuthor("Osvaldo Stark", I18N_NOOP("Tile set contributor and web page maintainer"), "[email protected]");
aboutData.addCredit("Benjamin Meyer", I18N_NOOP("Code cleanup"), "[email protected]");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication a;
KGlobal::locale()->insertCatalogue("libtdegames");
KImageIO::registerFormats();
if (a.isRestored())
RESTORE(KMahjongg)
else {
KMahjongg *app = new KMahjongg;
a.setMainWidget(app);
app->show();
}
return a.exec();
}
|