Statistics
| Revision:

root / trunk / client / gui_qt / WidgetConfigFolders.h @ 1790

History | View | Annotate | Download (856 Bytes)

1
#ifndef WIDGETCONFIGFOLDERS_H
2
#define WIDGETCONFIGFOLDERS_H
3

                
4
#include 
5
#include 
6
#include "QNNTPGrabGlue.h"
7

                
8
namespace Ui {
9
    class WidgetConfigFolders;
10
}
11

                
12
class WidgetConfigFolders : public QWidget {
13
    Q_OBJECT
14
public:
15
    WidgetConfigFolders(QNNTPGrabGlue *glue, QWidget *parent = 0);
16
    ~WidgetConfigFolders();
17

                
18
protected:
19
    void changeEvent(QEvent *e);
20

                
21
private:
22
    Ui::WidgetConfigFolders *ui;
23
    QDirModel *model;
24
    QNNTPGrabGlue *glue;
25

                
26
private slots:
27
    void configChanged();
28

                
29
    void editDownloadFolder_textChanged(QString text);
30
    void editTempFolder_textChanged(QString text);
31
    void btnChangeDownloadFolder_clicked();
32
    void btnChangeTempFolder_clicked();
33

                
34
    void treeViewDownloadFolder_clicked(QModelIndex idx);
35
    void treeViewTempFolder_clicked(QModelIndex idx);
36
};
37

                
38
#endif // WIDGETCONFIGFOLDERS_H