fix i18nc typo in last commit
[kdeaccessibility.git] / ksayit / src / main.cpp
blob396b0e86e9702d0eb4dbe3d32c00514d27c82654
1 /***************************************************************************
2 main.cpp - description
3 -------------------
4 begin : Son Aug 10 13:26:57 EDT 2003
5 copyright : (C) 2003 by Robert Vogl
6 email : voglrobe@saphir
7 ***************************************************************************/
9 /***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
15 * *
16 ***************************************************************************/
18 #include <stdlib.h>
20 // QT includes
21 #include <QtCore/QByteArray>
23 // KDE includes
24 #include <kcmdlineargs.h>
25 #include <kaboutdata.h>
26 #include <kglobal.h>
27 #include <klocale.h>
28 // #include <arts/kartsdispatcher.h>
29 // #include <dcopclient.h>
31 // App specific includes
32 #include "version.h"
33 #include "ksayit.h"
35 static const char *description =
36 I18N_NOOP("KSayIt - A Text To Speech frontend for KDE");
37 // INSERT A DESCRIPTION FOR YOUR APPLICATION HERE
40 int main(int argc, char *argv[])
43 KAboutData aboutData( "ksayit", 0, ki18n("KSayIt"),
44 KSAYIT_VERSION, ki18n(description), KAboutData::License_GPL,
45 ki18n("(c) 1996 - 2005, Robert Vogl"), KLocalizedString(), 0, "voglrobe@web.de");
46 aboutData.addAuthor(ki18n("Robert Vogl"),KLocalizedString(), "voglrobe@web.de");
47 KCmdLineArgs::init( argc, argv, &aboutData );
49 KApplication app;
51 // setup MCOP
52 // TODO: aRts no longer supported. Either eliminate audio
53 // effects or port to Phonon.
54 // KArtsDispatcher dispatcher;
56 // setup DCOP
57 // TODO: port to DBUS.
58 // DCOPCString appID = app.dcopClient()->registerAs( app.name(), false );
60 KSayItApp *ksayit = new KSayItApp(0, "MainWindow", 0, 0 /*appID*/);
61 // ksayit->hide();
62 ksayit->show();
64 return app.exec();