┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2010-02-22 18:22:12 +0000
committerFrank Reininghaus <[email protected]>2010-02-22 18:22:12 +0000
commita9702ad0cc47bcc3adeccba449d67d387209c97d (patch)
treeaac7f7baab791994392698a31420e5ff301ee3d0 /src/dolphindetailsview.h
parent642062284c7e3b90ef3c8296c901b04cc0d7aa28 (diff)
Use the full width of the "Name" column of the Details View for
renaming items inline. BUG: 226666 svn path=/trunk/KDE/kdebase/apps/; revision=1094416
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h
index ddf47bfc3..47af2f55d 100644
--- a/src/dolphindetailsview.h
+++ b/src/dolphindetailsview.h
@@ -214,6 +214,11 @@ private:
*/
bool isAboveExpandingToggle(const QPoint& pos) const;
+ /**
+ * Sets the maximum size available for editing in the delegate.
+ */
+ void adjustMaximumSizeForEditing(const QModelIndex& index);
+
private:
bool m_autoResize : 1; // if true, the columns are resized automatically to the available width
bool m_expandingTogglePressed : 1;