summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartCustomBoxWrapper.h
blob: 271aa0d50f2b5ac23c59f00c7ca5c45aa1189164 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef KDCHARTCUSTOMBOX_H
#define KDCHARTCUSTOMBOX_H

#include <tqobject.h>
#include "KDChartCustomBox.h"
class KDChartCustomBox;
class KDChartTextPiece;
class KDChartCustomBoxWrapper :public TQObject
{
    Q_OBJECT
  TQ_OBJECT

public:
    KDChartCustomBoxWrapper( KDChartCustomBox* );

public slots:
    const KDChartTextPiece* content() const;


    // These methods need to be here, for the enums to work.
    void setAnchorPosition( int position )
        {
            _data->setAnchorPosition( (KDChartEnums::PositionFlag) position );
        }



private:
    KDChartCustomBox* _data;
};


#endif /* KDCHARTCUSTOMBOX_H */