00001 /* -*- mode: c++ -*- */ 00002 00014 #ifndef _CanvasSelectionEvent_H_ 00015 #define _CanvasSelectionEvent_H_ 00016 00017 #include "libqthippo.h" 00018 00019 #if QT_VERSION < 0x040000 00020 #else 00021 //Added by the Qt porting tool: 00022 #include <QCustomEvent> 00023 #endif 00024 00025 #include <qevent.h> 00026 00027 #include <vector> 00028 00029 class PlotterBase; 00030 00037 class MDL_QTHIPPOPLOT_API CanvasSelectionEvent : public QCustomEvent 00038 { 00039 00040 std::vector < PlotterBase * > m_plotters; 00041 00043 CanvasSelectionEvent ( const CanvasSelectionEvent & ); 00044 00045 public: 00046 00047 CanvasSelectionEvent ( std::vector < PlotterBase * > ); 00048 00050 virtual ~CanvasSelectionEvent (); 00051 00054 const std::vector < PlotterBase * > & getPlotters () const; 00055 00056 }; 00057 00058 #endif // _CanvasSelectionEvent_H_