Add the popupEvent signal to appletinterface

This commit is contained in:
Jacopo De Simoi 2011-11-24 18:04:43 +01:00
parent 855ced6672
commit 24639f0d7a
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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();