diff options
author | Francois Andriot <francois.andriot@free.fr> | 2014-03-14 16:34:13 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-14 16:34:13 +0100 |
commit | 6cfb2ba0ca1968ee182ce7b5def42536e1ef24b3 (patch) | |
tree | d2a44daf1e106b681501354362cfbec83a28f696 | |
parent | 18e34b8cfcb6b1a9403ef002694d9267e788b657 (diff) | |
download | tdebase-6cfb2ba0ca1968ee182ce7b5def42536e1ef24b3.tar.gz tdebase-6cfb2ba0ca1968ee182ce7b5def42536e1ef24b3.zip |
Fix localURL signal
This relates to Bug 1902
-rw-r--r-- | libkonq/konq_popupmenu.cc | 4 | ||||
-rw-r--r-- | libkonq/konq_popupmenu.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/libkonq/konq_popupmenu.cc b/libkonq/konq_popupmenu.cc index a2bc18565..e5b807327 100644 --- a/libkonq/konq_popupmenu.cc +++ b/libkonq/konq_popupmenu.cc @@ -425,7 +425,7 @@ void KonqPopupMenu::setup(KonqPopupFlags kpf) if (!realURL.isLocalFile()) { TDEIO::LocalURLJob* localURLJob = TDEIO::localURL(m_sViewURL); if (localURLJob) { - connect(localURLJob, TQT_SIGNAL(localURL(TDEIO::Job*, const KURL&, bool)), this, TQT_SLOT(slotLocalURL(TDEIO::Job*, const KURL&, bool))); + connect(localURLJob, TQT_SIGNAL(localURL(TDEIO::LocalURLJob*, const KURL&, bool)), this, TQT_SLOT(slotLocalURL(TDEIO::LocalURLJob*, const KURL&, bool))); connect(localURLJob, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotLocalURLKIODestroyed())); d->localURLSlotFired = false; while (!d->localURLSlotFired) { @@ -1226,7 +1226,7 @@ KURL::List KonqPopupMenu::popupURLList() const return m_lstPopupURLs; } -void KonqPopupMenu::slotLocalURL(TDEIO::Job *job, const KURL& url, bool isLocal) +void KonqPopupMenu::slotLocalURL(TDEIO::LocalURLJob *job, const KURL& url, bool isLocal) { d->localURLSlotFired = true; d->localURLResultURL = url; diff --git a/libkonq/konq_popupmenu.h b/libkonq/konq_popupmenu.h index 4be069561..5785d53ab 100644 --- a/libkonq/konq_popupmenu.h +++ b/libkonq/konq_popupmenu.h @@ -34,6 +34,7 @@ #include <libkonq_export.h> #include <tdeparts/browserextension.h> +#include <tdeio/jobclasses.h> #include "konq_xmlguiclient.h" @@ -178,7 +179,7 @@ protected: TDEActionCollection m_ownActions; private slots: - void slotLocalURL( TDEIO::Job *, const KURL&, bool ); + void slotLocalURL( TDEIO::LocalURLJob *, const KURL&, bool ); void slotLocalURLKIODestroyed( ); private: |