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