Changeset View
Changeset View
Standalone View
Standalone View
src/modeldataloader.h
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Line(s) | 100 | public Q_SLOTS: | |||
---|---|---|---|---|---|
117 | 117 | | |||
118 | void loadDataByFileName(ElisaUtils::PlayListEntryType dataType, | 118 | void loadDataByFileName(ElisaUtils::PlayListEntryType dataType, | ||
119 | const QUrl &fileName); | 119 | const QUrl &fileName); | ||
120 | 120 | | |||
121 | void loadRecentlyPlayedData(ElisaUtils::PlayListEntryType dataType); | 121 | void loadRecentlyPlayedData(ElisaUtils::PlayListEntryType dataType); | ||
122 | 122 | | |||
123 | void loadFrequentlyPlayedData(ElisaUtils::PlayListEntryType dataType); | 123 | void loadFrequentlyPlayedData(ElisaUtils::PlayListEntryType dataType); | ||
124 | 124 | | |||
125 | void updateRadioData(const ModelDataLoader::TrackDataType &trackDataType); | 125 | private Q_SLOTS: | ||
126 | | ||||
127 | void deleteRadioData(qulonglong radioId); | | |||
128 | | ||||
129 | private: | | |||
130 | 126 | | |||
131 | void databaseTracksAdded(const ListTrackDataType &newData); | 127 | void databaseTracksAdded(const ListTrackDataType &newData); | ||
132 | 128 | | |||
133 | void databaseTrackModified(const TrackDataType &modifiedTrack); | | |||
134 | | ||||
135 | void databaseTrackRemoved(qulonglong removedTrackId); | | |||
136 | | ||||
137 | void databaseGenresAdded(const ListGenreDataType &newData); | | |||
138 | | ||||
139 | void databaseArtistsAdded(const ListArtistDataType &newData); | 129 | void databaseArtistsAdded(const ListArtistDataType &newData); | ||
140 | 130 | | |||
141 | void databaseArtistRemoved(qulonglong removedDatabaseId); | | |||
142 | | ||||
143 | void databaseAlbumsAdded(const ListAlbumDataType &newData); | 131 | void databaseAlbumsAdded(const ListAlbumDataType &newData); | ||
144 | 132 | | |||
145 | void databaseAlbumRemoved(qulonglong removedDatabaseId); | | |||
146 | | ||||
147 | void databaseAlbumModified(const AlbumDataType &modifiedAlbum); | | |||
148 | | ||||
149 | void databaseRadioAdded(const TrackDataType radio); | | |||
150 | | ||||
151 | void databaseRadioModified(const TrackDataType radio); | | |||
152 | | ||||
153 | void databaseRadioRemoved(qulonglong radioId); | | |||
154 | | ||||
155 | private: | 133 | private: | ||
156 | 134 | | |||
157 | std::unique_ptr<ModelDataLoaderPrivate> d; | 135 | std::unique_ptr<ModelDataLoaderPrivate> d; | ||
158 | 136 | | |||
159 | }; | 137 | }; | ||
160 | 138 | | |||
161 | #endif // MODELDATALOADER_H | 139 | #endif // MODELDATALOADER_H |