]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kitemlistheader.h
Merge branch 'release/22.04'
[dolphin.git] / src / kitemviews / kitemlistheader.h
index e8cfc420aaa7939e658b831f0dc85b76284e0ced..e2653e41eab68d041a2e616eb3b3bf41f5a336b0 100644 (file)
@@ -58,7 +58,16 @@ public:
      */
     qreal preferredColumnWidth(const QByteArray& role) const;
 
-signals:
+    /**
+     * Sets the width of the column *before* the first column.
+     * This is intended to facilitate an empty region for deselection in the main viewport.
+     */
+    void setLeadingPadding(qreal width);
+    qreal leadingPadding() const;
+
+Q_SIGNALS:
+    void leadingPaddingChanged(qreal width);
+
     /**
      * Is emitted if the width of a column has been adjusted by the user with the mouse
      * (no signal is emitted if KItemListHeader::setColumnWidth() is invoked).