diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-22 10:36:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-23 07:17:50 +0000 |
commit | 29a9e97db65bcf5914aed9bf8cb8e8f38c3c5fc0 (patch) | |
tree | d4c30fc0519eb34bf27c47515a28908bf426a999 /include/vcl/spinfld.hxx | |
parent | c895cb32fa8d1cf7fa82cebbde9d8259e68e66f6 (diff) |
loplugin field-can-be-private in include/vcl..xmlscript
Change-Id: Ia03f7cccb256d825daa4dc6f4c0598448e46e6cf
Reviewed-on: https://gerrit.libreoffice.org/31069
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/spinfld.hxx')
-rw-r--r-- | include/vcl/spinfld.hxx | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx index 1630aa65daea..7d05f38dd039 100644 --- a/include/vcl/spinfld.hxx +++ b/include/vcl/spinfld.hxx @@ -28,41 +28,6 @@ class VCL_DLLPUBLIC SpinField : public Edit { -protected: - VclPtr<Edit> mpEdit; - AutoTimer maRepeatTimer; - Rectangle maUpperRect; - Rectangle maLowerRect; - Rectangle maDropDownRect; // noch nicht angebunden... - Link<SpinField&,void> maUpHdlLink; - Link<SpinField&,void> maDownHdlLink; - Link<SpinField&,void> maFirstHdlLink; - Link<SpinField&,void> maLastHdlLink; - bool mbRepeat:1, - mbSpin:1, - mbInitialUp:1, - mbInitialDown:1, - mbNoSelect:1, - mbUpperIn:1, - mbLowerIn:1, - mbInDropDown:1; - - using Window::ImplInit; - SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); - -private: - DECL_DLLPRIVATE_LINK( ImplTimeout, Timer*, void ); - SAL_DLLPRIVATE void ImplInitSpinFieldData(); - SAL_DLLPRIVATE void ImplCalcButtonAreas( OutputDevice* pDev, const Size& rOutSz, Rectangle& rDDArea, Rectangle& rSpinUpArea, Rectangle& rSpinDownArea ); - -protected: - virtual bool Notify( NotifyEvent& rNEvt ) override; - - void EndDropDown(); - - virtual void FillLayoutData() const override; - Rectangle * ImplFindPartRect( const Point& rPt ); - public: explicit SpinField( vcl::Window* pParent, WinBits nWinStyle ); virtual ~SpinField() override; @@ -97,6 +62,41 @@ public: virtual Size CalcSize(sal_Int32 nChars) const override; virtual FactoryFunction GetUITestFactory() const override; + +protected: + Rectangle maUpperRect; + Rectangle maLowerRect; + Rectangle maDropDownRect; // noch nicht angebunden... + + using Window::ImplInit; + SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle ); + + virtual bool Notify( NotifyEvent& rNEvt ) override; + + void EndDropDown(); + + virtual void FillLayoutData() const override; + Rectangle * ImplFindPartRect( const Point& rPt ); + +private: + DECL_DLLPRIVATE_LINK( ImplTimeout, Timer*, void ); + SAL_DLLPRIVATE void ImplInitSpinFieldData(); + SAL_DLLPRIVATE void ImplCalcButtonAreas( OutputDevice* pDev, const Size& rOutSz, Rectangle& rDDArea, Rectangle& rSpinUpArea, Rectangle& rSpinDownArea ); + + VclPtr<Edit> mpEdit; + AutoTimer maRepeatTimer; + Link<SpinField&,void> maUpHdlLink; + Link<SpinField&,void> maDownHdlLink; + Link<SpinField&,void> maFirstHdlLink; + Link<SpinField&,void> maLastHdlLink; + bool mbRepeat:1, + mbSpin:1, + mbInitialUp:1, + mbInitialDown:1, + mbNoSelect:1, + mbUpperIn:1, + mbLowerIn:1, + mbInDropDown:1; }; #endif // INCLUDED_VCL_SPINFLD_HXX |