Changeset View
Changeset View
Standalone View
Standalone View
src/viewmanager.h
Show All 39 Lines | 33 | enum ViewsType { | |||
---|---|---|---|---|---|
40 | AllGenres, | 40 | AllGenres, | ||
41 | AllArtistsFromGenre, | 41 | AllArtistsFromGenre, | ||
42 | OneArtistFromGenre, | 42 | OneArtistFromGenre, | ||
43 | OneAlbumFromArtistAndGenre, | 43 | OneAlbumFromArtistAndGenre, | ||
44 | FrequentlyPlayedTracks, | 44 | FrequentlyPlayedTracks, | ||
45 | RecentlyPlayedTracks, | 45 | RecentlyPlayedTracks, | ||
46 | FilesBrowser, | 46 | FilesBrowser, | ||
47 | Context, | 47 | Context, | ||
48 | RadiosBrowser | 48 | RadiosBrowser, | ||
49 | UpnpServers, | ||||
49 | }; | 50 | }; | ||
50 | 51 | | |||
51 | Q_ENUM(ViewsType) | 52 | Q_ENUM(ViewsType) | ||
52 | 53 | | |||
53 | enum SortOrder { | 54 | enum SortOrder { | ||
54 | NoSort, | 55 | NoSort, | ||
55 | SortAscending, | 56 | SortAscending, | ||
56 | SortDescending, | 57 | SortDescending, | ||
▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 117 | private: | |||
124 | void openAllArtists(const QString &mainTitle, const QUrl &imageUrl); | 125 | void openAllArtists(const QString &mainTitle, const QUrl &imageUrl); | ||
125 | 126 | | |||
126 | void openAllTracks(const QString &mainTitle, const QUrl &imageUrl); | 127 | void openAllTracks(const QString &mainTitle, const QUrl &imageUrl); | ||
127 | 128 | | |||
128 | void openAllGenres(const QString &mainTitle, const QUrl &imageUrl); | 129 | void openAllGenres(const QString &mainTitle, const QUrl &imageUrl); | ||
129 | 130 | | |||
130 | void openFilesBrowser(const QString &mainTitle, const QUrl &imageUrl); | 131 | void openFilesBrowser(const QString &mainTitle, const QUrl &imageUrl); | ||
131 | 132 | | |||
133 | void openUpnpServers(const QString &mainTitle, const QUrl &imageUrl); | ||||
134 | | ||||
132 | void openContextView(const QString &mainTitle, const QUrl &imageUrl); | 135 | void openContextView(const QString &mainTitle, const QUrl &imageUrl); | ||
133 | 136 | | |||
134 | void openRadiosBrowser(const QString &mainTitle, const QUrl &imageUrl); | 137 | void openRadiosBrowser(const QString &mainTitle, const QUrl &imageUrl); | ||
135 | 138 | | |||
136 | void openOneAlbum(const QString &albumTitle, const QString &albumAuthor, | 139 | void openOneAlbum(const QString &albumTitle, const QString &albumAuthor, | ||
137 | const QUrl &albumCover, qulonglong albumDatabaseId, ViewManager::AlbumViewStyle albumDiscHeader); | 140 | const QUrl &albumCover, qulonglong albumDatabaseId, ViewManager::AlbumViewStyle albumDiscHeader); | ||
138 | 141 | | |||
139 | void openOneArtist(const QString &artistName, const QUrl &artistImageUrl, qulonglong artistDatabaseId); | 142 | void openOneArtist(const QString &artistName, const QUrl &artistImageUrl, qulonglong artistDatabaseId); | ||
Show All 19 Lines | |||||
159 | void allArtistsFromGenreViewIsLoaded(); | 162 | void allArtistsFromGenreViewIsLoaded(); | ||
160 | 163 | | |||
161 | void filesBrowserViewIsLoaded(); | 164 | void filesBrowserViewIsLoaded(); | ||
162 | 165 | | |||
163 | void contextViewIsLoaded(); | 166 | void contextViewIsLoaded(); | ||
164 | 167 | | |||
165 | void radiosBrowserViewIsLoaded(); | 168 | void radiosBrowserViewIsLoaded(); | ||
166 | 169 | | |||
170 | void upnpServersIsLoaded(); | ||||
171 | | ||||
167 | QString mCurrentAlbumTitle; | 172 | QString mCurrentAlbumTitle; | ||
168 | QString mCurrentAlbumAuthor; | 173 | QString mCurrentAlbumAuthor; | ||
169 | QString mCurrentArtistName; | 174 | QString mCurrentArtistName; | ||
170 | QString mCurrentGenreName; | 175 | QString mCurrentGenreName; | ||
171 | 176 | | |||
172 | QString mTargetAlbumTitle; | 177 | QString mTargetAlbumTitle; | ||
173 | QString mTargetAlbumAuthor; | 178 | QString mTargetAlbumAuthor; | ||
174 | QString mTargetArtistName; | 179 | QString mTargetArtistName; | ||
Show All 10 Lines |