signals and events
bernd at physik.hu-berlin.de
Mon Apr 23 14:38:41 BST 2001
On Mon, 23 Apr 2001, Giorgi Lekishvili wrote:
> Dear all,
> I'm afraid I do not understand properly how to connect signals with events
> (not with slots).
> Suppose an object I use has the public signal "Clicked()". However, I may
> need a signal "DoubleClicked()". How can I define and build this function
> based on "ouseButtonDblClick" event?
Add a signal doubleClicked() to your class declaration and reimplement
the event handler like
void MyWidget::mouseDoubleClickEvent(QMouseEvent *e)
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
More information about the KDevelop