Logo Search packages:      
Sourcecode: qmpdclient version File versions  Download package

Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Private Member Functions

LastFmSubmitter Class Reference

Collaboration diagram for LastFmSubmitter:
Collaboration graph
[legend]

List of all members.

Signals

void infoMsg (QString)

Public Member Functions

 LastFmSubmitter (QObject *parent=0)
void setSong (const MPDSong &s)

Protected Slots

void doHandshake ()
void gotNetReply (QNetworkReply *)
void mpdStateUpdated (bool)
void scrobbleCurrent ()
void scrobbleQueued ()
void sendNowPlaying ()

Protected Member Functions

bool ensureHandshaked ()
QByteArray getPasswordHash ()
void scrobbleNp (MPDSong &s)

Protected Attributes

bool m_awaitingHS
bool m_awaitingScrob
MPDSong m_currentSong
int m_currentStarted
int m_failed
QTimer * m_hardFailTimer
QQueue< QPair< MPDSong, int > > m_lastScrobbledSongs
bool m_lastScrobbleFailed
QNetworkAccessManager * m_netAccess
bool m_npPending
PausableTimerm_npTimer
QString m_npUrl
QTimer * m_scrobbleRetryTimer
PausableTimerm_scrobbleTimer
QString m_session
QQueue< QPair< MPDSong, int > > m_songQueue
QString m_subUrl

Private Member Functions

void createScrobblerCacheFileIfRequired ()
QUrl handshakeUrl ()
void readScrobblerCache ()
void writeScrobblerCache ()

Detailed Description

Definition at line 37 of file lastfmsubmitter.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index