PlotterEvent.cxx

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

Generated for HippoDraw Class Library by doxygen