Hey, Sven

As described in reference manual, EvenSignal is a special Signal that
may be triggered by user interface events such as mouse click and so on.
Therefore, the code in attached slot should works when some event has
occurred.
If I understand you correctly, you have defined function that creates
EventSignal dynamically depending on the parameters?

Regards,
Dmitriy Igrishin

2010/4/23 Sven Knoblich <[email protected]>

> Hello,
> im trying to create my own EventSignal. Here is my code which is in my own
> WContainerWidget.
>
> //initialize
> EventSignal<>* myEvent = voidEventsignal( "TEST",true);
>
> myEvent->connect( SLOT( this, MyClass::VoidMethod));
>
>
> //call
> EventSignal<>* myEvent = voidEventsignal( "TEST",false);
>
> myEvent->senderRepaint();
>
>
> Now, the flag within the event for update is set. But when i execute the
> code, the method VoidMethod was not called.
>
> Am i right with this event mechanism?
>
> Many thanks in advance,
> Sven
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to