summaryrefslogtreecommitdiffstats
path: root/src/dirdialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 19:09:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-01 19:09:31 +0000
commitf2cfda2a54780868dfe0af7bd652fcd4906547da (patch)
treec6ac23545528f5701818424f2af5f79ce3665e6c /src/dirdialog.h
downloadsoundkonverter-f2cfda2a54780868dfe0af7bd652fcd4906547da.tar.gz
soundkonverter-f2cfda2a54780868dfe0af7bd652fcd4906547da.zip
Added KDE3 version of SoundKonverter
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1097614 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/dirdialog.h')
-rwxr-xr-xsrc/dirdialog.h65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/dirdialog.h b/src/dirdialog.h
new file mode 100755
index 0000000..4227a9e
--- /dev/null
+++ b/src/dirdialog.h
@@ -0,0 +1,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