make action() invokable, useful for qml containments

This commit is contained in:
Marco Martin 2011-02-28 20:21:42 +01:00
parent c6215bb249
commit fb4aec6640

View File

@ -503,7 +503,7 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
/**
* Returns the QAction with the given name from our collection
*/
QAction *action(QString name) const;
Q_INVOKABLE QAction *action(QString name) const;
/**
* Adds the action to our collection under the given name