From bd2f7179de1b42399b5f04ef65221e8e81250392 Mon Sep 17 00:00:00 2001 From: Rahman Duran Date: Wed, 25 Mar 2009 22:00:50 +0000 Subject: BUG: 175658 GUI: The remote encoding code adapted from Konqueror to Dolphin. Now user can change encoding for remote urls like ftp. Konqueror doesn't use KRemoteEncodingPlugin anymore. Instead, this feature is supplied to Konqueror via DolphinPart. svn path=/trunk/KDE/kdebase/apps/; revision=944659 --- src/dolphinmainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 6e6d4cc12..c2939e59a 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -21,6 +21,7 @@ #include "dolphinmainwindow.h" #include "dolphinviewactionhandler.h" +#include "dolphinremoteencoding.h" #include @@ -113,6 +114,7 @@ DolphinMainWindow::DolphinMainWindow(int id) : m_tabIndex(0), m_viewTab(), m_actionHandler(0), + m_remoteEncoding(0), m_settingsDialog(0) { setObjectName("Dolphin#"); @@ -985,6 +987,10 @@ void DolphinMainWindow::init() view->reload(); m_activeViewContainer->show(); m_actionHandler->setCurrentView(view); + + m_remoteEncoding = new DolphinRemoteEncoding(this, m_actionHandler); + connect(this, SIGNAL(urlChanged(const KUrl&)), + m_remoteEncoding, SLOT(slotAboutToOpenUrl())); m_tabBar = new KTabBar(this); m_tabBar->setMovable(true); -- cgit v1.3