45adba1982985d8559e8b878a27571c865fb0830
[dorian] / foldersdialog.h
1 #ifndef FOLDERSDIALOG_H
2 #define FOLDERSDIALOG_H
3
4 class QStringListModel;
5 class QWidget;
6
7 #include "listwindow.h"
8
9 /** Dialog to manage folders monitored by the library. */
10 class FoldersDialog: public ListWindow
11 {
12     Q_OBJECT
13
14 public:
15     explicit FoldersDialog(QWidget *parent = 0);
16
17 signals:
18
19 public slots:
20     void onAdd();
21     void onRemove();
22     void onRefresh();
23     void onRefreshAll();
24     void onRefreshDone(int added, int removed);
25
26 protected:
27     QStringListModel *model;
28 };
29
30 #endif // FOLDERSDIALOG_H