1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-01 03:40:16 +02:00

initial twitter fix

This commit is contained in:
Leo Franchi
2011-12-22 12:34:09 -05:00
parent f74165424f
commit 2d66daec41
3 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ IF( LIBJREEN_FOUND )
ENDIF()
IF( QTWEETLIB_FOUND AND BUILD_GUI )
#ADD_SUBDIRECTORY( twitter )
ADD_SUBDIRECTORY( twitter )
ENDIF()
ADD_SUBDIRECTORY( zeroconf )

View File

@@ -53,7 +53,7 @@ TwitterSipPlugin::TwitterSipPlugin( Tomahawk::Accounts::Account* account )
, m_cachedDirectMessagesSinceId( 0 )
, m_cachedPeers()
, m_keyCache()
, m_state( Disconnected )
, m_state( Tomahawk::Accounts::Account::Disconnected )
{
qDebug() << Q_FUNC_INFO;
@@ -149,7 +149,7 @@ TwitterSipPlugin::disconnectPlugin()
m_configuration[ "cachedpeers" ] = m_cachedPeers;
syncConfig();
m_cachedPeers.empty();
m_state = Disconnected;
m_state = Tomahawk::Accounts::Account::Disconnected;
emit stateChanged( m_state );
}

View File

@@ -48,7 +48,7 @@ public:
virtual ~TwitterSipPlugin() {}
virtual bool isValid() const;
virtual ConnectionState connectionState() const;
virtual Tomahawk::Accounts::Account::ConnectionState connectionState() const;
public slots:
virtual void connectPlugin();
@@ -118,7 +118,7 @@ private:
QVariantHash m_cachedPeers;
QHash< QString, QPixmap > m_cachedAvatars;
QSet<QString> m_keyCache;
ConnectionState m_state;
Tomahawk::Accounts::Account::ConnectionState m_state;
};
#endif