Fixed coordinate bug.
[kgcqgv.git] / main.cpp
blob101de9317defa5084cb5071c00b2808e6174365c
1 /*
2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8 */
10 #include <KApplication>
11 #include <KAboutData>
12 #include <KLocale>
13 #include <KCmdLineArgs>
15 #include "mainwindow.h"
18 int main(int argc, char *argv[])
20 KAboutData aboutData("kgcqgv", 0, ki18n("KGC/QGV benchmark"),
21 "0.1", ki18n("KCG/QGV benchmark"), KAboutData::License_GPL,
22 ki18n("(c) 2007 Paolo Capriotti"), KLocalizedString(), "", "p.capriotti@gmail.com");
23 aboutData.addAuthor(ki18n("Paolo Capriotti"), KLocalizedString(), "p.capriotti@gmail.com");
25 KCmdLineArgs::init(argc, argv, &aboutData);
27 KCmdLineOptions options;
28 KCmdLineArgs::addCmdLineOptions(options);
29 KCmdLineArgs::parsedArgs();
30 KApplication app;
32 MainWindow* window = new MainWindow(0);
33 window->resize(600, 600);
34 window->show();
36 return app.exec();