]> git.sven.stormbind.net Git - sven/vym.git/blob - src/confluence-userdialog.h
Replace Pierre as the maintainer
[sven/vym.git] / src / confluence-userdialog.h
1 #ifndef CONFLUENCEUSERDIALOG_H
2 #define CONFLUENCEUSERDIALOG_H
3
4 #include "ui_confluence-userdialog.h"
5
6 #include <QStringList>
7
8 class ConfluenceUser;
9 class ConfluenceAgent;
10 class QKeyEvent;
11
12 class ConfluenceUserDialog : public QDialog {
13     Q_OBJECT
14
15   public:
16     ConfluenceUserDialog(QWidget *parent = 0);
17     void keyPressEvent(QKeyEvent *);
18     int exec();
19     ConfluenceUser getSelectedUser();
20
21   public slots:
22     void lineEditChanged();
23     void itemSelected(QListWidgetItem *);
24     void updateResultsList(QList <ConfluenceUser>);
25
26   private:
27     void init();
28     Ui::ConfluenceUserDialog ui;
29
30     QList <ConfluenceUser> userList;
31     int currentRow;
32 };
33
34 #endif // USERDIALOG_H