#ifndef VIEWMODECONTROLLER_H
#define VIEWMODECONTROLLER_H
-#include <QUrl>
+#include "dolphin_export.h"
+#include "views/dolphinview.h"
+
#include <QObject>
-#include <libdolphin_export.h>
-#include <views/dolphinview.h>
+#include <QUrl>
/**
* @brief Allows the DolphinView to control the view implementations for the
* 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.