LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
weld::ButtonPressRepeater Class Referencefinal

#include <weldutils.hxx>

Inheritance diagram for weld::ButtonPressRepeater:
[legend]
Collaboration diagram for weld::ButtonPressRepeater:
[legend]

Public Member Functions

 ButtonPressRepeater (weld::Button &rButton, const Link< Button &, void > &rLink, const Link< const CommandEvent &, void > &rContextLink=Link< const CommandEvent &, void >())
 
void Stop ()
 
bool IsModKeyPressed () const
 

Private Member Functions

 DECL_LINK (MousePressHdl, const MouseEvent &, bool)
 
 DECL_LINK (MouseReleaseHdl, const MouseEvent &, bool)
 
 DECL_LINK (RepeatTimerHdl, Timer *, void)
 

Private Attributes

weld::Buttonm_rButton
 
AutoTimer m_aRepeat
 
const Link< Button &, voidm_aLink
 
const Link< const CommandEvent &, voidm_aContextLink
 
bool m_bModKey
 

Detailed Description

Definition at line 399 of file weldutils.hxx.

Constructor & Destructor Documentation

weld::ButtonPressRepeater::ButtonPressRepeater ( weld::Button rButton,
const Link< Button &, void > &  rLink,
const Link< const CommandEvent &, void > &  rContextLink = Link<const CommandEvent&, void>() 
)

Member Function Documentation

weld::ButtonPressRepeater::DECL_LINK ( MousePressHdl  ,
const MouseEvent ,
bool   
)
private
weld::ButtonPressRepeater::DECL_LINK ( MouseReleaseHdl  ,
const MouseEvent ,
bool   
)
private
weld::ButtonPressRepeater::DECL_LINK ( RepeatTimerHdl  ,
Timer ,
void   
)
private
bool weld::ButtonPressRepeater::IsModKeyPressed ( ) const
inline

Definition at line 418 of file weldutils.hxx.

void weld::ButtonPressRepeater::Stop ( )
inline

Definition at line 417 of file weldutils.hxx.

References Task::Stop().

Member Data Documentation

const Link<const CommandEvent&, void> weld::ButtonPressRepeater::m_aContextLink
private

Definition at line 406 of file weldutils.hxx.

const Link<Button&, void> weld::ButtonPressRepeater::m_aLink
private

Definition at line 405 of file weldutils.hxx.

AutoTimer weld::ButtonPressRepeater::m_aRepeat
private

Definition at line 404 of file weldutils.hxx.

Referenced by ButtonPressRepeater().

bool weld::ButtonPressRepeater::m_bModKey
private

Definition at line 407 of file weldutils.hxx.

weld::Button& weld::ButtonPressRepeater::m_rButton
private

Definition at line 403 of file weldutils.hxx.

Referenced by ButtonPressRepeater().


The documentation for this class was generated from the following files: