blob: c1b6eac6be5a84d4434b6ba9f51ec69041693a01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef LTHEMEENGINE_H
#define LTHEMEENGINE_H
#define LTHEMEENGINE_VERSION_MAJOR 0
#define LTHEMEENGINE_VERSION_MINOR 33
#define LTHEMEENGINE_TOSTRING(s) #s
#define LTHEMEENGINE_STRINGIFY(s) LTHEMEENGINE_TOSTRING(s)
#define LTHEMEENGINE_VERSION_INT (LTHEMEENGINE_VERSION_MAJOR<<8 | LTHEMEENGINE_VERSION_MINOR)
#define LTHEMEENGINE_VERSION_STR LTHEMEENGINE_STRINGIFY(LTHEMEENGINE_VERSION_MAJOR.LTHEMEENGINE_VERSION_MINOR)
#include <QString>
#include <QStringList>
class lthemeengine
{
public:
static QStringList readFile(QString path);
static QString configPath();
static QString configFile();
static QStringList iconPaths();
static QString userStyleSheetPath();
static QStringList sharedStyleSheetPath();
static QString userDesktopStyleSheetPath();
static QStringList sharedDesktopStyleSheetPath();
static QString userColorSchemePath();
static QStringList sharedColorSchemePath();
static QString systemLanguageID();
//Cursor Theme Management
static QStringList availableSystemCursors();
static QString currentCursor();
static bool setCursorTheme(QString);
private:
lthemeengine() {}
};
#endif // LTHEMEENGINE_H
|