remove unused function

This commit is contained in:
Marco Martin 2014-05-09 14:21:23 +02:00
parent 91e6297114
commit ea3544deb7
2 changed files with 0 additions and 11 deletions

View File

@ -167,12 +167,6 @@ void ContainmentInterface::setContainmentType(Plasma::Types::ContainmentType typ
appletScript()->setContainmentType(type); appletScript()->setContainmentType(type);
} }
void ContainmentInterface::lockWidgets(bool locked)
{
containment()->setImmutability(!locked ? Plasma::Types::Mutable : Plasma::Types::UserImmutable);
emit immutableChanged();
}
QVariantList ContainmentInterface::availableScreenRegion() const QVariantList ContainmentInterface::availableScreenRegion() const
{ {
QRegion reg = QRect(0, 0, width(), height()); QRegion reg = QRect(0, 0, width(), height());

View File

@ -106,11 +106,6 @@ public:
QList<QObject *> actions() const; QList<QObject *> actions() const;
/**
* FIXME: either a property or not accessible at all. Lock or unlock widgets
*/
Q_INVOKABLE void lockWidgets(bool locked);
QVariantList availableScreenRegion() const; QVariantList availableScreenRegion() const;
QRect availableScreenRect() const; QRect availableScreenRect() const;