From bcb1c6b2328ff5dadf16cb4a0355ad2101780939 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 12 Feb 2008 00:06:21 +0000 Subject: don't keep a KFileItem inside the selection manager for the whole lifetime, work with the URL internally instead svn path=/trunk/KDE/kdebase/apps/; revision=773890 --- src/selectiontoggle.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/selectiontoggle.h') diff --git a/src/selectiontoggle.h b/src/selectiontoggle.h index 653104ab5..a6d5eae58 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); @@ -78,7 +78,7 @@ private: int m_fadingValue; QPixmap m_icon; QTimeLine* m_fadingTimeLine; - KFileItem m_item; + KUrl m_url; }; #endif -- cgit v1.3