summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartCustomBoxWrapper.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 22:38:03 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-04 22:38:03 +0000
commitdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (patch)
tree99e72842fe687baea16376a147619b6048d7e441 /libkdchart/KDChartCustomBoxWrapper.h
downloadkmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.tar.gz
kmymoney-dadc34655c3ab961b0b0b94a10eaaba710f0b5e8.zip
Added kmymoney
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239792 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdchart/KDChartCustomBoxWrapper.h')
-rw-r--r--libkdchart/KDChartCustomBoxWrapper.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/libkdchart/KDChartCustomBoxWrapper.h b/libkdchart/KDChartCustomBoxWrapper.h
new file mode 100644
index 0000000..b294a24
--- /dev/null
+++ b/libkdchart/KDChartCustomBoxWrapper.h
@@ -0,0 +1,33 @@
+#ifndef KDCHARTCUSTOMBOX_H
+#define KDCHARTCUSTOMBOX_H
+
+#include <qobject.h>
+#include "KDChartCustomBox.h"
+class KDChartCustomBox;
+class KDChartTextPiece;
+class KDChartCustomBoxWrapper :public QObject
+{
+ Q_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 */
+