make action() invokable, useful for qml containments
This commit is contained in:
parent
c6215bb249
commit
fb4aec6640
2
applet.h
2
applet.h
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user