#ifndef _USERCONFIG_H_ #define _USERCONFIG_H_ #include #include 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_ */