diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/pen.h')
-rw-r--r-- | sources/shiboken6/tests/libsample/pen.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sources/shiboken6/tests/libsample/pen.h b/sources/shiboken6/tests/libsample/pen.h index 770623519..6f528f0f9 100644 --- a/sources/shiboken6/tests/libsample/pen.h +++ b/sources/shiboken6/tests/libsample/pen.h @@ -15,6 +15,7 @@ public: Color(unsigned int arg); bool isNull() const; + private: bool m_null = true; }; @@ -48,8 +49,12 @@ public: Pen(); Pen(SampleNamespace::Option option); - Pen(const Color& color); - Pen(const Pen& pen); + Pen(const Color &color); + Pen(const Pen &pen); + Pen(Pen &&) noexcept; + Pen &operator=(const Pen &pen); + Pen &operator=(Pen &&) noexcept; + ~Pen() = default; // PYSIDE-1325, default initializer void drawLine(int x1, int y1, int x2, int y2, RenderHints renderHints = {}); @@ -60,7 +65,7 @@ public: void setRenderHints(RenderHints h); private: - int m_ctor; + int m_ctor = EmptyCtor; RenderHints m_renderHints = None; }; |