X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/a5cf21ff06aff44cde563eaceae3c6cef452ee48..60d6a3bdbcd44360e1c6ae1c82239ecf6d60ded7:/src/views/dolphinremoteencoding.h diff --git a/src/views/dolphinremoteencoding.h b/src/views/dolphinremoteencoding.h index 54499f78b..bcb0d7901 100644 --- a/src/views/dolphinremoteencoding.h +++ b/src/views/dolphinremoteencoding.h @@ -20,37 +20,37 @@ #ifndef DOLPHINREMOTEENCODING_H #define DOLPHINREMOTEENCODING_H -#include -#include -#include -#include "libdolphin_export.h" +#include "dolphin_export.h" +#include +#include +#include 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(); void slotItemSelected(QAction* action); void slotReload(); void slotDefault(); - + private Q_SLOTS: void slotAboutToShow(); - + private: void updateView(); void loadSettings(); @@ -59,7 +59,7 @@ private: KActionMenu* m_menu; QStringList m_encodingDescriptions; - KUrl m_currentURL; + QUrl m_currentURL; DolphinViewActionHandler* m_actionHandler; bool m_loaded;