X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/fa988586bc923b33497cbc97aaac07fc93a4ca83..299e5f28593bedb8eb84888a2d67d8491afcc8a1:/src/views/viewmodecontroller.h diff --git a/src/views/viewmodecontroller.h b/src/views/viewmodecontroller.h index 9ea717ad3..2cc5c6c91 100644 --- a/src/views/viewmodecontroller.h +++ b/src/views/viewmodecontroller.h @@ -20,10 +20,11 @@ #ifndef VIEWMODECONTROLLER_H #define VIEWMODECONTROLLER_H -#include +#include "dolphin_export.h" +#include "views/dolphinview.h" + #include -#include -#include +#include /** * @brief Allows the DolphinView to control the view implementations for the @@ -33,13 +34,13 @@ * connect to signals of the ViewModeController to react on changes. The view * implementations get only read-access to the ViewModeController. */ -class LIBDOLPHINPRIVATE_EXPORT ViewModeController : public QObject +class DOLPHIN_EXPORT ViewModeController : public QObject { Q_OBJECT public: - explicit ViewModeController(QObject* parent = 0); - virtual ~ViewModeController(); + explicit ViewModeController(QObject* parent = nullptr); + ~ViewModeController() override; /** * @return URL that is shown by the view mode implementation.