Changeset View
Changeset View
Standalone View
Standalone View
src/models/datamodel.h
Show First 20 Lines • Show All 122 Lines • ▼ Show 20 Line(s) | 104 | Q_SIGNALS: | |||
---|---|---|---|---|---|
123 | void needFrequentlyPlayedData(ElisaUtils::PlayListEntryType dataType); | 123 | void needFrequentlyPlayedData(ElisaUtils::PlayListEntryType dataType); | ||
124 | 124 | | |||
125 | void isBusyChanged(); | 125 | void isBusyChanged(); | ||
126 | 126 | | |||
127 | public Q_SLOTS: | 127 | public Q_SLOTS: | ||
128 | 128 | | |||
129 | void tracksAdded(DataModel::ListTrackDataType newData); | 129 | void tracksAdded(DataModel::ListTrackDataType newData); | ||
130 | 130 | | |||
131 | void radiosAdded(DataModel::ListTrackDataType newData); | ||||
132 | | ||||
131 | void trackModified(const DataModel::TrackDataType &modifiedTrack); | 133 | void trackModified(const DataModel::TrackDataType &modifiedTrack); | ||
132 | 134 | | |||
133 | void trackRemoved(qulonglong removedTrackId); | 135 | void trackRemoved(qulonglong removedTrackId); | ||
134 | 136 | | |||
135 | void genresAdded(DataModel::ListGenreDataType newData); | 137 | void genresAdded(DataModel::ListGenreDataType newData); | ||
136 | 138 | | |||
137 | void artistsAdded(DataModel::ListArtistDataType newData); | 139 | void artistsAdded(DataModel::ListArtistDataType newData); | ||
138 | 140 | | |||
Show All 22 Lines | 161 | void initializeByGenreAndArtist(MusicListenersManager *manager, DatabaseInterface *database, | |||
161 | const QString &artist); | 163 | const QString &artist); | ||
162 | 164 | | |||
163 | void initializeRecentlyPlayed(MusicListenersManager *manager, DatabaseInterface *database, | 165 | void initializeRecentlyPlayed(MusicListenersManager *manager, DatabaseInterface *database, | ||
164 | ElisaUtils::PlayListEntryType modelType); | 166 | ElisaUtils::PlayListEntryType modelType); | ||
165 | 167 | | |||
166 | void initializeFrequentlyPlayed(MusicListenersManager *manager, DatabaseInterface *database, | 168 | void initializeFrequentlyPlayed(MusicListenersManager *manager, DatabaseInterface *database, | ||
167 | ElisaUtils::PlayListEntryType modelType); | 169 | ElisaUtils::PlayListEntryType modelType); | ||
168 | 170 | | |||
169 | private Q_SLOTS: | 171 | private Q_SLOTS: | ||
astippich: just call it radioModified for consistency with the others | |||||
170 | 172 | | |||
171 | void cleanedDatabase(); | 173 | void cleanedDatabase(); | ||
172 | 174 | | |||
173 | private: | 175 | private: | ||
174 | 176 | | |||
175 | int trackIndexFromId(qulonglong id) const; | 177 | int trackIndexFromId(qulonglong id) const; | ||
176 | 178 | | |||
177 | void connectModel(DatabaseInterface *database); | 179 | void connectModel(DatabaseInterface *database); | ||
Show All 13 Lines |
just call it radioModified for consistency with the others