#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