diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-03-20 16:29:29 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-03-20 16:29:29 +0000 |
| commit | 33f5fbf18d1b39a5a7737d8e818027af7965e957 (patch) | |
| tree | b582eea9a7f86e48a0966c3e41c51af816ace161 /src/ui/addurldialog.h | |
| parent | a36551de052fab40e9392d2d9673e0d7859637d6 (diff) | |
| download | qmmp-33f5fbf18d1b39a5a7737d8e818027af7965e957.tar.gz qmmp-33f5fbf18d1b39a5a7737d8e818027af7965e957.tar.bz2 qmmp-33f5fbf18d1b39a5a7737d8e818027af7965e957.zip | |
playlist support for the url dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@286 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/addurldialog.h')
| -rw-r--r-- | src/ui/addurldialog.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/addurldialog.h b/src/ui/addurldialog.h index e3bcdf22e..fdb0f61ce 100644 --- a/src/ui/addurldialog.h +++ b/src/ui/addurldialog.h @@ -25,8 +25,10 @@ #include <QDialog> #include <QPointer> +class QHttp; class PlayListModel; +class QHttpResponseHeader; /** @author Vladimir Kuznetsov <vovanec@gmail.com> @@ -37,16 +39,24 @@ 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 slots: + void processResponse(int, bool); + void readResponse(const QHttpResponseHeader&); + private: void setModel(PlayListModel*); static QPointer<AddUrlDialog> instance; PlayListModel* m_model; QStringList m_history; + QHttp *m_http; }; #endif //ADDURLDIALOG_H |
