aboutsummaryrefslogtreecommitdiff
path: root/src/addurldialog.h
blob: 943e3869f8b81c3f692a7e47c3f6e17eaef81d34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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