mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 03:10:12 +02:00
* Fixed incompatible signal/slot types.
This commit is contained in:
committed by
Michael Zanetti
parent
61a99449f3
commit
42c0199f53
@@ -508,7 +508,7 @@ Source::scanningFinished( bool updateGUI )
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Source::onStateChanged( DBSyncConnectionState newstate, DBSyncConnectionState oldstate, const QString& info )
|
Source::onStateChanged( Tomahawk::DBSyncConnectionState newstate, Tomahawk::DBSyncConnectionState oldstate, const QString& info )
|
||||||
{
|
{
|
||||||
Q_D( Source );
|
Q_D( Source );
|
||||||
|
|
||||||
|
@@ -144,7 +144,7 @@ private slots:
|
|||||||
void setOffline();
|
void setOffline();
|
||||||
void setOnline();
|
void setOnline();
|
||||||
|
|
||||||
void onStateChanged( DBSyncConnectionState newstate, DBSyncConnectionState oldstate, const QString& info );
|
void onStateChanged( Tomahawk::DBSyncConnectionState newstate, Tomahawk::DBSyncConnectionState oldstate, const QString& info );
|
||||||
|
|
||||||
void onPlaybackStarted( const Tomahawk::track_ptr& track, unsigned int duration );
|
void onPlaybackStarted( const Tomahawk::track_ptr& track, unsigned int duration );
|
||||||
void onPlaybackFinished( const Tomahawk::track_ptr& track, const Tomahawk::PlaybackLog& log );
|
void onPlaybackFinished( const Tomahawk::track_ptr& track, const Tomahawk::PlaybackLog& log );
|
||||||
|
@@ -37,5 +37,6 @@ enum DBSyncConnectionState
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Q_DECLARE_METATYPE( Tomahawk::DBSyncConnectionState )
|
||||||
|
|
||||||
#endif // DBSYNCCONNECTIONSTATE_H
|
#endif // DBSYNCCONNECTIONSTATE_H
|
||||||
|
@@ -56,7 +56,7 @@ DBSyncConnection::DBSyncConnection( Servent* s, const source_ptr& src )
|
|||||||
|
|
||||||
// Be aware of namespaces in these signals/slots!
|
// Be aware of namespaces in these signals/slots!
|
||||||
connect( this, SIGNAL( stateChanged( Tomahawk::DBSyncConnectionState, Tomahawk::DBSyncConnectionState, QString ) ),
|
connect( this, SIGNAL( stateChanged( Tomahawk::DBSyncConnectionState, Tomahawk::DBSyncConnectionState, QString ) ),
|
||||||
m_source.data(), SLOT( onStateChanged( DBSyncConnectionState, DBSyncConnectionState, QString ) ) );
|
m_source.data(), SLOT( onStateChanged( Tomahawk::DBSyncConnectionState, Tomahawk::DBSyncConnectionState, QString ) ) );
|
||||||
connect( m_source.data(), SIGNAL( commandsFinished() ),
|
connect( m_source.data(), SIGNAL( commandsFinished() ),
|
||||||
this, SLOT( lastOpApplied() ) );
|
this, SLOT( lastOpApplied() ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user