Added server side browsing via xmmsc_xform_media_browse()

This commit is contained in:
Tobias Rundstrom 2006-08-23 17:16:38 -04:00
parent 70c6c3832f
commit 95ff470248
12 changed files with 525 additions and 9 deletions

View file

@ -5,6 +5,7 @@
#include "MedialibWindow.h"
#include "SettingsWindow.h"
#include "Button.h"
#include "BrowseDialog.h"
#include <QMenu>
@ -45,6 +46,10 @@ TitleBar::showMenu (void)
a->setShortcut (tr ("Alt+M"));
connect (a, SIGNAL (triggered ()), this, SLOT (showMlib ()));
qm.addAction (a);
a = new QAction (tr ("Server-side browser"), this);
a->setShortcut (tr ("Alt+S"));
connect (a, SIGNAL (triggered ()), this, SLOT (showServerB ()));
qm.addAction (a);
qm.addSeparator ();
a = new QAction (tr ("Theme settings"), this);
a->setShortcut (tr ("Alt+T"));
@ -76,6 +81,13 @@ TitleBar::showMlib ()
*/
}
void
TitleBar::showServerB ()
{
BrowseDialog *bd = new BrowseDialog (window ());
bd->show ();
}
void
TitleBar::showSettings ()
{