operationIsEnabled() should be public.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852940
This commit is contained in:
Alex Merry 2008-08-26 21:42:23 +00:00
parent 3d6b183011
commit 8355e9e027

View File

@ -125,6 +125,14 @@ public:
*/
ServiceJob* startOperationCall(const KConfigGroup &description);
/**
* Query to find if an operation is enabled or not.
*
* @param operation the name of the operation to check
* @return true if the operation is enabled, false otherwise
*/
bool operationIsEnabled(const QString &operation) const;
/**
* The name of this service
*/
@ -214,14 +222,6 @@ protected:
*/
void setOperationEnabled(const QString &operation, bool enable);
/**
* Query to find if an operation is enabled or not.
*
* @param operation the name of the operation to check
* @return true if the operation is enabled, false otherwise
*/
bool operationIsEnabled(const QString &operation) const;
private:
Q_PRIVATE_SLOT(d, void jobFinished(KJob *))
Q_PRIVATE_SLOT(d, void associatedWidgetDestroyed(QObject *))