-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.cpp
25 lines (21 loc) · 812 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "Mangonel.h"
#include <KDE/KUniqueApplication>
#include <KDE/KCmdLineArgs>
#include <KDE/KAboutData>
int main(int argc, char** argv)
{
KAboutData* aboutData = new KAboutData(
QByteArray("Mangonel"),
QByteArray("Mangonel"),
ki18n("Mangonel"),
QByteArray("0.1"),
ki18n("A simple application launcher for KDE4."));
aboutData->setHomepage(QByteArray("www.tarmack.eu/mangonel/"));
aboutData->setBugAddress(QByteArray("bugs.mangonel@tarmack.eu"));
KCmdLineArgs::init(argc, argv, aboutData);
KUniqueApplication app;
app.setOrganizationName("Tarmack SW");
Mangonel foo(&app);
return app.exec();
}
// kate: indent-mode cstyle; space-indent on; indent-width 4;