extragear/multimedia/amarok/src
Big O
illogical1 at gmail.com
Tue Apr 22 05:00:50 CEST 2008
On Mon, Apr 21, 2008 at 10:53 PM, Seb Ruiz <ruiz at kde.org> wrote:
> 2008/4/22 Dan Meltzer <hydrogen at notyetimplemented.com>:
> > SVN commit 799704 by dmeltzer:
> >
> > Some fairly service agnostic support for "loving" any track.
> >
> > This commits uses the engine controller (which may not be the best place for it, but not sure where else to put it)
> > to emit a signal when the user "loves" a track. Interested services (or other parts of the application)
> > can listen for this signal and behave as they wish. I'm bypassing the little action buttons for now as I'm
> > not sure the best way to show only the one, but all the time (if lastfm is active). This adds a dbus call /Collection loveTrack
> > as well as a global shortcut (default Meta + L) to love the current playing track.
>
> > --- trunk/extragear/multimedia/amarok/src/EngineController.cpp #799703:799704
> > @@ -318,6 +318,13 @@
> > }
> >
> > void
> > +EngineController::loveTrack()
> > +{
> > + if( m_currentTrack )
> > + emit loveTrack( m_currentTrack );
> > +}
> > +
>
> I'm not sure this belongs in the EngineController. Perhaps in the
> Collection or MainWindow?
>
>
> --
> Seb Ruiz
>
> http://www.sebruiz.net/
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
MainWindow?
--
All your gmail are belong to us.
More information about the Amarok-devel
mailing list