added dialog to add urls

This commit is contained in:
Thomas Frauendorfer 2008-02-10 10:35:57 +01:00
parent 4c7317f71d
commit e1e809d8fb
9 changed files with 219 additions and 4 deletions

View file

@ -27,6 +27,7 @@
#include "playlistmenu.h"
#include "FileDialog.h"
#include "playlistchooser.h"
#include "urlopen.h"
#include <QMouseEvent>
#include <QPaintEvent>
@ -286,6 +287,14 @@ PlaylistWidget::addButtons (void)
Skin::PLS_LST_OPN_1);
}
void
PlaylistWidget::menuAddUrl ()
{
XMMSHandler &client = XMMSHandler::getInstance ();
UrlOpen *tmp = new UrlOpen (this, client.xcollection ());
tmp->show ();
}
void
PlaylistWidget::diveDir (const QString &dir)
{
@ -515,3 +524,5 @@ PlaylistWidget::openPlaylistChooser ()
PlaylistChooser *tmp = new PlaylistChooser (this, client.xcollection ());
tmp->show ();
}