diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-01 19:09:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-03-01 19:09:31 +0000 |
commit | f2cfda2a54780868dfe0af7bd652fcd4906547da (patch) | |
tree | c6ac23545528f5701818424f2af5f79ce3665e6c /src/configgeneralpage.h | |
download | soundkonverter-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/configgeneralpage.h')
-rwxr-xr-x | src/configgeneralpage.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/configgeneralpage.h b/src/configgeneralpage.h new file mode 100755 index 0000000..270cb47 --- /dev/null +++ b/src/configgeneralpage.h @@ -0,0 +1,69 @@ + + +#ifndef CONFIGGENERALPAGE_H +#define CONFIGGENERALPAGE_H + +#include <configpagebase.h> + +class Config; +class QCheckBox; +class KComboBox; +class KIntSpinBox; +class KLineEdit; +class KPushButton; + +/** + * @short The page for the general configuration + * @author Daniel Faust <[email protected]> + * @version 0.3 + */ +class ConfigGeneralPage : public ConfigPageBase +{ + Q_OBJECT +public: + /** + * Default Constructor + */ + ConfigGeneralPage( Config*, QWidget *parent=0, const char *name=0 ); + + /** + * Default Destructor + */ + virtual ~ConfigGeneralPage(); + +private: + KComboBox* cStartTab; + KComboBox* cDefaultProfile; + QStringList sDefaultProfile; + KComboBox* cDefaultFormat; + QStringList sDefaultFormat; +// KLineEdit* lDir; + //KPushButton* pDirInfo; +// KPushButton* pDirSelect; + KComboBox* cPriority; + QStringList sPriority; + QCheckBox* cUseVFATNames; + QStringList sConflictHandling; + KComboBox* cConflictHandling; + KIntSpinBox* iNumFiles; + KIntSpinBox* iUpdateDelay; + QCheckBox* cAskForNewOptions; + QCheckBox* cExecuteUserScript; + + Config* config; + + int profileIndex( const QString& string ); + int formatIndex( const QString& string ); + +public slots: + void resetDefaults(); + void saveSettings(); + +private slots: +// void selectDir(); + void profileChanged(); + +}; + +#endif // CONFIGGENERALPAGE_H + |