Added server side browsing via xmmsc_xform_media_browse()
This commit is contained in:
parent
70c6c3832f
commit
95ff470248
12 changed files with 525 additions and 9 deletions
12
TitleBar.cpp
12
TitleBar.cpp
|
@ -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 ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue