summaryrefslogtreecommitdiffstats
path: root/src/userconfig.h
blob: 7f27e1b0e21bab6147af544d3b3c6f04ef9087a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_ */