export action()
This commit is contained in:
parent
2af794b302
commit
15122a4d6e
@ -294,6 +294,11 @@ void AppletInterface::removeAction(const QString &name)
|
||||
m_actions.remove(name);
|
||||
}
|
||||
|
||||
QAction *AppletInterface::action(QString name) const
|
||||
{
|
||||
return applet()->action(name);
|
||||
}
|
||||
|
||||
void AppletInterface::resize(qreal w, qreal h)
|
||||
{
|
||||
applet()->resize(w,h);
|
||||
|
@ -249,6 +249,8 @@ enum IntervalAlignment {
|
||||
|
||||
Q_INVOKABLE void removeAction(const QString &name);
|
||||
|
||||
Q_INVOKABLE QAction *action(QString name) const;
|
||||
|
||||
Q_INVOKABLE void resize(qreal w, qreal h);
|
||||
|
||||
Q_INVOKABLE void setMinimumSize(qreal w, qreal h);
|
||||
|
Loading…
Reference in New Issue
Block a user