From a5cf21ff06aff44cde563eaceae3c6cef452ee48 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 24 Jul 2010 22:08:30 +0000 Subject: Sourcecode hierarchy cleanup: Move further files from src to src/views svn path=/trunk/KDE/kdebase/apps/; revision=1154150 --- src/dolphinremoteencoding.h | 69 --------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 src/dolphinremoteencoding.h (limited to 'src/dolphinremoteencoding.h') diff --git a/src/dolphinremoteencoding.h b/src/dolphinremoteencoding.h deleted file mode 100644 index 54499f78b..000000000 --- a/src/dolphinremoteencoding.h +++ /dev/null @@ -1,69 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2009 by Rahman Duran * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * - ***************************************************************************/ - -#ifndef DOLPHINREMOTEENCODING_H -#define DOLPHINREMOTEENCODING_H - -#include -#include -#include -#include "libdolphin_export.h" - - -class KActionMenu; -class DolphinViewActionHandler; - -/** - * @brief Allows to chnage 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 -{ - Q_OBJECT -public: - DolphinRemoteEncoding(QObject* parent, DolphinViewActionHandler* actionHandler); - ~DolphinRemoteEncoding(); - -public Q_SLOTS: - void slotAboutToOpenUrl(); - void slotItemSelected(QAction* action); - void slotReload(); - void slotDefault(); - -private Q_SLOTS: - void slotAboutToShow(); - -private: - void updateView(); - void loadSettings(); - void fillMenu(); - void updateMenu(); - - KActionMenu* m_menu; - QStringList m_encodingDescriptions; - KUrl m_currentURL; - DolphinViewActionHandler* m_actionHandler; - - bool m_loaded; - int m_idDefault; -}; - -#endif -- cgit v1.3