diff options
Diffstat (limited to 'src/userconfig.h')
-rw-r--r-- | src/userconfig.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/userconfig.h b/src/userconfig.h new file mode 100644 index 0000000..7f27e1b --- /dev/null +++ b/src/userconfig.h @@ -0,0 +1,21 @@ +#ifndef _USERCONFIG_H_ +#define _USERCONFIG_H_ + +#include <QString> +#include <QSet> + +class UserConfig { +public: + static QStringList getLastSessions(); + static int getLastTab(); + static uint getLastNewsTime(); + static void addLastSession(QString nameOrId); + static void setLastTab(int tab); + static void setLastNewsTime(uint t); + +private: + UserConfig() {} + static void init(); +}; + +#endif /* _USERCONFIG_H_ */ |