add operationEnabledChanged signal

This commit is contained in:
Marco Martin 2013-05-02 18:11:20 +02:00
parent 08ed91d7e0
commit 4397a6c06d
2 changed files with 6 additions and 0 deletions

View File

@ -335,6 +335,7 @@ void Service::setOperationEnabled(const QString &operation, bool enable)
}
}
}
emit operationEnabledChanged(operation, enable);
}
bool Service::isOperationEnabled(const QString &operation) const

View File

@ -185,6 +185,11 @@ Q_SIGNALS:
*/
void serviceReady(Plasma::Service *service);
/**
* Emitted when an operation got enabled or disabled
*/
void operationEnabledChanged(const QString &operation, bool enabled);
protected:
/**
* Default constructor