From f2cfda2a54780868dfe0af7bd652fcd4906547da Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 1 Mar 2010 19:09:31 +0000 Subject: Added KDE3 version of SoundKonverter git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/soundkonverter@1097614 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/configenvironmentpage.h | 62 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100755 src/configenvironmentpage.h (limited to 'src/configenvironmentpage.h') 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 + +class Config; +class KPushButton; +class KListBox; + +/** +* @short The page for configuring the environment + * @author Daniel Faust + * @version 0.3 + */ +class ConfigEnvironmentPage : public ConfigPageBase +{ + Q_OBJECT +public: + /** + * Default Constructor + */ + ConfigEnvironmentPage( Config*, QMap*, 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* 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 + -- cgit v1.2.1