API review:
remove IsKioskImmutable() from the public api svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800623
This commit is contained in:
parent
34d3cbcee0
commit
06f5b7bc72
@ -759,7 +759,7 @@ bool Applet::isImmutable() const
|
||||
bool Applet::isKioskImmutable() const
|
||||
{
|
||||
Corona *c = dynamic_cast<Corona*>(scene());
|
||||
return d->kioskImmutable || (c && c->isKioskImmutable());
|
||||
return d->kioskImmutable || (c && c->isImmutable());
|
||||
}
|
||||
|
||||
void Applet::setImmutable(bool immutable)
|
||||
@ -866,7 +866,7 @@ void Applet::checkImmutability()
|
||||
{
|
||||
d->kioskImmutable = globalConfig().isImmutable() || config().isImmutable() ||
|
||||
(containment() && containment()->isKioskImmutable()) ||
|
||||
(dynamic_cast<Corona*>(scene()) && static_cast<Corona*>(scene())->isKioskImmutable());
|
||||
(dynamic_cast<Corona*>(scene()) && static_cast<Corona*>(scene())->isImmutable());
|
||||
|
||||
if (d->kioskImmutable) {
|
||||
updateConstraints(ImmutableConstraint);
|
||||
|
@ -431,11 +431,6 @@ bool Corona::isImmutable() const
|
||||
return d->kioskImmutable || d->immutable;
|
||||
}
|
||||
|
||||
bool Corona::isKioskImmutable() const
|
||||
{
|
||||
return d->kioskImmutable;
|
||||
}
|
||||
|
||||
void Corona::setImmutable(bool immutable)
|
||||
{
|
||||
if (d->immutable == immutable ||
|
||||
|
Loading…
Reference in New Issue
Block a user