00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "Iguana/Studio/interface/IgQtScheduledEventExecutor.h" 00004 #include "Iguana/Studio/interface/IgQtScheduledEvent.h" 00005 #include <qevent.h> 00006 #include <qobject.h> 00007 00008 //<<<<<< PRIVATE DEFINES >>>>>> 00009 //<<<<<< PRIVATE CONSTANTS >>>>>> 00010 //<<<<<< PRIVATE TYPES >>>>>> 00011 //<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>> 00012 //<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>> 00013 //<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>> 00014 //<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>> 00015 //<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>> 00016 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>> 00017 00018 IgQtScheduledEventExecutor::IgQtScheduledEventExecutor (void) 00019 : QObject () 00020 { 00021 } 00022 00023 void 00024 IgQtScheduledEventExecutor::customEvent (QCustomEvent *event) 00025 { 00026 IgQtScheduledEvent * scheduledEvent 00027 = dynamic_cast <IgQtScheduledEvent *> (event); 00028 ASSERT (scheduledEvent); 00029 (scheduledEvent->callback ()) (); 00030 }