diff options
author | Arno <arno@disconnect.de> | 2017-08-26 07:49:34 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-08-26 07:49:34 +0200 |
commit | 1285456abe4be9a22dc42498a1d0a1a43a0a00be (patch) | |
tree | 1d3475be09492735ab3c30cf043030cc19601ec2 /webradiodialog.h | |
parent | a957512861065d700663ddd522de57925b878eae (diff) | |
download | BeetPlayer-1285456abe4be9a22dc42498a1d0a1a43a0a00be.tar.gz BeetPlayer-1285456abe4be9a22dc42498a1d0a1a43a0a00be.tar.bz2 BeetPlayer-1285456abe4be9a22dc42498a1d0a1a43a0a00be.zip |
Implement dialog for adding WebRadios
Just enter a description and an URL.
Diffstat (limited to 'webradiodialog.h')
-rw-r--r-- | webradiodialog.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/webradiodialog.h b/webradiodialog.h new file mode 100644 index 0000000..96262dd --- /dev/null +++ b/webradiodialog.h @@ -0,0 +1,20 @@ +#ifndef WEBRADIODIALOG_H +#define WEBRADIODIALOG_H + +#include <QDialog> +#include <QLineEdit> + +class WebRadioDialog : public QDialog { + Q_OBJECT + public: + explicit WebRadioDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); + const QString description() { return mDescription->text(); } + const QString url() { return mUrl->text(); } + + private: + QLineEdit *mDescription; + QLineEdit *mUrl; + +}; + +#endif // WEBRADIODIALOG_H |