24 #include <kcmdlineargs.h>
25 #include <kaboutdata.h>
27 #include <kapplication.h>
33 int main(
int argc,
char* argv[])
35 static const char description[] = I18N_NOOP(
"Vocabulary Trainer");
38 KAboutData aboutData(
"parley", 0,
42 KAboutData::License_GPL,
43 ki18n(
"© 1999-2002\tEwald Arnold\n"
44 "© 2001-2002\tThe KDE team\n"
45 "© 2004-2007\tPeter Hedlund\n"
46 "© 2007-2010\tFrederik Gladhorn\n"),
47 ki18n(
"Helps you train your vocabulary"),
48 "http://edu.kde.org/parley",
49 "submit@bugs.kde.org");
51 aboutData.addAuthor(ki18n(
"Inge Wallin"),
52 ki18n(
"Developer and Co-maintainer"),
53 "inge@lysator.liu.se");
55 aboutData.addAuthor(ki18n(
"Amarvir Singh"),
56 ki18n(
"Developer and Co-maintainer"),
57 "amarvir.ammu.93@gmail.com");
59 aboutData.addAuthor(ki18n(
"Frederik Gladhorn"),
60 ki18n(
"Developer, former maintainer"),
63 aboutData.addAuthor(ki18n(
"Daniel Laidig"),
67 aboutData.addAuthor(ki18n(
"David Capel"),
68 ki18n(
"Practice Dialogs"),
69 "wot.narg@gmail.com");
71 aboutData.addAuthor(ki18n(
"Avgoustinos Kadis"),
73 "avgoustinos.kadis@kdemail.net");
75 aboutData.addAuthor(ki18n(
"Peter Hedlund"),
76 ki18n(
"Countless fixes, former maintainer, port to KDE4"),
77 "peter.hedlund@kdemail.net");
79 aboutData.addAuthor(ki18n(
"Ewald Arnold"), ki18n(
"Original Author"),
80 "kvoctrain@ewald-arnold.de",
81 "http://www.ewald-arnold.de");
83 aboutData.addCredit(ki18n(
"Lee Olson"),
84 ki18n(
"Artwork and Oxygen Icons"));
86 aboutData.addCredit(ki18n(
"Anne-Marie Mahfouf"),
87 ki18n(
"Port to KConfig XT"));
89 aboutData.addCredit(ki18n(
"Jeremy Whiting"),
90 ki18n(
"Rewriting the kvtml library for KDE4"));
92 aboutData.addCredit(ki18n(
"Markus Büchele"),
93 ki18n(
"Bug reports and testing on the way to KDE4"));
95 aboutData.addCredit(ki18n(
"Ramona Knapp"),
96 ki18n(
"Conceived the name Parley"));
98 KCmdLineArgs::init(argc, argv, &aboutData);
100 KCmdLineOptions options;
101 options.add(I18N_NOOP(
"+[file]"), ki18n(
"Document file to open"));
103 KCmdLineArgs::addCmdLineOptions(options);
106 app.setQuitOnLastWindowClosed(
false);
109 KGlobal::locale()->insertCatalog(
"libkdeedu");
111 if (app.isSessionRestored()) {
113 while (KMainWindow::canBeRestored(n)) {
119 KMainWindow *parleyApp;
121 KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
123 if (args && args->count() > 0) {
#define PARLEY_VERSION_STRING
int main(int argc, char *argv[])