summaryrefslogtreecommitdiffstats
path: root/src/configbackendspage.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/configbackendspage.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/configbackendspage.h')
-rwxr-xr-xsrc/configbackendspage.h81
1 files changed, 81 insertions, 0 deletions
diff --git a/src/configbackendspage.h b/src/configbackendspage.h
new file mode 100755
index 0000000..27071f2
--- /dev/null
+++ b/src/configbackendspage.h
@@ -0,0 +1,81 @@
+
+
+#ifndef CONFIGBACKENDSPAGE_H
+#define CONFIGBACKENDSPAGE_H
+
+#include <configpagebase.h>
+
+#include <qstringlist.h>
+
+class Config;
+class KComboBox;
+class KScrollView;
+class QGroupBox;
+class QGridLayout;
+class QLabel;
+class QSlider;
+class QCheckBox;
+class QVBox;
+
+/**
+* @short The page for configuring the environment
+ * @author Daniel Faust <[email protected]>
+ * @version 0.3
+ */
+class ConfigBackendsPage : public ConfigPageBase
+{
+ Q_OBJECT
+public:
+ /**
+ * Default Constructor
+ */
+ ConfigBackendsPage( Config*, QMap<QString, QString>*, QWidget *parent=0, const char *name=0 );
+
+ /**
+ * Default Destructor
+ */
+ virtual ~ConfigBackendsPage();
+
+private:
+ struct FormatOptions
+ {
+ // TODO remove the string lists
+ QString format;
+ QGroupBox* group;
+ QGridLayout* grid;
+ QLabel* lEncoder;
+ KComboBox* cEncoder;
+ QLabel* lStrength;
+ QSlider* sStrength;
+ QLabel* lStrengthDisplay;
+ QLabel* lDecoder;
+ KComboBox* cDecoder;
+ QLabel* lReplayGain;
+ KComboBox* cReplayGain;
+ QCheckBox* cInternalReplayGain;
+ };
+
+ QValueList<FormatOptions> formatOptions;
+
+ QGridLayout* grid;
+ KScrollView* scrollView;
+ QVBox* box;
+
+ KComboBox* cRipper;
+
+ Config* config;
+
+ QMap<QString, QString>* binaries;
+
+public slots:
+ void resetDefaults();
+ void saveSettings();
+ void rebuild();
+ void refill();
+ void encoderChanged();
+ void strengthChanged();
+
+};
+
+#endif // CONFIGBACKENDSPAGE_H
+