X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=src%2Fconfluence-userdialog.h;fp=src%2Fconfluence-userdialog.h;h=de52f0bbcae6da235efb1682d8a27053f20cdc29;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=0000000000000000000000000000000000000000;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/src/confluence-userdialog.h b/src/confluence-userdialog.h new file mode 100644 index 0000000..de52f0b --- /dev/null +++ b/src/confluence-userdialog.h @@ -0,0 +1,34 @@ +#ifndef CONFLUENCEUSERDIALOG_H +#define CONFLUENCEUSERDIALOG_H + +#include "ui_confluence-userdialog.h" + +#include + +class ConfluenceUser; +class ConfluenceAgent; +class QKeyEvent; + +class ConfluenceUserDialog : public QDialog { + Q_OBJECT + + public: + ConfluenceUserDialog(QWidget *parent = 0); + void keyPressEvent(QKeyEvent *); + int exec(); + ConfluenceUser getSelectedUser(); + + public slots: + void lineEditChanged(); + void itemSelected(QListWidgetItem *); + void updateResultsList(QList ); + + private: + void init(); + Ui::ConfluenceUserDialog ui; + + QList userList; + int currentRow; +}; + +#endif // USERDIALOG_H