1
1
/*
2
- * Copyright (C) 2021 Linux Studio Plugins Project <https://lsp-plug.in/>
3
- * (C) 2021 Vladimir Sadovnikov <[email protected] >
2
+ * Copyright (C) 2025 Linux Studio Plugins Project <https://lsp-plug.in/>
3
+ * (C) 2025 Vladimir Sadovnikov <[email protected] >
4
4
*
5
5
* This file is part of lsp-tk-lib
6
6
* Created on: 13 июн. 2021 г.
@@ -48,10 +48,6 @@ namespace lsp
48
48
*/
49
49
class Bevel : public Widget
50
50
{
51
- private:
52
- Bevel & operator = (const Bevel &);
53
- Bevel (const Bevel &);
54
-
55
51
public:
56
52
static const w_class_t metadata;
57
53
@@ -75,7 +71,12 @@ namespace lsp
75
71
76
72
public:
77
73
explicit Bevel (Display *dpy);
78
- virtual ~Bevel ();
74
+ Bevel (const Bevel &) = delete ;
75
+ Bevel (Bevel &&) = delete ;
76
+ virtual ~Bevel () override ;
77
+
78
+ Bevel & operator = (const Bevel &) = delete ;
79
+ Bevel & operator = (Bevel &&) = delete ;
79
80
80
81
public:
81
82
LSP_TK_PROPERTY (SizeConstraints, constraints, &sConstraints )
@@ -86,13 +87,13 @@ namespace lsp
86
87
LSP_TK_PROPERTY (Arrangement, arrangement, &sArrangement )
87
88
88
89
protected:
89
- virtual void size_request (ws::size_limit_t *r);
90
- virtual void property_changed (Property *prop);
90
+ virtual void size_request (ws::size_limit_t *r) override ;
91
+ virtual void property_changed (Property *prop) override ;
91
92
92
93
public:
93
- virtual status_t init ();
94
+ virtual status_t init () override ;
94
95
95
- virtual void render (ws::ISurface *s, const ws::rectangle_t *area, bool force);
96
+ virtual void render (ws::ISurface *s, const ws::rectangle_t *area, bool force) override ;
96
97
};
97
98
98
99
} /* namespace tk */
0 commit comments