Commit d696f171e272e4985f50be5e4e0da3fc1c0a3877

  • avatar
  • Marco Gulino <marco.gulino @gm…l.com>
  • Wed Mar 22 14:49:18 CET 2006
reverting previous wrong commit

svn path=/tags/amarok/1.3.8/multimedia/amarok/; revision=521392
  
512512
513513 void DcopPlaylistHandler::playMedia( const KURL &url )
514514 {
515 Playlist::instance()->insertMedia( url, Playlist::DirectPlay | Playlist::Unique);
515 /* ContextBrowser::openURLRequest is necessary for konquisidebar */
516 ContextBrowser::instance()->openURLRequest( url );
516517 }
517518
518519 void DcopPlaylistHandler::popupMessage(const QString& msg)
  
100100 amarokDCOP->attach();
101101 playerStub=new AmarokPlayerInterface_stub( amarokDCOP, "amarok", "player");
102102 playlistStub=new AmarokPlaylistInterface_stub( amarokDCOP, "amarok", "playlist");
103 contextStub = new AmarokContextBrowserInterface_stub (amarokDCOP, "amarok", "contextbrowser");
104
105103
106104 KToolBar* toolBar=new KToolBar(widget, "PlayerControls");
107105// toolBar->setMaximumHeight(48);
  
7878 QSlider* vol_slider;
7979 AmarokPlayerInterface_stub *playerStub;
8080 AmarokPlaylistInterface_stub *playlistStub;
81 AmarokContextBrowserInterface_stub *contextStub;
8281
8382public slots:
8483 void updateBrowser(const QString&);
9191 void volChanged(int vol);
9292 void openURLRequest( const KURL & );
9393 void checkForAmarok();
94 void lyrics() { contextStub->showLyrics(); }
95 void currentTrack() { contextStub->showCurrentTrack(); }
96 void wiki() { contextStub->showWiki(); }
97 void cbHome() { contextStub->showHome(); }
94 void cbHome() { openURLRequest( KURL("show:home") ) ; }
95 void lyrics() { openURLRequest( KURL("show:lyrics") ) ; }
96 void currentTrack() { openURLRequest( KURL("show:context") ) ; }
97 void wiki() { openURLRequest( KURL("show:wiki") ) ; }
9898};
9999
100100#endif