summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kdeui/kpassivepopup.cpp1
-rw-r--r--kdeui/kpassivepopup.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/kdeui/kpassivepopup.cpp b/kdeui/kpassivepopup.cpp
index 95dd48546..01aadcb49 100644
--- a/kdeui/kpassivepopup.cpp
+++ b/kdeui/kpassivepopup.cpp
@@ -226,6 +226,7 @@ void KPassivePopup::show(const TQPoint &p)
void KPassivePopup::hideEvent( TQHideEvent * )
{
hideTimer->stop();
+ emit( hidden( this ) );
if ( m_autoDelete )
deleteLater();
}
diff --git a/kdeui/kpassivepopup.h b/kdeui/kpassivepopup.h
index ecac2a90b..f1bbd7298 100644
--- a/kdeui/kpassivepopup.h
+++ b/kdeui/kpassivepopup.h
@@ -291,6 +291,11 @@ signals:
*/
void clicked( TQPoint pos );
+ /**
+ * Emitted when the popup is hidden.
+ */
+ void hidden(KPassivePopup*);
+
protected:
/**
* This method positions the popup.