]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinnewfilemenuobserver.h
Fix minor typos
[dolphin.git] / src / views / dolphinnewfilemenuobserver.h
index 239476eb9d2193d6f058fdc8be77011b6e88e096..6bb42ed824d82fe7688891b5350d04af591aea9b 100644 (file)
 #ifndef DOLPHINNEWFILEMENUOBSERVER_H
 #define DOLPHINNEWFILEMENUOBSERVER_H
 
-#include <QObject>
+#include "dolphin_export.h"
 
-#include "libdolphin_export.h"
+#include <QObject>
 
 class DolphinNewFileMenu;
-class KUrl;
 
 /**
  * @brief Allows to observe new file items that have been created
@@ -34,7 +33,7 @@ class KUrl;
  * As soon as a DolphinNewFileMenu instance created a new item,
  * the observer will emit the signal itemCreated().
  */
-class LIBDOLPHINPRIVATE_EXPORT DolphinNewFileMenuObserver : public QObject
+class DOLPHIN_EXPORT DolphinNewFileMenuObserver : public QObject
 {
     Q_OBJECT
 
@@ -44,12 +43,12 @@ public:
     void detach(const DolphinNewFileMenu* menu);
 
 signals:
-    void itemCreated(const KUrl& url);
+    void itemCreated(const QUrl& url);
     void errorMessage(const QString& error);
 
 private:
     DolphinNewFileMenuObserver();
-    virtual ~DolphinNewFileMenuObserver();
+    ~DolphinNewFileMenuObserver() override;
 
     friend class DolphinNewFileMenuObserverSingleton;
 };