00001 00012 #include "PlotterEvent.h" 00013 00014 #if QT_VERSION < 0x040000 00015 #else 00016 //Added by the Qt porting tool: 00017 #include <QCustomEvent> 00018 #include <QEvent> 00019 #endif 00020 00021 00022 PlotterEvent:: 00023 PlotterEvent ( PlotterBase * plotter ) 00024 : QCustomEvent ( QEvent::User, plotter ) 00025 { 00026 } 00027 00028 PlotterEvent:: 00029 PlotterEvent ( const PlotterEvent & event ) 00030 : QCustomEvent ( event ) 00031 { 00032 } 00033 00034 PlotterEvent::~PlotterEvent () 00035 { 00036 } 00037 00038 PlotterBase * 00039 PlotterEvent:: 00040 plotter ( ) const 00041 { 00042 void * pointer = data(); 00043 00044 return reinterpret_cast < PlotterBase * > ( pointer ); 00045 }