X-Git-Url: http://git.maemo.org/git/?p=groupsms;a=blobdiff_plain;f=sms%2Fselectcontactwidget.h;fp=sms%2Fselectcontactwidget.h;h=49b9a15b38802b3b767cf2b29b85e0d1124eb6b0;hp=0000000000000000000000000000000000000000;hb=7f26d7b5e6ae5759bb11942a69a9ada134744e98;hpb=16b4a0a6faad751e05df97f44acef4990d87a39a diff --git a/sms/selectcontactwidget.h b/sms/selectcontactwidget.h new file mode 100644 index 0000000..49b9a15 --- /dev/null +++ b/sms/selectcontactwidget.h @@ -0,0 +1,28 @@ +#ifndef SELECTCONTACTWIDGET_H +#define SELECTCONTACTWIDGET_H + +#include +#include "contactwidget.h" +#include "groupwidgetitem.h" +#include "itemobserver.h" + +class SelectContactWidget : public ContactWidget, public ItemSelectObserver +{ + Q_OBJECT +public: + SelectContactWidget( QWidget *parent = 0 ); + ~SelectContactWidget(); + void initContactWidget(); + + void getGroupContacts( ItemListPtr items ); + + QVector* getSelectedContacts(); + + void addContactsToGroup(const QString &groupname); + +protected: + void destroyContactWidget(); + +}; + +#endif // SELECTCONTACTWIDGET_H