aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/uihelper.cpp
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-12-22 19:16:29 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2012-12-22 19:16:29 +0000
commitaecf8592751e7beb682fcd5bc8c5b1d38335fa84 (patch)
treecf267363944faafb7b29370d27f6ae19fbcc7647 /src/qmmpui/uihelper.cpp
parent954146ff9b69591f0cf3895e96922bb55ad88502 (diff)
downloadqmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.tar.gz
qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.tar.bz2
qmmp-aecf8592751e7beb682fcd5bc8c5b1d38335fa84.zip
libqmmpui: added URL dialog implementation, added PlayListDownloader
class git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3089 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/uihelper.cpp')
-rw-r--r--src/qmmpui/uihelper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qmmpui/uihelper.cpp b/src/qmmpui/uihelper.cpp
index 2dfb7b9e8..e2984619f 100644
--- a/src/qmmpui/uihelper.cpp
+++ b/src/qmmpui/uihelper.cpp
@@ -31,6 +31,7 @@
#include "generalfactory.h"
#include "jumptotrackdialog_p.h"
#include "aboutdialog_p.h"
+#include "addurldialog_p.h"
#include "uihelper.h"
UiHelper *UiHelper::m_instance = 0;
@@ -145,6 +146,11 @@ void UiHelper::addDirectory(QWidget *parent, PlayListModel *model)
tr("Choose a directory"));
}
+void UiHelper::addUrl(QWidget *parent, PlayListModel *model)
+{
+ AddUrlDialog::popup(parent, model);
+}
+
void UiHelper::loadPlayList(QWidget *parent, PlayListModel *model)
{
if(PlayListParser::nameFilters().isEmpty())