┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincolumnwidget.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-06-18 19:34:03 +0000
committerPeter Penz <[email protected]>2008-06-18 19:34:03 +0000
commitb8a4e0fac2820ec8fc442c2abeea700ae4947e01 (patch)
tree22d132204de327656614ee2dfe97834218eef776 /src/dolphincolumnwidget.h
parent91607d4c4d60d7d51827e770e5504aa4ff552e48 (diff)
Assure that when requesting the context menu for the column-view, that the correct items are used.
TODO for 4.2: get rid of those 'if (isColumnViewActive())' special cases and provide a generic model which also works with the way the column view is implemented BUG: 164146 svn path=/trunk/KDE/kdebase/apps/; revision=821903
Diffstat (limited to 'src/dolphincolumnwidget.h')
-rw-r--r--src/dolphincolumnwidget.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphincolumnwidget.h b/src/dolphincolumnwidget.h
index ada7d637a..72028da7c 100644
--- a/src/dolphincolumnwidget.h
+++ b/src/dolphincolumnwidget.h
@@ -104,6 +104,14 @@ public:
*/
void editItem(const KFileItem& item);
+ /**
+ * Returns the item on the position \a pos. The KFileItem instance
+ * is null if no item is below the position.
+ */
+ KFileItem itemAt(const QPoint& pos) const;
+
+ KFileItemList selectedItems() const;
+
protected:
virtual QStyleOptionViewItem viewOptions() const;
virtual void startDrag(Qt::DropActions supportedActions);