summaryrefslogtreecommitdiffstats
path: root/qtspotifymain.h
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-29 10:57:35 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-29 10:57:35 +0100
commit4213344dd5231c7a49a531c9172a641147d83044 (patch)
tree3c6a87819567c7b806e3f1d9dca7eed16101ddc1 /qtspotifymain.h
parentb7b0ecae6f5ab815e941bd62c00b0f87d2810016 (diff)
Skip to next song when current song has finished playing
Diffstat (limited to 'qtspotifymain.h')
-rw-r--r--qtspotifymain.h6
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;