From a9702ad0cc47bcc3adeccba449d67d387209c97d Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Mon, 22 Feb 2010 18:22:12 +0000 Subject: 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 --- src/dolphindetailsview.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphindetailsview.h') 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; -- cgit v1.3