SymbolEditor  1.3.0
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
Main.cpp
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2011 by Stephen Allewell *
3  * sallewell@users.sourceforge.net *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ********************************************************************************/
10 
11 
59 #include <KAboutData>
60 #include <KApplication>
61 #include <KCmdLineArgs>
62 
63 
64 #include "MainWindow.h"
65 
66 
78 int main(int argc, char *argv[])
79 {
80  KAboutData aboutData("SymbolEditor",
81  "SymbolEditor",
82  ki18n("SymbolEditor"), "1.3.0",
83  ki18n("A cross stitch symbol editor."),
84  KAboutData::License_GPL_V2,
85  ki18n("(c)2011 Stephen Allewell"),
86  ki18n(""),
87  "http://kxstitch.sourceforge.net/kxstitch",
88  "sallewell@users.sourceforge.net");
89  aboutData.addAuthor(ki18n("Stephen Allewell"), ki18n("Project Lead"), "sallewell@users.sourceforge.net");
90 
91  KCmdLineArgs::init(argc, argv, &aboutData);
92 
93  KApplication app;
94 
95  MainWindow *mainWindow = new MainWindow();
96  mainWindow->show();
97 
98  return app.exec();
99 }