SaveAsImageEvent.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00002 
00014 #ifndef _SaveAsImageEvent_H_
00015 #define _SaveAsImageEvent_H_
00016 
00017 #include "libqthippo.h"
00018 
00019 #if QT_VERSION < 0x040000
00020 #else
00021 //Added by the Qt porting tool:
00022 #include <QtCore/QCustomEvent>
00023 #endif
00024 
00025 
00026 #include <qevent.h>
00027 
00028 #include <string>
00029 
00030 namespace hippodraw {
00031 
00032 class PlotterBase;
00033 
00042 class MDL_QTHIPPOPLOT_API SaveAsImageEvent : public QCustomEvent
00043 {
00044 
00045 private:
00046 
00049   std::string m_filename;
00050 
00051 public:
00052 
00056   SaveAsImageEvent ( const PlotterBase * plotter,
00057                      const std::string & filename );
00058 
00060   SaveAsImageEvent ( const SaveAsImageEvent & );
00061 
00063   virtual ~SaveAsImageEvent ();
00064 
00067   PlotterBase * plotter () const;
00068 
00071   const std::string & filename () const;
00072 
00073 };
00074 
00075 } // namespace hippodraw
00076 
00077 #endif // _SaveAsImageEvent_H_

Generated for HippoDraw Class Library by doxygen