1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-14 13:01:53 +02:00

move code from AudioEngine header to cpp file

This commit is contained in:
Stefan Derkits 2012-04-27 13:29:18 +02:00
parent dab5d51952
commit b92f7f551e
2 changed files with 11 additions and 1 deletions

View File

@ -714,6 +714,16 @@ AudioEngine::setPlaylist( Tomahawk::playlistinterface_ptr playlist )
}
void
AudioEngine::setStopAfterTrack(const query_ptr& query)
{
if ( m_stopAfterTrack != query )
{
m_stopAfterTrack = query; emit stopAfterTrack_changed();
}
}
void
AudioEngine::setCurrentTrack( const Tomahawk::result_ptr& result )
{

View File

@ -96,7 +96,7 @@ public slots:
void setPlaylist( Tomahawk::playlistinterface_ptr playlist );
void setQueue( Tomahawk::playlistinterface_ptr queue ) { m_queue = queue; }
void setStopAfterTrack( const Tomahawk::query_ptr& query ) { if ( m_stopAfterTrack != query ) { m_stopAfterTrack = query; emit stopAfterTrack_changed(); } }
void setStopAfterTrack( const Tomahawk::query_ptr& query );
signals:
void loading( const Tomahawk::result_ptr& track );