home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / KDChartCustomBoxWrapper.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-30  |  618 b   |  34 lines

  1. #ifndef KDCHARTCUSTOMBOX_H
  2. #define KDCHARTCUSTOMBOX_H
  3.  
  4. #include <qobject.h>
  5. #include "KDChartCustomBox.h"
  6. class KDChartCustomBox;
  7. class KDChartTextPiece;
  8. class KDChartCustomBoxWrapper :public QObject
  9. {
  10.     Q_OBJECT
  11.  
  12. public:
  13.     KDChartCustomBoxWrapper( KDChartCustomBox* );
  14.  
  15. public slots:
  16.     const KDChartTextPiece* content() const;
  17.  
  18.  
  19.     // These methods need to be here, for the enums to work.
  20.     void setAnchorPosition( int position )
  21.         {
  22.             _data->setAnchorPosition( (KDChartEnums::PositionFlag) position );
  23.         }
  24.  
  25.  
  26.  
  27. private:
  28.     KDChartCustomBox* _data;
  29. };
  30.  
  31.  
  32. #endif /* KDCHARTCUSTOMBOX_H */
  33.  
  34.