moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / klatin / klatin / main.cpp
blob8de40ff0de60d4621d72a8b1c641e454d4be2602
1 /***************************************************************************
2 begin : Tue Dec 18 17:47:22 GMT 2001
3 copyright : (C) 2001-2004 by George Wright
4 email : gwright@kde.org
5 ***************************************************************************/
7 /***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
16 #include <kapplication.h>
17 #include <kcmdlineargs.h>
18 #include <kaboutdata.h>
20 #include "klatin.h"
22 static const char description[] =
23 I18N_NOOP("KLatin - a program to help revise Latin");
24 // INSERT A DESCRIPTION FOR YOUR APPLICATION HERE
27 static KCmdLineOptions options[] =
29 KCmdLineLastOption
32 int main(int argc, char *argv[])
35 KAboutData aboutData( "klatin", I18N_NOOP("KLatin"),
36 "0.9", description, KAboutData::License_GPL,
37 "(C) 2001-2004, George Wright", 0, "http://edu.kde.org/klatin", "submit@bugs.kde.org");
39 aboutData.addAuthor("George Wright",I18N_NOOP("Author and Maintainer"), "gwright@kde.org");
40 aboutData.addCredit("Anne-Marie Mahfouf",I18N_NOOP("Bug fixes, documentation"), "annma@kde.org");
41 aboutData.addCredit("Neil Stevens",I18N_NOOP("Vocabulary shuffling code"), "neil@hakubi.us");
43 aboutData.addCredit("Danny Allen",I18N_NOOP("SVG icon"), "danny@dannyallen.co.uk");
44 aboutData.addCredit("Pino Toscano",I18N_NOOP("Bug fixes and code improvement, Italian Vocabulary Data Translation"), "toscano.pino@tiscali.it");
45 aboutData.addCredit("Mikolaj Machowski",I18N_NOOP("Polish Vocabulary Data Translation"), "mikmach@wp.pl");
47 KCmdLineArgs::init( argc, argv, &aboutData );
48 KCmdLineArgs::addCmdLineOptions( options ); // Add our own options.
50 KApplication a;
52 KLatin *klatin = new KLatin();
54 if (a.isRestored()) {
55 RESTORE(KLatin);
56 } else {
57 a.setMainWidget(klatin);
58 klatin->show();
61 return a.exec();