1/*
2 * Copyright 1999 Reginald Stadlbauer <reggie@kde.org>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "kcharselectdia.h"
19
20#include <KAboutData>
21#include <KApplication>
22#include <KCmdLineArgs>
23
24static const char version[] = "v1.11";
25static const char description[] = I18N_NOOP("KDE character selection utility");
26static const char text[] = I18N_NOOP("A wrapper around the KCharSelect widget.");
27static const char homepageUrl[] = "http://utils.kde.org/projects/kcharselect";
28
29/*================================================================*/
30int main(int argc, char **argv)
31{
32 KAboutData aboutData( "kcharselect", 0, ki18n("KCharSelect"),
33 version, ki18n(description), KAboutData::License_GPL,
34 KLocalizedString(), ki18n(text), homepageUrl );
35
36 aboutData.addAuthor(ki18n("Daniel Laidig"), ki18n("Author and maintainer"), "d.laidig@gmx.de" );
37 aboutData.addAuthor(ki18n("Reginald Stadlbauer"), ki18n("Author"), "reggie@kde.org");
38
39 aboutData.addCredit( ki18n("Daniel Laidig"), ki18n("New GUI, Unicode information, incremental search,"
40 " and general improvements"), "d.laidig@gmx.de" );
41 aboutData.addCredit( ki18n("Constantin Berzan"), ki18n("Previous maintainer"), "exit3219@gmail.com" );
42 aboutData.addCredit( ki18n("Nadeem Hasan"), ki18n( "GUI cleanup and fixes" ),
43 "nhasan@kde.org" );
44 aboutData.addCredit( ki18n("Ryan Cumming"), ki18n( "GUI cleanup and fixes" ),
45 "bodnar42@phalynx.dhs.org" );
46 aboutData.addCredit( ki18n("Benjamin C. Meyer"), ki18n("XMLUI conversion"),
47 "ben+kcharselect@meyerhome.net" );
48 aboutData.addCredit( ki18n("Bryce Nesbitt"), ki18n("RTL support") );
49
50 aboutData.setProgramIconName(QLatin1String( "accessories-character-map" ));
51 KCmdLineArgs::init( argc, argv, &aboutData );
52
53 KApplication app;
54
55 KCharSelectDia *dia = new KCharSelectDia;
56 dia->show();
57
58 return app.exec();
59}
60