diff options
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 |