|
a/playlist/playlistohpl.h |
|
b/playlist/playlistohpl.h |
|
... |
|
... |
42 |
signals:
|
42 |
signals:
|
43 |
// All our signals are connected to the OHPlaylist object
|
43 |
// All our signals are connected to the OHPlaylist object
|
44 |
void sig_clear_playlist();
|
44 |
void sig_clear_playlist();
|
45 |
void sig_insert_tracks(const MetaDataList&, int);
|
45 |
void sig_insert_tracks(const MetaDataList&, int);
|
46 |
void sig_tracks_removed(const QList<int>& rows);
|
46 |
void sig_tracks_removed(const QList<int>& rows);
|
47 |
void sig_row_activated(int);
|
|
|
48 |
|
47 |
|
49 |
public slots:
|
48 |
public slots:
|
50 |
|
49 |
|
51 |
// These receives changes from the remote state.
|
50 |
// These receives changes from the remote state.
|
52 |
void onRemoteCurrentTrackid(int id);
|
51 |
void onRemoteCurrentTrackid(int id);
|
53 |
void onRemoteTpState_impl(int, const char *);
|
52 |
void onRemoteTpState_impl(int, const char *);
|
54 |
void onRemoteSecsInSong_impl(quint32 s);
|
53 |
void onRemoteSecsInSong_impl(quint32 s);
|
55 |
|
54 |
|
56 |
// The following are connected to GUI signals, for responding to
|
55 |
// The following are connected to GUI signals, for responding to
|
57 |
// user actions.
|
56 |
// user actions.
|
58 |
void psl_change_track_impl(int idx) {
|
57 |
void psl_change_track_impl(int idx);
|
59 |
qDebug() << "psl_change_track: " << idx;
|
|
|
60 |
emit sig_row_activated(idx);
|
|
|
61 |
}
|
|
|
62 |
void psl_clear_playlist_impl();
|
58 |
void psl_clear_playlist_impl();
|
63 |
void psl_play();
|
59 |
void psl_play();
|
64 |
void psl_pause();
|
60 |
void psl_pause();
|
65 |
void psl_stop();
|
61 |
void psl_stop();
|
66 |
void psl_forward();
|
62 |
void psl_forward();
|