]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/dolphinremoteencoding.h
Modernize: Use override where possible
[dolphin.git] / src / views / dolphinremoteencoding.h
index b317cc1df34aa8216c56bfc13206ef1da269f637..ca1cea2c7fbc7ab6c1096e707b65d22bed236f80 100644 (file)
 
 #include <QStringList>
 #include <QAction>
-#include <KUrl>
-#include "libdolphin_export.h"
+#include <QUrl>
+#include "dolphin_export.h"
 
 
 class KActionMenu;
 class DolphinViewActionHandler;
 
 /**
- * @brief Allows to chnage character encoding for remote urls like ftp.
+ * @brief Allows to change character encoding for remote urls like ftp.
  *
  * When browsing remote url, its possible to change encoding from Tools Menu.
  */
 
-class LIBDOLPHINPRIVATE_EXPORT DolphinRemoteEncoding: public QObject
+class DOLPHIN_EXPORT DolphinRemoteEncoding: public QObject
 {
   Q_OBJECT
 public:
   DolphinRemoteEncoding(QObject* parent, DolphinViewActionHandler* actionHandler);
-  ~DolphinRemoteEncoding();
+  ~DolphinRemoteEncoding() override;
 
 public Q_SLOTS:
   void slotAboutToOpenUrl();
@@ -59,7 +59,7 @@ private:
 
   KActionMenu* m_menu;
   QStringList m_encodingDescriptions;
-  KUrl m_currentURL;
+  QUrl m_currentURL;
   DolphinViewActionHandler* m_actionHandler;
 
   bool m_loaded;