-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
38 lines (29 loc) · 1.1 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
/*
Copyright (c) 2009 Riccardo Iaconelli <[email protected]>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
*/
#include <KApplication>
#include <KAboutData>
#include <KLocale>
#include <KCmdLineArgs>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
KAboutData aboutData("plasmate", 0, ki18n("PlasMate"),
"0.1", ki18n("A Plasma friendly IDE"),
KAboutData::License_GPL,
ki18n("(c) 2009 Riccardo Iaconelli"),
KLocalizedString(), "", "[email protected]");
aboutData.addAuthor(ki18n("Riccardo Iaconelli"), ki18n("Author"), "[email protected]");
KCmdLineArgs::init(argc, argv, &aboutData);
KCmdLineOptions options;
KCmdLineArgs::addCmdLineOptions(options);
KCmdLineArgs::parsedArgs();
KApplication app;
MainWindow *w = new MainWindow();
w->show();
return app.exec();
}