aboutsummaryrefslogtreecommitdiff
path: root/src/addurldialog.h
diff options
context:
space:
mode:
authorvovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38>2007-07-01 19:48:44 +0000
committervovanec <vovanec@90c681e8-e032-0410-971d-27865f9a5e38>2007-07-01 19:48:44 +0000
commit5ab0f82f0d26060c7066e8bf2e3600327bb0768a (patch)
tree43fd27cb822dca61c454f3b3f3c11fcb2ffcd535 /src/addurldialog.h
parentfa29b2e1deab2bd08077a081a7db663456fcf42b (diff)
downloadqmmp-5ab0f82f0d26060c7066e8bf2e3600327bb0768a.tar.gz
qmmp-5ab0f82f0d26060c7066e8bf2e3600327bb0768a.tar.bz2
qmmp-5ab0f82f0d26060c7066e8bf2e3600327bb0768a.zip
added url add dialog
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@19 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/addurldialog.h')
-rw-r--r--src/addurldialog.h27
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