mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-11 16:44:05 +02:00
* Coding-style for Source.
This commit is contained in:
@@ -76,6 +76,7 @@ Source::~Source()
|
|||||||
delete d_ptr;
|
delete d_ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Source::isLocal() const
|
Source::isLocal() const
|
||||||
{
|
{
|
||||||
@@ -83,6 +84,7 @@ Source::isLocal() const
|
|||||||
return d->isLocal;
|
return d->isLocal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
Source::isOnline() const
|
Source::isOnline() const
|
||||||
{
|
{
|
||||||
@@ -161,6 +163,7 @@ Source::dbCollection() const
|
|||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QList<collection_ptr>
|
QList<collection_ptr>
|
||||||
Source::collections() const
|
Source::collections() const
|
||||||
{
|
{
|
||||||
@@ -384,6 +387,7 @@ Source::removeCollection( const collection_ptr& c )
|
|||||||
emit collectionRemoved( c );
|
emit collectionRemoved( c );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
Source::id() const
|
Source::id() const
|
||||||
{
|
{
|
||||||
@@ -392,6 +396,7 @@ Source::id() const
|
|||||||
return d->id;
|
return d->id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ControlConnection*
|
ControlConnection*
|
||||||
Source::controlConnection() const
|
Source::controlConnection() const
|
||||||
{
|
{
|
||||||
@@ -400,6 +405,7 @@ Source::controlConnection() const
|
|||||||
return d->cc.data();
|
return d->cc.data();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Source::handleDisconnect( Tomahawk::Accounts::Account*, Tomahawk::Accounts::AccountManager::DisconnectReason reason )
|
Source::handleDisconnect( Tomahawk::Accounts::Account*, Tomahawk::Accounts::AccountManager::DisconnectReason reason )
|
||||||
{
|
{
|
||||||
@@ -555,6 +561,7 @@ Source::trackCount() const
|
|||||||
return d->stats.value( "numfiles", 0 ).toUInt();
|
return d->stats.value( "numfiles", 0 ).toUInt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
query_ptr
|
query_ptr
|
||||||
Source::currentTrack() const
|
Source::currentTrack() const
|
||||||
{
|
{
|
||||||
@@ -578,6 +585,7 @@ Source::playlistInterface()
|
|||||||
return d->playlistInterface;
|
return d->playlistInterface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
QSharedPointer<QMutexLocker>
|
QSharedPointer<QMutexLocker>
|
||||||
Source::acquireLock()
|
Source::acquireLock()
|
||||||
{
|
{
|
||||||
@@ -806,6 +814,7 @@ Source::textStatus() const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DBSyncConnectionState
|
DBSyncConnectionState
|
||||||
Source::state() const
|
Source::state() const
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user