summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-08-04 20:55:41 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-08-31 14:50:38 +0000
commit422570e235958442f033dfe213e4217b93f3c4ab (patch)
tree43edb35889c75f3ab41351eefcfc53d704642cf5 /src
parentAdd WidgetLabel replacing the former ParamDescription (diff)
downloadinkscape-422570e235958442f033dfe213e4217b93f3c4ab.tar.gz
inkscape-422570e235958442f033dfe213e4217b93f3c4ab.zip
Translatable enum can be protected
Diffstat (limited to 'src')
-rw-r--r--src/extension/prefdialog/widget.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/extension/prefdialog/widget.h b/src/extension/prefdialog/widget.h
index 7887f5579..31fe957f1 100644
--- a/src/extension/prefdialog/widget.h
+++ b/src/extension/prefdialog/widget.h
@@ -39,11 +39,6 @@ class Extension;
*/
class InxWidget {
public:
-
- enum Translatable {
- UNSET, YES, NO
- };
-
InxWidget(Inkscape::XML::Node *in_repr, Inkscape::Extension::Extension *in_ext);
virtual ~InxWidget();
@@ -81,6 +76,10 @@ public:
const static int GUI_MAX_LINE_LENGTH = 60;
protected:
+ enum Translatable {
+ UNSET, YES, NO
+ };
+
/** Which extension is this Widget attached to. */
Inkscape::Extension::Extension *_extension = nullptr;