blob: 213c4c29cca0bd874ff43f4da8d42171c69bd00a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _USERCONFIG_H_
#define _USERCONFIG_H_
#include <QString>
#include <QSet>
class UserConfig {
public:
static QStringList getLastSessions();
static int getLastTab();
static uint getLastNewsTime();
static bool isNewsHelpOpen();
static void addLastSession(QString nameOrId);
static void setLastTab(int tab);
static void setLastNewsTime(uint t);
static void setNewsHelpOpen(bool b);
private:
UserConfig() {}
static void init();
};
#endif /* _USERCONFIG_H_ */
|