/* * Copyright (c) 2010 Kevin Smith * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once #include #include #include #include #include #include #include "Swiften/Roster/ContactRosterItem.h" #include "Swift/Controllers/UIEvents/RegroupRosterItemUIEvent.h" namespace Swift { class QtSetGroupsDialog : public QDialog { Q_OBJECT public: QtSetGroupsDialog(ContactRosterItem* contact, const QList& allGroups); virtual ~QtSetGroupsDialog(); boost::shared_ptr getRegroupEvent(); private: ContactRosterItem* contact_; std::map checkBoxes_; QCheckBox* newGroup_; QLineEdit* newGroupName_; }; }