]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/views/selectiontoggle.h
The &-shortcut from another action is not set until the action has been shown at...
[dolphin.git] / src / views / selectiontoggle.h
index 5519272b38ed81116f3e9bf8152802d71a82b20f..210f1a3aa5b4e6b2c0bf61a56e2a89b28a1938cb 100644 (file)
@@ -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;