constify url()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678187
This commit is contained in:
André Wöbbeking 2007-06-20 21:08:30 +00:00
parent 32a450bb4d
commit 7aaec35dad
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ void Icon::setUrl(const KUrl& url)
d->url = url;
}
KUrl Icon::url()
KUrl Icon::url() const
{
return d->url;
}

View File

@ -58,7 +58,7 @@ class PLASMA_EXPORT Icon : public QObject,
void setIcon(const QIcon& icon);
void setUrl(const KUrl& url);
KUrl url();
KUrl url() const;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
QRectF boundingRect() const;