From 1b88652b8569118dff1a0e61d85326e8c5d91d51 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 29 Aug 2011 20:13:39 +0200 Subject: Renamed some signals for consistency with KItemViews classes --- src/dolphinpart.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/dolphinpart.cpp') diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index df1d8b738..89ea457ca 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -82,8 +82,8 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantL this, SLOT(slotMessage(QString))); connect(m_view, SIGNAL(errorMessage(QString)), this, SLOT(slotErrorMessage(QString))); - connect(m_view, SIGNAL(itemTriggered(KFileItem)), - this, SLOT(slotItemTriggered(KFileItem))); + connect(m_view, SIGNAL(itemActivated(KFileItem)), + this, SLOT(slotItemActivated(KFileItem))); connect(m_view, SIGNAL(tabRequested(KUrl)), this, SLOT(createNewWindow(KUrl))); connect(m_view, SIGNAL(requestContextMenu(KFileItem,KUrl,QList)), @@ -329,7 +329,7 @@ void DolphinPart::slotRequestItemInfo(const KFileItem& item) } } -void DolphinPart::slotItemTriggered(const KFileItem& item) +void DolphinPart::slotItemActivated(const KFileItem& item) { KParts::OpenUrlArguments args; // Forget about the known mimetype if a target URL is used. @@ -348,7 +348,7 @@ void DolphinPart::slotItemTriggered(const KFileItem& item) void DolphinPart::createNewWindow(const KUrl& url) { // TODO: Check issue N176832 for the missing QAIV signal; task 177399 - maybe this code - // should be moved into DolphinPart::slotItemTriggered() + // should be moved into DolphinPart::slotItemActivated() emit m_extension->createNewWindow(url); } -- cgit v1.3