summaryrefslogtreecommitdiffstats
path: root/webradiodialog.h
blob: 96262dd66170dc27628296f642f00fb2dd296d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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