Fix ui language for custom wizards.

Introduces a ICore::userInterfaceLanguage method, which centralizes the
previous qApp property hack for help and designer integration.

Reviewed-by: Friedemann Kleint
This commit is contained in:
con
2010-11-11 12:53:02 +01:00
parent 796cb76044
commit 17fb150f10
6 changed files with 12 additions and 6 deletions

View File

@@ -72,6 +72,7 @@ public:
QSettings *settings(QSettings::Scope scope = QSettings::UserScope) const;
SettingsDatabase *settingsDatabase() const;
QPrinter *printer() const;
QString userInterfaceLanguage() const;
QString resourcePath() const;
QString userResourcePath() const;