add operationEnabledChanged signal
This commit is contained in:
parent
08ed91d7e0
commit
4397a6c06d
@ -335,6 +335,7 @@ void Service::setOperationEnabled(const QString &operation, bool enable)
|
||||
}
|
||||
}
|
||||
}
|
||||
emit operationEnabledChanged(operation, enable);
|
||||
}
|
||||
|
||||
bool Service::isOperationEnabled(const QString &operation) const
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user