diff options
| author | Tannin <devnull@localhost> | 2013-11-27 20:25:24 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-11-27 20:25:24 +0100 |
| commit | f1515193ca82c229a712f067f61f1c26e9b83400 (patch) | |
| tree | c0a50bbfcde4644b7f05e30c90211b69b60a25d0 /src/mainwindow.h | |
| parent | db0347212a509b9ceef1cede61a4afd7d2253014 (diff) | |
- plugins can now be localized too
- fixes to the installer script
- extended build scripts to fetch translations from pootle server automatically
Diffstat (limited to 'src/mainwindow.h')
| -rw-r--r-- | src/mainwindow.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index dfd2e571..5a8278f9 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -197,7 +197,7 @@ private: void actionToToolButton(QAction *&sourceAction); bool verifyPlugin(MOBase::IPlugin *plugin); void registerPluginTool(MOBase::IPluginTool *tool); - bool registerPlugin(QObject *pluginObj); + bool registerPlugin(QObject *pluginObj, const QString &fileName); void updateToolBar(); void activateSelectedProfile(); @@ -272,6 +272,7 @@ private: static void setupNetworkProxy(bool activate); void activateProxy(bool activate); + QTranslator *installTranslator(const QString &name); private: @@ -318,9 +319,6 @@ private: DownloadManager m_DownloadManager; InstallationManager m_InstallationManager; - QTranslator *m_Translator; - QTranslator *m_TranslatorQt; - SelfUpdater m_Updater; CategoryFactory &m_CategoryFactory; @@ -352,6 +350,9 @@ private: SignalAboutToRunApplication m_AboutToRun; + QString m_CurrentLanguage; + std::vector<QTranslator*> m_Translators; + private slots: void showMessage(const QString &message); |
