]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/viewmodecontroller.h
Merge branch 'release/20.04'
[dolphin.git] / src / views / viewmodecontroller.h
index 9ea717ad34c1ae6bb258828884c953641bb67cea..2cc5c6c9165225c6f42d88c08777c3235f70d18a 100644 (file)
 #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.