X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/846b21edf57e7aeb83e84ee68e9f61c5981fbacd..b1c9b5126d:/src/selectiontoggle.h diff --git a/src/selectiontoggle.h b/src/selectiontoggle.h index 653104ab5..e8f808562 100644 --- a/src/selectiontoggle.h +++ b/src/selectiontoggle.h @@ -20,7 +20,7 @@ #ifndef SELECTIONTOGGLE_H #define SELECTIONTOGGLE_H -#include +#include #include #include @@ -50,8 +50,8 @@ public: */ void reset(); - void setFileItem(const KFileItem& item); - KFileItem fileItem() const; + void setUrl(const KUrl& url); + KUrl url() const; public slots: virtual void setVisible(bool visible); @@ -69,6 +69,9 @@ private slots: */ void setFadingValue(int value); + void setIconOverlay(bool checked); + void refreshIcon(); + private: void startFading(); void stopFading(); @@ -78,7 +81,7 @@ private: int m_fadingValue; QPixmap m_icon; QTimeLine* m_fadingTimeLine; - KFileItem m_item; + KUrl m_url; }; #endif