X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/652d08c9242ed51d86dba3b2afda9d3b2e9a9cd7..39f89141b06c:/src/views/selectiontoggle.h diff --git a/src/views/selectiontoggle.h b/src/views/selectiontoggle.h index 5519272b3..210f1a3aa 100644 --- a/src/views/selectiontoggle.h +++ b/src/views/selectiontoggle.h @@ -53,6 +53,13 @@ public: void setUrl(const KUrl& url); KUrl url() const; + /** + * Sets the margin around the selection-icon in pixels. Per default + * the value is 0. + */ + void setMargin(int margin); + int margin() const; + public slots: virtual void setVisible(bool visible); @@ -83,6 +90,7 @@ private: bool m_isHovered; bool m_leftMouseButtonPressed; int m_fadingValue; + int m_margin; QPixmap m_icon; QTimeLine* m_fadingTimeLine; KUrl m_url;