diff options
Diffstat (limited to 'src/views/selectiontoggle.h')
| -rw-r--r-- | src/views/selectiontoggle.h | 8 |
1 files changed, 8 insertions, 0 deletions
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; |
