1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Style fixes.

This commit is contained in:
Christian Muehlhaeuser
2013-04-27 01:20:36 +02:00
parent f4d3afbfd7
commit 511c1aef70

View File

@@ -99,6 +99,7 @@ SpotifyAccount::instance()
return s_instance;
}
SpotifyAccount::SpotifyAccount( const QString& accountId )
: CustomAtticaAccount( accountId )
, m_preventEnabling( false )
@@ -185,6 +186,7 @@ SpotifyAccount::delayedInit()
}
}
void
SpotifyAccount::hookupResolver()
{
@@ -260,6 +262,7 @@ SpotifyAccount::checkForResolver()
return false;
}
void
SpotifyAccount::resolverChanged()
{
@@ -416,6 +419,7 @@ SpotifyAccount::setManualResolverPath( const QString &resolverPath )
}
}
void
SpotifyAccount::starTrack(const QString &artist, const QString &title, const bool starred)
{
@@ -558,7 +562,6 @@ SpotifyAccount::aboutToShow( QAction* action, const playlist_ptr& playlist )
SpotifyPlaylistUpdater*
SpotifyAccount::getPlaylistUpdater( const playlist_ptr plptr )
{
SpotifyPlaylistUpdater* updater = 0;
QList<PlaylistUpdaterInterface*> updaters = plptr->updaters();
foreach ( PlaylistUpdaterInterface* u, updaters )
@@ -571,6 +574,7 @@ SpotifyAccount::getPlaylistUpdater( const playlist_ptr plptr )
return updater;
}
SpotifyPlaylistUpdater*
SpotifyAccount::getPlaylistUpdater( QObject *sender )
{
@@ -610,6 +614,7 @@ SpotifyAccount::getPlaylistUpdater( QObject *sender )
return updater;
}
void
SpotifyAccount::subscribeActionTriggered( QAction* action )
{
@@ -811,7 +816,6 @@ SpotifyAccount::resolverMessage( const QString &msgType, const QVariantMap &msg
return;
}
const QString qid = msg.value( "qid" ).toString();
if ( m_qidToSlotMap.contains( qid ) )
{
@@ -1313,6 +1317,7 @@ SpotifyAccount::startPlaylistSyncWithPlaylist( const QString& msgType, const QVa
}
}
void
SpotifyAccount::playlistCopyCreated( const QString& msgType, const QVariantMap& msg, const QVariant& )
{
@@ -1396,12 +1401,14 @@ SpotifyAccount::sendMessage( const QVariantMap &m, QObject* obj, const QString&
return qid;
}
bool
SpotifyAccount::hasPlaylist(const QString& plId)
{
return m_updaters.contains( plId );
}
Tomahawk::playlist_ptr
SpotifyAccount::playlistForURI(const QString& plId)
{
@@ -1415,12 +1422,14 @@ SpotifyAccount::registerUpdaterForPlaylist( const QString& plId, SpotifyPlaylist
m_updaters[ plId ] = updater;
}
void
SpotifyAccount::registerPlaylistInfo( const QString& name, const QString& plid, const QString &revid, const bool sync, const bool subscribed, const bool owner )
{
m_allSpotifyPlaylists[ plid ] = new SpotifyPlaylistInfo( name, plid, revid, sync, subscribed, owner );
}
void
SpotifyAccount::registerPlaylistInfo( SpotifyPlaylistInfo* info )
{
@@ -1496,7 +1505,6 @@ SpotifyAccount::stopPlaylistSync( SpotifyPlaylistInfo* playlist, bool forceDontD
}
void
SpotifyAccount::loadPlaylists()
{