diff options
| author | Peter Penz <[email protected]> | 2011-08-29 20:13:39 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-08-29 20:14:33 +0200 |
| commit | 1b88652b8569118dff1a0e61d85326e8c5d91d51 (patch) | |
| tree | eff3f062733c119863a5e7d1d3e317fbfd913219 /src/views | |
| parent | aa94938451e50c8b1c8a3382e63ac6d3731b5073 (diff) | |
Renamed some signals for consistency with KItemViews classes
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinview.cpp | 7 | ||||
| -rw-r--r-- | src/views/dolphinview.h | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp index 629b7590e..01ac9cc94 100644 --- a/src/views/dolphinview.cpp +++ b/src/views/dolphinview.cpp @@ -114,7 +114,7 @@ DolphinView::DolphinView(const KUrl& url, QWidget* parent) : this, SLOT(updateSortFoldersFirst(bool))); connect(m_dolphinViewController, SIGNAL(additionalInfoChanged(QList<DolphinView::AdditionalInfo>)), this, SLOT(updateAdditionalInfo(QList<DolphinView::AdditionalInfo>)));*/ - //connect(m_dolphinViewController, SIGNAL(itemTriggered(KFileItem)), + //connect(m_dolphinViewController, SIGNAL(itemActivated(KFileItem)), // this, SLOT(triggerItem(KFileItem))); //connect(m_dolphinViewController, SIGNAL(tabRequested(KUrl)), // this, SIGNAL(tabRequested(KUrl))); @@ -695,7 +695,7 @@ void DolphinView::slotItemActivated(int index) if (selectedItems.isEmpty()) return; if (selectedItems.count() == 1) { - emit itemTriggered(fileItemModel()->fileItem(index)); // caught by DolphinViewContainer or DolphinPart + emit itemActivated(fileItemModel()->fileItem(index)); // caught by DolphinViewContainer or DolphinPart } else { foreach (int i, selectedItems) { @@ -703,7 +703,7 @@ void DolphinView::slotItemActivated(int index) if (fileItem.isDir()) { emit tabRequested(fileItem.url()); } else { - emit itemTriggered(fileItem); + emit itemActivated(fileItem); } } } @@ -719,6 +719,7 @@ void DolphinView::slotItemMiddleClicked(int index) void DolphinView::slotContextMenuRequested(int index, const QPointF& pos) { + Q_UNUSED(pos); if (GeneralSettings::showToolTips()) { m_toolTipManager->hideToolTip(); } diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 7a2db6889..7c81ea8fc 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -420,7 +420,7 @@ signals: /** * Is emitted when clicking on an item with the left mouse button. */ - void itemTriggered(const KFileItem& item); + void itemActivated(const KFileItem& item); /** * Is emitted if items have been added or deleted. |
