mirror of
https://github.com/Snigdha-OS/snigdhaos-horizon.git
synced 2025-09-07 15:25:11 +02:00
28 lines
663 B
C++
28 lines
663 B
C++
#ifndef CONTROLLER_APPLICATION_H
|
|
#define CONTROLLER_APPLICATION_H
|
|
#include <QMap>
|
|
#include <QSettings>
|
|
#include <QSystemTrayIcon>
|
|
|
|
class ControllerApplication {
|
|
public:
|
|
static ControllerApplication *ins();
|
|
QMap<QString, QString> getLanguageList() const;
|
|
// void loadLanguageList();
|
|
void updateStylesheet();
|
|
QString getStylesheetFileContent() const;
|
|
QSettings *getStyleValues() const;
|
|
QSystemTrayIcon *getTrayIcon();
|
|
|
|
private:
|
|
static ControllerApplication *instance;
|
|
ControllerApplication();
|
|
|
|
private:
|
|
QSystemTrayIcon *eTrayIcon;
|
|
QSettings *eStyleValue;
|
|
QString stFileContent;
|
|
};
|
|
|
|
#endif // CONTROLLER_APPLICATION_H
|