constify url()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678187
This commit is contained in:
parent
32a450bb4d
commit
7aaec35dad
@ -297,7 +297,7 @@ void Icon::setUrl(const KUrl& url)
|
|||||||
d->url = url;
|
d->url = url;
|
||||||
}
|
}
|
||||||
|
|
||||||
KUrl Icon::url()
|
KUrl Icon::url() const
|
||||||
{
|
{
|
||||||
return d->url;
|
return d->url;
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ class PLASMA_EXPORT Icon : public QObject,
|
|||||||
void setIcon(const QIcon& icon);
|
void setIcon(const QIcon& icon);
|
||||||
|
|
||||||
void setUrl(const KUrl& url);
|
void setUrl(const KUrl& url);
|
||||||
KUrl url();
|
KUrl url() const;
|
||||||
|
|
||||||
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
|
||||||
QRectF boundingRect() const;
|
QRectF boundingRect() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user