operationIsEnabled() should be public.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852940
This commit is contained in:
parent
3d6b183011
commit
8355e9e027
16
service.h
16
service.h
@ -125,6 +125,14 @@ public:
|
|||||||
*/
|
*/
|
||||||
ServiceJob* startOperationCall(const KConfigGroup &description);
|
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
|
* The name of this service
|
||||||
*/
|
*/
|
||||||
@ -214,14 +222,6 @@ protected:
|
|||||||
*/
|
*/
|
||||||
void setOperationEnabled(const QString &operation, bool enable);
|
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:
|
private:
|
||||||
Q_PRIVATE_SLOT(d, void jobFinished(KJob *))
|
Q_PRIVATE_SLOT(d, void jobFinished(KJob *))
|
||||||
Q_PRIVATE_SLOT(d, void associatedWidgetDestroyed(QObject *))
|
Q_PRIVATE_SLOT(d, void associatedWidgetDestroyed(QObject *))
|
||||||
|
Loading…
Reference in New Issue
Block a user