remove unused function
This commit is contained in:
parent
91e6297114
commit
ea3544deb7
@ -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());
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user