summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDChartCustomBoxWrapper.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
commit8362bf63dea22bbf6736609b0f49c152f975eb63 (patch)
tree0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kchart/kdchart/KDChartCustomBoxWrapper.h
downloadkoffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz
koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kchart/kdchart/KDChartCustomBoxWrapper.h')
-rw-r--r--kchart/kdchart/KDChartCustomBoxWrapper.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/kchart/kdchart/KDChartCustomBoxWrapper.h b/kchart/kdchart/KDChartCustomBoxWrapper.h
new file mode 100644
index 00000000..b294a249
--- /dev/null
+++ b/kchart/kdchart/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 */
+