add an icon() accessor
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=691201
This commit is contained in:
parent
201afe2033
commit
b8a9f72008
@ -220,6 +220,15 @@ QString Applet::name() const
|
||||
return d->appletDescription.name();
|
||||
}
|
||||
|
||||
QString Applet::icon() const
|
||||
{
|
||||
if (!d->appletDescription.isValid()) {
|
||||
return QString();
|
||||
}
|
||||
|
||||
return d->appletDescription.icon();
|
||||
}
|
||||
|
||||
QString Applet::category() const
|
||||
{
|
||||
if (!d->appletDescription.isValid()) {
|
||||
|
Loading…
Reference in New Issue
Block a user