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/optionsrequester.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/optionsrequester.h')
-rwxr-xr-x | src/optionsrequester.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/optionsrequester.h b/src/optionsrequester.h new file mode 100755 index 0000000..594e955 --- /dev/null +++ b/src/optionsrequester.h @@ -0,0 +1,54 @@ + + +#ifndef OPTIONSREQUESTER_H +#define OPTIONSREQUESTER_H + +#include <kdialog.h> + +#include "conversionoptions.h" + +class Options; +class Config; +class QStringList; +class KPushButton; + +/** + * @short Shows an input dialog for selecting conversion options + * @author Daniel Faust <[email protected]> + * @version 0.3 + */ +class OptionsRequester : public KDialog +{ + Q_OBJECT +public: + /** + * Default Constructor + */ + OptionsRequester( Config*, QStringList list, QWidget *parent=0, const char *name=0, bool modal=true, WFlags f=0 ); + + /** + * Default Destructor + */ + virtual ~OptionsRequester(); + + void setProfile( const QString& profile ); + void setFormat( const QString& format ); + void setOutputDirectory( const QString& directory ); + +private slots: + void okClicked(); + +signals: + void setCurrentOptions( const ConversionOptions& ); + void addFiles( QStringList ); + +private: + KPushButton* pOk; + KPushButton* pCancel; + QStringList files; + + Options* options; +}; + +#endif // OPTIONSREQUESTER_H + |