support popup with timeout

This commit is contained in:
Marco Martin 2011-11-01 21:30:03 +01:00
parent 7a325f4658
commit f6f9c26fdd
2 changed files with 6 additions and 0 deletions

View File

@ -463,6 +463,11 @@ void PopupAppletInterface::showPopup()
popupApplet()->showPopup();
}
void PopupAppletInterface::showPopup(int timeout)
{
popupApplet()->showPopup(timeout);
}
void PopupAppletInterface::setPopupWidget(QGraphicsWidget *widget)
{
popupApplet()->setGraphicsWidget(widget);

View File

@ -372,6 +372,7 @@ public Q_SLOTS:
void togglePopup();
void hidePopup();
void showPopup();
void showPopup(int timeout);
};