Application::Application(const QString &id, int &argc, char **argv) : BaseApplication(id, argc, argv) , m_running(false) , m_shutdownAct(ShutdownDialogAction::Exit) , m_commandLineArgs(parseCommandLine(this->arguments())) #ifndef DISABLE_WEBUI , m_webui(nullptr) #endif { qRegisterMetaType<Log::Msg>("Log::Msg"); setApplicationName("qBittorrent"); validateCommandLineParameters(); QString profileDir = m_commandLineArgs.portableMode ? QDir(QCoreApplication::applicationDirPath()).absoluteFilePath(DEFAULT_PORTABLE_MODE_PROFILE_DIR) : m_commandLineArgs.profileDir; Profile::initialize(profileDir, m_commandLineArgs.configurationName, m_commandLineArgs.relativeFastresumePaths || m_commandLineArgs.portableMode); Logger::initInstance(); SettingsStorage::initInstance(); Preferences::initInstance(); if (m_commandLineArgs.webUiPort > 0) // it will be -1 when user did not set any value Preferences::instance()->setWebUiPort(m_commandLineArgs.webUiPort); setApplicationName("qBittorrent"); initializeTranslation(); #if !defined(DISABLE_GUI) setAttribute(Qt::AA_UseHighDpiPixmaps, true); // opt-in to the high DPI pixmap support setQuitOnLastWindowClosed(false); #endif #if defined(Q_OS_WIN) && !defined(DISABLE_GUI) connect(this, SIGNAL(commitDataRequest(QSessionManager &)), this, SLOT(shutdownCleanup(QSessionManager &)), Qt::DirectConnection); #endif connect(this, SIGNAL(messageReceived(const QString &)), SLOT(processMessage(const QString &))); connect(this, SIGNAL(aboutToQuit()), SLOT(cleanup())); if (isFileLoggerEnabled()) m_fileLogger = new FileLogger(fileLoggerPath(), isFileLoggerBackup(), fileLoggerMaxSize(), isFileLoggerDeleteOld(), fileLoggerAge(), static_cast<FileLogger::FileLogAgeType>(fileLoggerAgeType())); Logger::instance()->addMessage(tr("qBittorrent %1 started", "qBittorrent v3.2.0alpha started").arg(QBT_VERSION)); }
IQmolApplication::IQmolApplication(int &argc, char **argv ) : QApplication(argc, argv) { setOrganizationDomain("iqmol.org"); setApplicationName("IQmol"); // Can't log anything yet as the logger hasn't been initialized }
/** * Constructor */ BursarApp::BursarApp(int argc, char *argv[]) : QApplication(argc, argv) { // set application properties setApplicationName(APP_NAME); setApplicationVersion(APP_VERSION); // mac specific #ifdef Q_WS_MAC // don't quit application when last window closes //setQuitOnLastWindowClosed(false); // create mac style menu //createMacStyleMenu(); #endif // create bursar document m_doc = new BurDoc(FULL); // create main window m_mainWindow = new MainWindow(m_doc); #ifndef Q_WS_MAC // show main window m_mainWindow->show(); #endif }
QkUiApplication::QkUiApplication(int& pArgc, char** pArgv, const QString& pCompanyName, const QString& pAppName) : QApplication(pArgc, pArgv) { setApplicationName(pAppName); setOrganizationName(pCompanyName); initMyResource(); }
WiresharkApplication::WiresharkApplication(int &argc, char **argv) : QApplication(argc, argv), initialized_(false), is_reloading_lua_(false), if_notifier_(NULL), active_captures_(0) { wsApp = this; setApplicationName("Wireshark"); Q_INIT_RESOURCE(about); Q_INIT_RESOURCE(i18n); Q_INIT_RESOURCE(layout); Q_INIT_RESOURCE(toolbar); Q_INIT_RESOURCE(wsicon); Q_INIT_RESOURCE(languages); #ifdef Q_OS_WIN /* RichEd20.DLL is needed for native file dialog filter entries. */ ws_load_library("riched20.dll"); #endif // Q_OS_WIN #if (QT_VERSION >= QT_VERSION_CHECK(5, 1, 0)) setAttribute(Qt::AA_UseHighDpiPixmaps); #endif QList<int> icon_sizes = QList<int>() << 16 << 24 << 32 << 48 << 64 << 128 << 256 << 512 << 1024; foreach (int icon_size, icon_sizes) { QString icon_path = QString(":/wsicon/wsicon%1.png").arg(icon_size); normal_icon_.addFile(icon_path); icon_path = QString(":/wsicon/wsiconcap%1.png").arg(icon_size); capture_icon_.addFile(icon_path); }
/** * Constraucts a Libertine application wrapper object. * @param[in] argc The count of the number of command-line arguments. * @param[in] argv A vector of command-line arguments. * * Sets up the Libertine application from the command-line arguments, * environment variables, and configurations files and displays the GUI. */ Libertine:: Libertine(int argc, char* argv[]) : QGuiApplication(argc, argv) , main_qml_source_file_(find_main_qml_source_file()) { setApplicationName(LIBERTINE_APPLICATION_NAME); setApplicationVersion(LIBERTINE_VERSION); config_.reset(new LibertineConfig(*this)); qmlRegisterType<ContainerConfig>("Libertine", 1, 0, "ContainerConfig"); qmlRegisterType<ContainerManagerWorker>("Libertine", 1, 0, "ContainerManagerWorker"); qmlRegisterType<PasswordHelper>("Libertine", 1, 0, "PasswordHelper"); initialize_python(); if (main_qml_source_file_.isEmpty()) { qWarning() << "Can not locate " << s_main_QML_source_file; } containers_ = new ContainerConfigList(config_.data(), this); container_apps_ = new ContainerAppsList(containers_, this); password_helper_ = new PasswordHelper(); initialize_view(); view_.show(); }
Application::Application(const QString &id, int &argc, char **argv) : BaseApplication(id, argc, argv) , m_running(false) #ifndef DISABLE_GUI , m_shutdownAct(ShutdownAction::None) #endif { Logger::initInstance(); Preferences::initInstance(); #if defined(Q_OS_MACX) && !defined(DISABLE_GUI) if (QSysInfo::MacintoshVersion > QSysInfo::MV_10_8) { // fix Mac OS X 10.9 (mavericks) font issue // https://bugreports.qt-project.org/browse/QTBUG-32789 QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande"); } #endif setApplicationName("qBittorrent"); initializeTranslation(); #ifndef DISABLE_GUI setStyleSheet("QStatusBar::item { border-width: 0; }"); setQuitOnLastWindowClosed(false); #ifdef Q_OS_WIN connect(this, SIGNAL(commitDataRequest(QSessionManager &)), this, SLOT(shutdownCleanup(QSessionManager &)), Qt::DirectConnection); #endif // Q_OS_WIN #endif // DISABLE_GUI connect(this, SIGNAL(messageReceived(const QString &)), SLOT(processMessage(const QString &))); connect(this, SIGNAL(aboutToQuit()), SLOT(cleanup())); Logger::instance()->addMessage(tr("qBittorrent %1 started", "qBittorrent v3.2.0alpha started").arg(VERSION)); }
AgrosApplication::AgrosApplication(int& argc, char ** argv) : QApplication(argc, argv), m_scriptEngineRemote(NULL) { setWindowIcon(icon("agros2d")); setApplicationVersion(versionString()); setOrganizationName("hpfem.org"); setOrganizationDomain("hpfem.org"); setApplicationName("Agros2D-3"); #ifdef Q_WS_MAC // don't show icons in menu setAttribute(Qt::AA_DontShowIconsInMenus, true); #endif // std::string codec #if QT_VERSION < 0x050000 QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8")); QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8")); #endif QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8")); // force number format QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates)); // init singleton Agros2D::createSingleton(); }
Application::Application(int& argc, char** argv) : QApplication(argc, argv), m_window(0) { setApplicationName("FocusWriter"); setApplicationVersion("1.3.3"); setOrganizationDomain("gottcode.org"); setOrganizationName("GottCode"); { QIcon fallback(":/hicolor/256x256/apps/focuswriter.png"); fallback.addFile(":/hicolor/128x128/apps/focuswriter.png"); fallback.addFile(":/hicolor/64x64/apps/focuswriter.png"); fallback.addFile(":/hicolor/48x48/apps/focuswriter.png"); fallback.addFile(":/hicolor/32x32/apps/focuswriter.png"); fallback.addFile(":/hicolor/24x24/apps/focuswriter.png"); fallback.addFile(":/hicolor/22x22/apps/focuswriter.png"); fallback.addFile(":/hicolor/16x16/apps/focuswriter.png"); setWindowIcon(QIcon::fromTheme("focuswriter", fallback)); } #ifndef Q_WS_MAC setAttribute(Qt::AA_DontUseNativeMenuBar); setAttribute(Qt::AA_DontShowIconsInMenus, !QSettings().value("Window/MenuIcons", false).toBool()); #else setAttribute(Qt::AA_DontShowIconsInMenus, true); new RTF::Converter; #endif qputenv("UNICODEMAP_JP", "cp932"); m_files = arguments().mid(1); processEvents(); }
Application::Application(int& argc, char** argv) : QtSingleApplication("org.gottcode.FocusWriter", argc, argv), m_window(0) { setApplicationName("FocusWriter"); setApplicationVersion(VERSIONSTR); setApplicationDisplayName(Window::tr("FocusWriter")); setOrganizationDomain("gottcode.org"); setOrganizationName("GottCode"); #if !defined(Q_OS_WIN) && !defined(Q_OS_MAC) setWindowIcon(QIcon::fromTheme("focuswriter", QIcon(":/focuswriter.png"))); #endif setAttribute(Qt::AA_UseHighDpiPixmaps, true); #ifndef Q_OS_MAC setAttribute(Qt::AA_DontUseNativeMenuBar); #else setAttribute(Qt::AA_DontShowIconsInMenus, true); #endif #ifdef RTFCLIPBOARD new RTF::Clipboard; #endif qputenv("UNICODEMAP_JP", "cp932"); m_files = arguments().mid(1); processEvents(); }
bool Mp3tunesHarmonyDaemon::allAboardTheDBus() { setOrganizationName( "Amarok" ); setOrganizationDomain( "amarok.kde.org" ); setApplicationName( "Mp3tunes Harmony Daemon" ); QDBusConnectionInterface *bus = 0; bus = QDBusConnection::sessionBus().interface(); if( !bus ) { qFatal("No dbus!!"); ::exit(126); return false; } QStringList parts = this->organizationDomain().split(QLatin1Char('.'), QString::SkipEmptyParts); QString reversedDomain; if (parts.isEmpty()) reversedDomain = QLatin1String("local."); else foreach (const QString& s, parts) { reversedDomain.prepend(QLatin1Char('.')); reversedDomain.prepend(s); }
tcPlayApp::tcPlayApp ( int & argc, char ** argv) : QCoreApplication (argc, argv) { setApplicationName("Play App"); setOrganizationName("Acme"); setObjectName ("tcPlayApp"); }
Application::Application(int& argc, char* argv[]) : QApplication(argc, argv) { setApplicationName("Communi"); setOrganizationName("Communi"); setApplicationVersion(Irc::version()); QIcon icon; icon.addFile(":/resources/icons/16x16/communi.png"); icon.addFile(":/resources/icons/24x24/communi.png"); icon.addFile(":/resources/icons/32x32/communi.png"); icon.addFile(":/resources/icons/48x48/communi.png"); icon.addFile(":/resources/icons/64x64/communi.png"); icon.addFile(":/resources/icons/128x128/communi.png"); setWindowIcon(icon); qRegisterMetaTypeStreamOperators<Settings>("Settings"); qRegisterMetaTypeStreamOperators<ConnectionInfo>("ConnectionInfo"); qRegisterMetaTypeStreamOperators<ConnectionInfos>("ConnectionInfos"); QSettings settings; if (arguments().contains("-reset")) settings.clear(); ApplicationData::settings = settings.value("settings").value<Settings>(); QFile file(":resources/stylesheet.css"); if (file.open(QFile::ReadOnly | QIODevice::Text)) setStyleSheet(QString::fromUtf8(file.readAll())); }
:KUniqueApplication() #endif { setApplicationName("karakaxa"); setApplicationVersion(VERSION); setOrganizationName("karakaxa"); }
IDEApplication::IDEApplication(int& argc, char **argv) : QApplication(argc, argv), mSettings(NULL) { setOrganizationName(PROJECT_ORGANIZATION); setApplicationName(PROJECT_NAME); setApplicationVersion(PROJECT_VERSION); setWindowIcon(QIcon(":/images/arduide.png")); // translation support initializeTranslator(); // fix the data path mDataPath = QDir(DATA_PATH).absolutePath(); registerMetaTypes(); // initialize Grantlee initializeTemplates(); // start the GUI initializeGui(); // check the settings are correct, or start the wizard initializeSettings(); // further gui initialization mMainWindow->initialize(); // initialize the plugins initializePlugins(); }
BibleTimeApp::BibleTimeApp(int &argc, char **argv) : QApplication(argc, argv) , m_init(false) { setApplicationName("bibletime"); setApplicationVersion(BT_VERSION); }
PhoebetriaApp::PhoebetriaApp(int &argc, char **argv) : QApplication(argc, argv), m_currentStyle_filename() { setOrganizationName("Phoebetria"); setApplicationName("Phoebetria"); QSettings::setDefaultFormat(QSettings::IniFormat); DatabaseManager db; db.initAllDatabases(); if (!setTheme(m_prefs.stylesheet())) { QMessageBox::critical( NULL, tr("Could not set style."), tr("Could not set the application style." " It may not exist. Please check preferences.\n\n" "Style filename: %1\n\n" "Setting to the standard profile instead." ).arg(m_prefs.stylesheet()) ); setTheme(Themes::getBuiltInStyleSheetName()); } m_globalTimer.start(200); m_dispatcher.start(200); m_fanControllerIO.connect(); // Connect to the IO device m_fanControllerIO.connectSignals(); m_fanControllerIO.fanControllerData().connectSignals(); }
UBApplication::UBApplication(const QString &id, int &argc, char **argv) : QtSingleApplication(id, argc, argv) , mPreferencesController(NULL) , mApplicationTranslator(NULL) , mQtGuiTranslator(NULL) { staticMemoryCleaner = new QObject(0); // deleted in UBApplication destructor setOrganizationName("Sankore"); setOrganizationDomain("sankore.org"); setApplicationName("Open-Sankore"); setApplicationVersion(UBVERSION); #if defined(Q_WS_MAC) && !defined(QT_NO_DEBUG) CFStringRef shortVersion = (CFStringRef)CFBundleGetValueForInfoDictionaryKey(CFBundleGetMainBundle(), CFSTR("CFBundleShortVersionString")); const char *version = CFStringGetCStringPtr(shortVersion, kCFStringEncodingMacRoman); Q_ASSERT(version); setApplicationVersion(version); #endif QStringList args = arguments(); mIsVerbose = args.contains("-v") || args.contains("-verbose") || args.contains("verbose") || args.contains("-log") || args.contains("log"); setupTranslators(args); UBResources::resources(); if (!undoStack) undoStack = new QUndoStack(staticMemoryCleaner); UBPlatformUtils::init(); UBSettings *settings = UBSettings::settings(); connect(settings->appToolBarPositionedAtTop, SIGNAL(changed(QVariant)), this, SLOT(toolBarPositionChanged(QVariant))); connect(settings->appToolBarDisplayText, SIGNAL(changed(QVariant)), this, SLOT(toolBarDisplayTextChanged(QVariant))); updateProtoActionsState(); #ifndef Q_WS_MAC setWindowIcon(QIcon(":/images/uniboard.png")); #endif setStyle(new UBStyle()); // Style is owned and deleted by the application QString css = UBFileSystemUtils::readTextFile(UBPlatformUtils::applicationResourcesDirectory() + "/etc/Uniboard.css"); if (css.length() > 0) setStyleSheet(css); QApplication::setStartDragDistance(8); // default is 4, and is a bit small for tablets installEventFilter(this); }
CalamaresApplication::CalamaresApplication( int& argc, char *argv[] ) : QApplication( argc, argv ) , m_mainwindow( 0 ) { setOrganizationName( QLatin1String( CALAMARES_ORGANIZATION_NAME ) ); setOrganizationDomain( QLatin1String( CALAMARES_ORGANIZATION_DOMAIN ) ); setApplicationName( QLatin1String( CALAMARES_APPLICATION_NAME ) ); setApplicationVersion( QLatin1String( CALAMARES_VERSION ) ); QString startupLocale = QLocale::system().uiLanguages().first(); CalamaresUtils::installTranslator( startupLocale, this ); QFont f = font(); cDebug() << "Default font =====" << "\nPixel size: " << f.pixelSize() << "\nPoint size: " << f.pointSize() << "\nPoint sizeF: " << f.pointSizeF() << "\nFont family: " << f.family() << "\nMetric height:" << QFontMetrics( f ).height(); // The following line blocks for 15s on Qt 5.1.0 cDebug() << "Font height:" << QFontMetrics( f ).height(); CalamaresUtils::setDefaultFontSize( f.pointSize() ); cDebug() << "Available languages:" << QString( CALAMARES_TRANSLATION_LANGUAGES ).split( ';' ); }
TApplication::TApplication(int & argc, char** argv) : QApplication(argc, argv) { setOrganizationName("Enterprise"); setApplicationName("QBalance"); setApplicationVersion("0.0.1"); setWindowIcon(QIcon(":qbalance.ico")); db = new DBFactory(); gui = new GUIFactory(db); dictionaryList = 0; topersList = 0; driverFR = 0; barCodeReader = new BarCodeReader(this, config.barCodeReaderPort); driverFRisValid = false; driverFRlocked = false; fsWebCamIsValid = true; // Поначалу будем считать, что утилита fsWebCam установлена reportTemplateType = OOXMLreportTemplate; cardReaderCode = ""; // Прочитанный код на магнитной карте if (!Exemplar) { Exemplar = this; } initConfig(); connect(&timer, SIGNAL(timeout()), this, SLOT(setTimeIsOut())); timeIsOut = false; }
FiverApp::FiverApp(int argc, char ** argv) : QApplication( argc, argv ) { _argc = argc; _argv = argv; setApplicationName(__FIVER_NAME__); }
void NavApp::initApplication() { setWindowIcon(QIcon(":/littlenavmap/resources/icons/littlenavmap.svg")); setApplicationName("Little Navmap"); setOrganizationName("ABarthel"); setOrganizationDomain("littlenavmap.org"); setApplicationVersion("2.3.0.develop"); // VERSION_NUMBER - Little Navmap }
Application::Application(int &argc, char *argv[]): QApplication(argc, argv) { setApplicationName("Near"); setOrganizationName("Manti"); w = new MainWindow(); w->show(); }
Application::Application(int &argc, char **argv) : QApplication(argc, argv) { setApplicationName("Simple Resize"); setOrganizationName("Sergey Gavrushkin"); setWindowIcon(QIcon(":/icons/icons/cat.png")); }
MisliDesktopGui::MisliDesktopGui(int argc, char *argv[]) : QApplication(argc,argv) { QWidget dummyWidget; //so I can use the static functions below misliWindow = NULL; translator = NULL; clearSettingsOnExit = false; int user_reply; //Set some creditentials setQuitOnLastWindowClosed(false); setOrganizationName("p10"); //this is needed for proper settings access in windows setApplicationName("misli"); setApplicationVersion("2.0.0"); //Construct the splash screen splash = new QSplashScreen(QPixmap(":/img/icon.png")); splash->show(); //Init the settings settings = new QSettings; //Check if there's a series of failed starts and suggest clearing the settings if(failedStarts()>=2){ user_reply = QMessageBox::question(&dummyWidget,tr("Warning"),tr("There have been two unsuccessful starts of the program. Clearing the program settings will probably solve the issue . Persistent program crashes are mostly caused by corrupted notefiles , so you can try to manually narrow out the problematic notefile (remove the notefiles from the work directories one by one). The last one edited is probably the problem (you can try to correct it manually with a text editor to avoid loss of data).\n Do you want to clear the settings?")); if(user_reply==QMessageBox::Ok){ //if the user pressed Ok settings->clear(); settings->sync(); exit(0); } } //Assume we won't start successfully , if we do - the value gets -1-ed on close setFailedStarts(failedStarts()+1); if(firstProgramStart()){ QString newLanguage = QInputDialog::getItem(&dummyWidget,tr("Set the language"),tr("Language:/Език:"),QStringList()<<"English"<<"Български",0,false); if(newLanguage=="English") setLanguage("en"); if(newLanguage=="Български") setLanguage("bg"); } updateTranslator(); //Construct the misli instance class misliInstance = new MisliInstance(false); //Connections connect(this,SIGNAL(languageChanged(QString)),this,SLOT(updateTranslator())); connect(this,SIGNAL(aboutToQuit()),this,SLOT(stuffToDoBeforeQuitting())); //Start worker thread as soon as the main loop starts (so that we first show the splash screen and then start work) workerThread.start(); misliInstance->loadStoredDirs(); misliWindow = new MisliWindow(this); splash->finish(misliWindow); misliWindow->showMaximized(); }
Application::Application(int &argc, char **argv) : QApplication(argc, argv) { setApplicationName("Installer Jukebox"); // All paths are relative to the location of the executable QString appPath = applicationDirPath(); qDebug() << "Application path:" << appPath; QDir::addSearchPath("app", appPath); // Parse configuration file (required) if (!QFileInfo("app:InstallerJukebox.ini").isReadable()) { QString configPath = appPath + QDir::separator() + "InstallerJukebox.ini"; qDebug() << "Cannot read" << configPath; critical(tr("Cannot read %1").arg(configPath)); throw 1; } config = new QSettings("app:InstallerJukebox.ini", QSettings::IniFormat); // Get working directory from config. Must be configured, exist and be writable. tmpDir = config->value("Working directory").toString(); if (tmpDir.isEmpty()) { qDebug() << "Working directory not configured!"; critical(tr("Working directory is not configured!")); throw 1; } QFileInfo fileInfo(tmpDir); if (!fileInfo.isDir()) { qDebug() << tmpDir << "is not a directory!"; Application::critical(tr("'%1' is not a directory!").arg(tmpDir)); throw 1; } if (!fileInfo.isWritable()) { qDebug() << tmpDir << "is not writable!"; Application::critical(tr("Directory '%1' is not writable!").arg(tmpDir)); throw 1; } tmpDir = QDir::cleanPath(fileInfo.absoluteFilePath()); qDebug() << "tmpDir is" << tmpDir; // Parse "Keep temp files" option. Must be valid if configured, default to "Never". QString keepTempFiles = config->value("Keep temp files", "never").toString().toLower(); qDebug() << "Keep temp files:" << keepTempFiles; if (keepTempFiles == "never") { tmpFileHandling = Never; } else if (keepTempFiles == "onerror") { tmpFileHandling = OnError; } else if (keepTempFiles == "always") { tmpFileHandling = Always; } else { qDebug() << "Invalid!"; critical(tr("'Keep temp files' setting is invalid!")); throw 1; } // Use system's default proxy configuration QNetworkProxyFactory::setUseSystemConfiguration(true); }
NotifierApp::NotifierApp( int& argc, char* argv[] ) : QApplication( argc, argv ) { setOrganizationName( "Manjaro" ); setOrganizationDomain( "Manjaro" ); setApplicationName( "MSM Notifier for Plasma5" ); setApplicationVersion( PROJECT_VERSION ); setQuitOnLastWindowClosed( false ); }
Manager::Manager(int &argc, char** argv) : QApplication(argc, argv) { setOrganizationName("ology.org"); setApplicationName("ology"); _window.fillInValues(); _window.show(); }
int qPBReader::exec() { TRSCOPE(app, "qPBReader::exec"); int rc = 0; connect(this, SIGNAL(aboutToQuit()), this, SLOT(End())); setOrganizationName("m4mmon"); setApplicationName("qPBReader"); setApplicationVersion("0.1"); // application stylesheet { QFile f(":qPBReader.css"); f.open(QFile::ReadOnly); QString css = QLatin1String(f.readAll()); setStyleSheet(css); } // configuration dialog if (_bGlobalConfMode) { _pConfigDialog = new qPBReaderConfigDialog(); _pConfigDialog->show(); return QApplication::exec(); } // or instantiate viewer else { _pViewer = new qPBReaderViewer(_sEbook); _pViewer->show(); // and launch if (_pViewer->Start()) { TRACE << "go!" << endl; return QApplication::exec(); } else { qPBReaderPlatform::MessageTimeOut( "qPBReader", tr("Could not open ") + _sEbook, 4000 ); rc = -1; } } return rc; }
MsmApplication::MsmApplication(int& argc, char* argv[]) : QApplication(argc, argv), m_mainwindow(0) { setOrganizationName("Manjaro"); setOrganizationDomain("Manjaro"); setApplicationName("Manjaro Settings Manager"); setApplicationVersion("0.5.0"); }