diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 08:06:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-24 10:54:23 +0200 |
commit | f49b6d89fd9a903ce01a30bf9971188737ceda14 (patch) | |
tree | 8e70bf3f9fd7f29a52cbd3440cb9423eaebd72d4 /svtools/inc/roadmap.hxx | |
parent | 89b08e23180c242a058653e246ace2ca47b56a3a (diff) |
loplugin:finalclasses in svtools
Change-Id: I596342a3d32e116ac5994b60a5bd8717d4f6a5dd
Reviewed-on: https://gerrit.libreoffice.org/43733
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/inc/roadmap.hxx')
-rw-r--r-- | svtools/inc/roadmap.hxx | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/svtools/inc/roadmap.hxx b/svtools/inc/roadmap.hxx index 193ceac94060..bfaf39befc25 100644 --- a/svtools/inc/roadmap.hxx +++ b/svtools/inc/roadmap.hxx @@ -41,14 +41,8 @@ public: class RoadmapImpl; class RoadmapItem; -class SVT_DLLPUBLIC ORoadmap : public Control, public RoadmapTypes +class SVT_DLLPUBLIC ORoadmap final : public Control, public RoadmapTypes { -protected: - std::unique_ptr<RoadmapImpl> m_pImpl; - // Window overridables - void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& _rRect) override; - void implInit(vcl::RenderContext& rRenderContext); - public: ORoadmap( vcl::Window* _pParent, WinBits _nWinStyle ); virtual ~ORoadmap( ) override; @@ -83,14 +77,12 @@ public: virtual void GetFocus() override; virtual void ApplySettings( vcl::RenderContext& rRenderContext ) override; -protected: +private: bool PreNotify( NotifyEvent& rNEvt ) override; -protected: /// called when an item has been selected by any means - void Select(); + void Select(); -private: DECL_LINK(ImplClickHdl, HyperLabel*, void); RoadmapItem* GetByIndex( ItemIndex _nItemIndex ); @@ -107,6 +99,12 @@ private: RoadmapItem* GetByPointer(vcl::Window const * pWindow); RoadmapItem* InsertHyperLabel( ItemIndex Index, const OUString& _aStr, ItemId RMID, bool _bEnabled, bool _bIncomplete ); void UpdatefollowingHyperLabels( ItemIndex Index ); + + // Window overridables + void Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& _rRect) override; + void implInit(vcl::RenderContext& rRenderContext); + + std::unique_ptr<RoadmapImpl> m_pImpl; }; } // namespace svt |