summaryrefslogtreecommitdiffstats
path: root/include/vcl/layout.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-21 15:53:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-22 06:43:22 +0000
commit7444355f1d544e015083c2412696e1df6f295e2d (patch)
tree91fa85435fd2bc0a1c84eb93d2a1f0840e119dbe /include/vcl/layout.hxx
parentconvert VclSizeGroupMode to scoped enum (diff)
downloadcore-7444355f1d544e015083c2412696e1df6f295e2d.tar.gz
core-7444355f1d544e015083c2412696e1df6f295e2d.zip
convert VclButtonBoxStyle to scoped enum
Change-Id: If3d02c9be54a509f85214acbf4a1e6cfd8955dc4 Reviewed-on: https://gerrit.libreoffice.org/32291 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/layout.hxx')
-rw-r--r--include/vcl/layout.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index d487a9ed468a..3e03ca20c860 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -186,14 +186,14 @@ protected:
}
};
-enum VclButtonBoxStyle
+enum class VclButtonBoxStyle
{
- VCL_BUTTONBOX_DEFAULT_STYLE,
- VCL_BUTTONBOX_SPREAD,
- VCL_BUTTONBOX_EDGE,
- VCL_BUTTONBOX_START,
- VCL_BUTTONBOX_END,
- VCL_BUTTONBOX_CENTER
+ Default,
+ Spread,
+ Edge,
+ Start,
+ End,
+ Center
};
class VCL_DLLPUBLIC VclButtonBox : public VclBox
@@ -201,7 +201,7 @@ class VCL_DLLPUBLIC VclButtonBox : public VclBox
public:
VclButtonBox(vcl::Window *pParent)
: VclBox(pParent, false, 0/*nSpacing*/)
- , m_eLayoutStyle(VCL_BUTTONBOX_DEFAULT_STYLE)
+ , m_eLayoutStyle(VclButtonBoxStyle::Default)
{
}
virtual bool set_property(const OString &rKey, const OString &rValue) override;