rrenkert@327: #include "managementwindow.h" rrenkert@327: rrenkert@327: #include rrenkert@327: #include rrenkert@327: #include rrenkert@327: #include rrenkert@327: rrenkert@327: #ifndef VERSION rrenkert@327: #define VERSION "0.0.1" rrenkert@327: #endif rrenkert@327: rrenkert@327: #ifndef APPNAME rrenkert@327: #define APPNAME "management" rrenkert@327: #endif rrenkert@327: rrenkert@327: #ifndef ORGANIZATION rrenkert@327: #define ORGANIZATION "m13org" rrenkert@327: #endif rrenkert@327: rrenkert@327: #ifdef Q_OS_WIN rrenkert@327: Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin) rrenkert@327: #else rrenkert@327: Q_IMPORT_PLUGIN(QXcbIntegrationPlugin) rrenkert@327: #endif rrenkert@327: rrenkert@327: int main(int argc, char **argv) rrenkert@327: { rrenkert@327: QApplication app (argc, argv); rrenkert@327: rrenkert@327: QStringList arguments = QApplication::arguments(); rrenkert@327: rrenkert@327: QApplication::setOrganizationName(QString::fromLatin1(ORGANIZATION)); rrenkert@327: QApplication::setApplicationName(QString::fromLatin1(APPNAME)); rrenkert@327: QApplication::setApplicationVersion(QString::fromLatin1(VERSION)); rrenkert@327: QSettings::setDefaultFormat(QSettings::IniFormat); rrenkert@327: rrenkert@327: ManagementWindow mgntWin; rrenkert@327: mgntWin.show(); rrenkert@327: rrenkert@327: return app.exec(); rrenkert@327: }