┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kitemviews/kitemlistheader.h')
-rw-r--r--src/kitemviews/kitemlistheader.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/kitemviews/kitemlistheader.h b/src/kitemviews/kitemlistheader.h
index 04519f12c..d84832dab 100644
--- a/src/kitemviews/kitemlistheader.h
+++ b/src/kitemviews/kitemlistheader.h
@@ -59,14 +59,15 @@ public:
qreal preferredColumnWidth(const QByteArray &role) const;
/**
- * Sets the width of the column *before* the first column.
+ * Sets the widths of the columns *before* the first column and *after* the last column.
* This is intended to facilitate an empty region for deselection in the main viewport.
*/
- void setSidePadding(qreal width);
- qreal sidePadding() const;
+ void setSidePadding(qreal leftPaddingWidth, qreal rightPaddingWidth);
+ qreal leftPadding() const;
+ qreal rightPadding() const;
Q_SIGNALS:
- void sidePaddingChanged(qreal width);
+ void sidePaddingChanged(qreal leftPaddingWidth, qreal rightPaddingWidth);
/**
* Is emitted if the width of a column has been adjusted by the user with the mouse