Add the popupEvent signal to appletinterface
This commit is contained in:
parent
855ced6672
commit
24639f0d7a
@ -421,6 +421,7 @@ void AppletInterface::gc()
|
||||
PopupAppletInterface::PopupAppletInterface(AbstractJsAppletScript *parent)
|
||||
: APPLETSUPERCLASS(parent)
|
||||
{
|
||||
connect(m_appletScriptEngine, SIGNAL(popupEvent(bool)), this, SIGNAL(popupEvent(bool)));
|
||||
}
|
||||
|
||||
void PopupAppletInterface::setPopupIcon(const QIcon &icon)
|
||||
|
@ -367,6 +367,9 @@ public:
|
||||
void setPopupWidget(QGraphicsWidget *widget);
|
||||
QGraphicsWidget *popupWidget();
|
||||
|
||||
Q_SIGNALS:
|
||||
void popupEvent(bool);
|
||||
|
||||
public Q_SLOTS:
|
||||
void setPopupIconByName(const QString &name);
|
||||
void togglePopup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user