diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-15 14:14:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-16 08:38:55 +0200 |
commit | a72445099566348a56410a0df7b04af35ab684b5 (patch) | |
tree | d24cdcacd4757f0df476519eec0951edb16ed2d7 /sfx2/source/appl/newhelp.hxx | |
parent | 11c4f58fb12810740cdd8409e4991a92efde6c97 (diff) |
convert Link<> to typed
Change-Id: Ied94f9defc1650822b8d09713e3d2f6fa2b8611d
Diffstat (limited to 'sfx2/source/appl/newhelp.hxx')
-rw-r--r-- | sfx2/source/appl/newhelp.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx index ce422d88d132..9ac7c85e24d7 100644 --- a/sfx2/source/appl/newhelp.hxx +++ b/sfx2/source/appl/newhelp.hxx @@ -127,7 +127,7 @@ private: Idle aFactoryIdle; Timer aKeywordTimer; - Link<> aKeywordLink; + Link<IndexTabPage_Impl&,void> aKeywordLink; OUString sFactory; OUString sKeyword; @@ -154,12 +154,12 @@ public: inline OUString GetFactory() const { return sFactory; } OUString GetSelectEntry() const; inline void SetFocusOnBox() { m_pIndexCB->GrabFocus(); } - inline bool HasFocusOnEdit() const { return m_pIndexCB->HasChildPathFocus(); } + inline bool HasFocusOnEdit() const { return m_pIndexCB->HasChildPathFocus(); } - inline void SetKeywordHdl( const Link<>& rLink ) { aKeywordLink = rLink; } + inline void SetKeywordHdl( const Link<IndexTabPage_Impl&,void>& rLink ) { aKeywordLink = rLink; } void SetKeyword( const OUString& rKeyword ); - bool HasKeyword() const; - bool HasKeywordIgnoreCase(); + bool HasKeyword() const; + bool HasKeywordIgnoreCase(); void OpenKeyword(); inline void SelectExecutableEntry() { m_pIndexCB->SelectExecutableEntry(); } @@ -289,7 +289,7 @@ private: Link<> aSelectFactoryLink; Link<> aPageDoubleClickLink; - Link<> aIndexKeywordLink; + Link<IndexTabPage_Impl&,void> aIndexKeywordLink; OUString sKeyword; VclPtr<SfxHelpWindow_Impl> pParentWin; @@ -316,7 +316,7 @@ private: DECL_LINK(SelectHdl, void *); DECL_LINK_TYPED(InitHdl, Idle *, void); DECL_LINK_TYPED(SelectFactoryHdl, Idle *, void); - DECL_LINK(KeywordHdl, void *); + DECL_LINK_TYPED(KeywordHdl, IndexTabPage_Impl&, void); DECL_LINK_TYPED(ContentTabPageDoubleClickHdl, SvTreeListBox*, bool); public: |