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/configenvironmentpage.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/configenvironmentpage.h')
-rwxr-xr-x | src/configenvironmentpage.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/configenvironmentpage.h b/src/configenvironmentpage.h new file mode 100755 index 0000000..37b0c2e --- /dev/null +++ b/src/configenvironmentpage.h @@ -0,0 +1,62 @@ + + +#ifndef CONFIGENVIRONMENTPAGE_H +#define CONFIGENVIRONMENTPAGE_H + +#include <configpagebase.h> + +class Config; +class KPushButton; +class KListBox; + +/** +* @short The page for configuring the environment + * @author Daniel Faust <[email protected]> + * @version 0.3 + */ +class ConfigEnvironmentPage : public ConfigPageBase +{ + Q_OBJECT +public: + /** + * Default Constructor + */ + ConfigEnvironmentPage( Config*, QMap<QString, QString>*, QWidget *parent=0, const char *name=0 ); + + /** + * Default Destructor + */ + virtual ~ConfigEnvironmentPage(); + +private: + KListBox* lDirectories; + KPushButton* pDirUp; + KPushButton* pDirDown; + KPushButton* pAddDirectory; + KPushButton* pRemoveDirectory; + KListBox* lFoundPrograms; + KListBox* lNotFoundPrograms; + + Config* config; + + QMap<QString, QString>* binaries; + +public slots: + void resetDefaults(); + void saveSettings(); + +private slots: + void directoriesSelectionChanged( int ); + void dirUp(); + void dirDown(); + void addDirectory(); + void removeDirectory(); + void refill(); + +signals: + void rebuildBackendsPage(); + +}; + +#endif // CONFIGENVIRONMENTPAGE_H + |