diff options
Diffstat (limited to 'src/addurldialog.h')
| -rw-r--r-- | src/addurldialog.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/addurldialog.h b/src/addurldialog.h new file mode 100644 index 000000000..943e3869f --- /dev/null +++ b/src/addurldialog.h @@ -0,0 +1,27 @@ +#ifndef ADDURLDIALOG_H +#define ADDURLDIALOG_H + +#include "ui_addurldialog.h" +#include <QDialog> +#include <QPointer> + + +class PlayListModel; + +class AddUrlDialog : public QDialog , private Ui::AddUrlDialog +{ + Q_OBJECT +public: + static void popup(QWidget* parent ,PlayListModel*); +protected: + AddUrlDialog( QWidget * parent = 0, Qt::WindowFlags f = 0 ); + ~AddUrlDialog(); +protected slots: + virtual void accept(); +private: + void setModel(PlayListModel*); + static QPointer<AddUrlDialog> instance; + PlayListModel* m_model; + +}; +#endif //ADDURLDIALOG_H |
