first release
[groupsms] / sms / selectcontactwidget.h
1 #ifndef SELECTCONTACTWIDGET_H
2 #define SELECTCONTACTWIDGET_H
3
4 #include <QtGui>
5 #include "contactwidget.h"
6 #include "groupwidgetitem.h"
7 #include "itemobserver.h"
8
9 class SelectContactWidget : public ContactWidget, public ItemSelectObserver
10 {
11     Q_OBJECT
12 public:
13     SelectContactWidget( QWidget *parent = 0 );
14     ~SelectContactWidget();
15     void initContactWidget();
16
17     void getGroupContacts( ItemListPtr items );
18
19     QVector<ContactWidgetItem*>* getSelectedContacts();
20
21     void addContactsToGroup(const QString &groupname);
22
23 protected:
24     void destroyContactWidget();
25
26 };
27
28 #endif // SELECTCONTACTWIDGET_H