Olivier SOLDANO | dd87866 | 2017-03-27 16:00:06 -0400 | [diff] [blame] | 1 | #ifndef SENDCONTACTREQUESTWIDGET_H |
| 2 | #define SENDCONTACTREQUESTWIDGET_H |
| 3 | |
| 4 | #include <QWidget> |
| 5 | |
| 6 | namespace Ui { |
| 7 | class SendContactRequestWidget; |
| 8 | } |
| 9 | |
| 10 | class SendContactRequestWidget : public QWidget |
| 11 | { |
| 12 | Q_OBJECT |
| 13 | |
| 14 | public: |
| 15 | explicit SendContactRequestWidget(QWidget *parent = 0); |
| 16 | ~SendContactRequestWidget(); |
| 17 | void setup(const QModelIndex& nodeIdx); |
| 18 | void sendCR(const QModelIndex& nodeIdx); |
| 19 | |
| 20 | private: |
| 21 | QMetaObject::Connection sendCRClickedConnection_; |
| 22 | Ui::SendContactRequestWidget *ui; |
| 23 | |
| 24 | signals: |
| 25 | void sendCRclicked(); |
| 26 | }; |
| 27 | |
| 28 | #endif // SENDCONTACTREQUESTWIDGET_H |