mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-23 16:22:58 +03:00
0fca7169d3
except those placed in 3rdparty directories.
24 lines
585 B
C++
24 lines
585 B
C++
#ifndef DESIGNERSETTINGMANAGER_H
|
|
#define DESIGNERSETTINGMANAGER_H
|
|
|
|
#include <QApplication>
|
|
#include <QLocale>
|
|
#include <QObject>
|
|
#include <QSettings>
|
|
|
|
class DesignerSettingManager: public QObject {
|
|
Q_OBJECT
|
|
public:
|
|
explicit DesignerSettingManager(QObject* parent = 0);
|
|
~DesignerSettingManager();
|
|
public slots:
|
|
void getAvailableLanguages(QList<QLocale::Language>* languages);
|
|
QLocale::Language getCurrentDefaultLanguage();
|
|
void currentDefaultLanguageChanged(QLocale::Language language);
|
|
|
|
private:
|
|
QSettings* m_setting;
|
|
};
|
|
|
|
#endif // DESIGNERSETTINGMANAGER_H
|