comparison contact_list.h @ 7:017925589d4c

Contact (formerly ContactT) now use shared data
author Goffi <goffi@goffi.org>
date Sun, 14 Aug 2011 18:03:54 +0200
parents 48045176d1c6
children
comparison
equal deleted inserted replaced
6:48045176d1c6 7:017925589d4c
25 class ContactList : public QDockWidget { 25 class ContactList : public QDockWidget {
26 Q_OBJECT 26 Q_OBJECT
27 27
28 public: 28 public:
29 ContactList(QWidget* parent = 0); 29 ContactList(QWidget* parent = 0);
30 void addContact(const ContactT& contact); 30 void addContact(const Contact& contact);
31 void clear(); 31 void clear();
32 private: 32 private:
33 QWidget* mainWidget; 33 QWidget* mainWidget;
34 QListWidget* listWidget; 34 QListWidget* listWidget;
35 QMap<QString, Contact> m_contactMap;
35 }; 36 };
36 37
37 #endif 38 #endif