#ifndef DESIGNERSETTINGMANAGER_H #define DESIGNERSETTINGMANAGER_H #include #include #include #include class DesignerSettingManager : public QObject { Q_OBJECT public: explicit DesignerSettingManager(QObject *parent = 0); ~DesignerSettingManager(); void setApplicationInstance(QApplication* application); signals: public slots: void getAviableLanguages(QList* languages); QLocale::Language getCurrentDefaultLanguage(); void currentDefaulLanguageChanged(QLocale::Language language); private: QApplication* m_app; QSettings* m_setting; }; #endif // DESIGNERSETTINGMANAGER_H