blob: 4227a9e1c05bceef7197a147c729006fc9192acf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
#ifndef DIRDIALOG_H
#define DIRDIALOG_H
#include <kdialog.h>
class Config;
class QCheckBox;
class KLineEdit;
class KPushButton;
// class KURLRequester;
class KListBox;
/**
* @short The Replay Gain Tool
* @author Daniel Faust <[email protected]>
* @version 0.3
*/
class DirDialog : public KDialog
{
Q_OBJECT
public:
enum Mode {
Convert = 0x0001,
ReplayGain = 0x0002
};
/**
* Constructor
*/
DirDialog( Config*, Mode, QWidget* parent=0, const char* name=0, bool modal=true, WFlags f=0 );
/**
* Destructor
*/
virtual ~DirDialog();
QString directory;
QStringList selectedFileTypes;
bool recursive;
private slots:
void selectDirectoryClicked();
void okClicked();
void selectAllClicked();
void selectNoneClicked();
void recursiveToggled( bool );
private:
// KURLRequester* uDirectory;
KLineEdit* lDirectory;
KPushButton* pDirectory;
KListBox* fileTypes;
KPushButton* pSelectAll;
KPushButton* pSelectNone;
QCheckBox* cRecursive;
KPushButton* pCancel;
KPushButton* pOk;
};
#endif
|