moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kmessedwords / kmessedwords / main.cpp
blobbe6313a3ed336a6994249c595f5b1a980b430f71
1 /***************************************************************************
2 main.cpp - description
3 -------------------
4 begin : Thu Jul 19 00:06:05 CEST 2001
5 copyright : (C) 2001 by Primoz Anzur
6 : (C) 2004 by Reuben Sutton
7 email : zerokode@gmx.net
8 email : reubens@gmail.com
9 ***************************************************************************/
11 /***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
20 #include <kcmdlineargs.h>
21 #include <kaboutdata.h>
22 #include <kapplication.h>
24 #include "mainwindow.h"
26 static const char description[] =
27 I18N_NOOP("Anagram game");
29 static KCmdLineOptions options[] =
31 KCmdLineLastOption
34 int main(int argc, char *argv[])
37 KAboutData aboutData( "kmessedwords", I18N_NOOP("KMessedWords"),
38 LOCAL_VERSION, description, KAboutData::License_GPL,
39 "(c) 2001-2004 Primoz Anzur\n(c) 2004- Reuben Sutton", 0, "http://edu.kde.org/kmessedwords", "submit@bugs.kde.org");
40 aboutData.addAuthor("Reuben Sutton",I18N_NOOP("Maintainer"),"reubens@gmail.com");
41 aboutData.addAuthor("Primoz Anzur",I18N_NOOP("Original Maintainer/Author"), "zerokode@gmx.net");
42 aboutData.addAuthor("Anne-Marie Mahfouf",I18N_NOOP("Port to KConfig XT, clean code"), "annma@kde.org");
43 aboutData.addCredit("Waldo Bastian",I18N_NOOP("Created the core KMW engine / improved syllables engine"),
44 "bastian@kde.org");
45 aboutData.addCredit("Chris Howells",I18N_NOOP("Added \"Help\" menu"), "howells@kde.org");
46 aboutData.addCredit("David Vignoni", I18N_NOOP("svg icon"), "david80v@tin.it");
47 aboutData.addCredit("Robbie Ward",I18N_NOOP("Various ideas, and suggestions"), "robbie.ward1@virgin.net");
49 KCmdLineArgs::init( argc, argv, &aboutData );
50 KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
52 KApplication a;
53 MainWindow *mw = new MainWindow();
54 a.setMainWidget(mw);
55 mw->show();
57 return a.exec();