aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/pen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/pen.cpp')
-rw-r--r--sources/shiboken2/tests/libsample/pen.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/libsample/pen.cpp b/sources/shiboken2/tests/libsample/pen.cpp
index b08721f79..1f39e7cbb 100644
--- a/sources/shiboken2/tests/libsample/pen.cpp
+++ b/sources/shiboken2/tests/libsample/pen.cpp
@@ -69,3 +69,13 @@ int Pen::ctorType()
void Pen::drawLine(int x1, int y1, int x2, int y2, RenderHints renderHints)
{
}
+
+Pen::RenderHints Pen::getRenderHints() const
+{
+ return m_renderHints;
+}
+
+void Pen::setRenderHints(RenderHints h)
+{
+ m_renderHints = h;
+}