00001 #ifndef INVITATIONSELECTIONWIDGET_H
00002 #define INVITATIONSELECTIONWIDGET_H
00003
00004 #include "ui_invitationselectionwidget.h"
00005
00006 namespace control
00007 {
00008 class InvitationModel;
00009 }
00010
00011 namespace ui
00012 {
00013
00014 class InvitationSelectionWidget : public QWidget
00015 {
00016 Q_OBJECT
00017
00018 public:
00019
00020 InvitationSelectionWidget(QWidget* parent = 0);
00021
00022 void setPendingModel(control::InvitationModel* model);
00023 void setAcceptedModel(control::InvitationModel* model);
00024 QModelIndexList selection() const;
00025
00026 Q_SIGNALS:
00027
00028 void doubleClicked();
00029
00030 private:
00031
00032 Ui::InvitationSelectionWidget widgets;
00033 };
00034
00035 }
00036
00037 #endif