diff options
Diffstat (limited to 'qtspotifymain.h')
-rw-r--r-- | qtspotifymain.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qtspotifymain.h b/qtspotifymain.h index cfae6fc..179a3d3 100644 --- a/qtspotifymain.h +++ b/qtspotifymain.h @@ -74,13 +74,15 @@ public: QtSpotifyMain(QWidget *parent = 0); ~QtSpotifyMain(); - void setNewTrack(track *t); // Just a dummy so we can use the property mechanism to call the debug() function QString debuggingMessage() const { return QString(); } bool debugging() const { return m_debugging; } +protected: + bool event(QEvent *event); + private slots: void logIn(); void endSession(); @@ -111,6 +113,8 @@ private: void initPlayListHandlingState(QState *); void initPlayBackHandlingState(QState *); void initPlayingState(QState *); + void setNewTrack(track *t); + void selectTrack(track *t); Ui_QtSpotifyMain m_ui; despotify_session *m_session; |