Mercurial > bellaciao
comparison session.h @ 4:220e5619bf87
Profiles selection now fill contact list + new Jid class
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 11 Aug 2011 00:02:25 +0200 |
parents | fee291c8d42a |
children |
comparison
equal
deleted
inserted
replaced
3:2195295a2058 | 4:220e5619bf87 |
---|---|
17 */ | 17 */ |
18 | 18 |
19 #ifndef SESSION_H | 19 #ifndef SESSION_H |
20 #define SESSION_H | 20 #define SESSION_H |
21 | 21 |
22 #include <QtGui> | |
23 | |
22 class Session | 24 class Session |
23 { | 25 { |
24 public: | 26 public: |
25 static Session* getSession(); | 27 static Session* getSession(); |
28 QList<QString>& getProfiles(); | |
26 | 29 |
27 protected: | 30 protected: |
28 Session(); | 31 Session(); |
29 | 32 |
30 private: | 33 private: |
31 static Session* _instance; | 34 static Session* _instance; |
35 QList<QString> m_profiles; | |
32 }; | 36 }; |
33 | 37 |
34 | 38 |
35 | 39 |
36 #endif | 40 #endif |