From 1285456abe4be9a22dc42498a1d0a1a43a0a00be Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 26 Aug 2017 07:49:34 +0200 Subject: Implement dialog for adding WebRadios Just enter a description and an URL. --- webradiodialog.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 webradiodialog.h (limited to 'webradiodialog.h') 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 +#include + +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 -- cgit v1.2.3-70-g09d2