Commit fd9f6466 authored by Matthieu Gallien's avatar Matthieu Gallien 🎵 Committed by Nate Graham
Browse files

move attributes of ViewManager to private implementation

parent 4941cacb
This diff is collapsed.
......@@ -25,6 +25,10 @@
#include <QObject>
#include <QUrl>
#include <memory>
class ViewManagerPrivate;
class ELISALIB_EXPORT ViewManager : public QObject
......@@ -95,6 +99,8 @@ public:
explicit ViewManager(QObject *parent = nullptr);
~ViewManager() override;
void openGridView(ViewManager::ViewsType viewType, ElisaUtils::FilterType filterType, int expectedDepth,
......@@ -183,20 +189,9 @@ private:
void radiosBrowserViewIsLoaded();
QString mCurrentAlbumTitle;
QString mCurrentAlbumAuthor;
QString mCurrentArtistName;
QString mCurrentGenreName;
QString mTargetAlbumTitle;
QString mTargetAlbumAuthor;
QString mTargetArtistName;
QString mTargetGenreName;
QUrl mTargetImageUrl;
qulonglong mTargetDatabaseId = 0;
ViewsType mTargetView = ViewsType::Context;
ViewsType mCurrentView = ViewsType::Context;
ViewManager::AlbumViewStyle mAlbumDiscHeader = ViewManager::NoDiscHeaders;
std::unique_ptr<ViewManagerPrivate> d;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment