main.cpp

00001 
00022 #include "krichtexteditor.h"
00023 
00024 #include <kapplication.h>
00025 #include <kaboutdata.h>
00026 #include <kcmdlineargs.h>
00027 
00028 int main(int argc, char **argv)
00029 {
00030     const QByteArray& ba = QByteArray("krichtexteditor");
00031     const KLocalizedString name = ki18n("KDE Rich Text Editor");
00032     KAboutData aboutData(ba, ba, name, ba, name);
00033     KCmdLineArgs::init(argc, argv, &aboutData);
00034     KApplication app;
00035     KRichTextEditor* mw = new KRichTextEditor();
00036     mw->show();
00037     app.exec();
00038 }
KDE Home | KDE Accessibility Home | Description of Access Keys