2 * SPDX-FileCopyrightText: 2009 Rahman Duran <rahman.duran@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0-or-later
7 #ifndef DOLPHINREMOTEENCODING_H
8 #define DOLPHINREMOTEENCODING_H
10 #include "dolphin_export.h"
13 #include <QStringList>
17 class DolphinViewActionHandler
;
20 * @brief Allows to change character encoding for remote urls like ftp.
22 * When browsing remote url, its possible to change encoding from Tools Menu.
25 class DOLPHIN_EXPORT DolphinRemoteEncoding
: public QObject
29 DolphinRemoteEncoding(QObject
*parent
, DolphinViewActionHandler
*actionHandler
);
30 ~DolphinRemoteEncoding() override
;
33 void slotAboutToOpenUrl();
34 void slotItemSelected(QAction
*action
);
39 void slotAboutToShow();
48 QStringList m_encodingDescriptions
;
50 DolphinViewActionHandler
*m_actionHandler
;