LibreOffice Module test (master) 1
|
Helper to send events to a window. More...
#include <eventposter.hxx>
Public Member Functions | |
EventPosterHelper (void) | |
EventPosterHelper (VclPtr< vcl::Window > xWindow) | |
EventPosterHelper (vcl::Window *pWindow) | |
vcl::Window * | getWindow () const |
void | setWindow (VclPtr< vcl::Window > xWindow) |
void | setWindow (vcl::Window *pWindow) |
operator bool () const | |
bool | operator! () const |
virtual void | postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const override |
virtual void | postExtTextEventAsync (int nType, const OUString &rText) const override |
virtual void | postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const=0 |
void | postKeyEventAsync (int nCharCode, int nKeyCode) const |
Posts a full key down/up cycle. More... | |
virtual void | postExtTextEventAsync (int nType, const OUString &rText) const=0 |
void | postExtTextEventAsync (const OUString &rText) const |
Posts a full text input + commit sequence. More... | |
Public Member Functions inherited from test::EventPosterHelperBase | |
virtual | ~EventPosterHelperBase () |
virtual void | postKeyEventAsync (int nType, int nCharCode, int nKeyCode) const =0 |
void | postKeyEventAsync (int nCharCode, int nKeyCode) const |
Posts a full key down/up cycle. More... | |
virtual void | postExtTextEventAsync (int nType, const OUString &rText) const =0 |
void | postExtTextEventAsync (const OUString &rText) const |
Posts a full text input + commit sequence. More... | |
Protected Attributes | |
VclPtr< vcl::Window > | mxWindow |
Helper to send events to a window.
This helper basically just wraps SfxLokHelper::post*EventAsync() calls to hold the target window reference in the class.
Definition at line 66 of file eventposter.hxx.
|
inline |
Definition at line 72 of file eventposter.hxx.
|
inline |
Definition at line 76 of file eventposter.hxx.
|
inline |
Definition at line 80 of file eventposter.hxx.
|
inline |
Definition at line 85 of file eventposter.hxx.
|
inlineexplicit |
Definition at line 90 of file eventposter.hxx.
|
inline |
Definition at line 91 of file eventposter.hxx.
|
inline |
Posts a full text input + commit sequence.
Definition at line 53 of file eventposter.hxx.
|
overridevirtual |
Implements test::EventPosterHelperBase.
Definition at line 25 of file eventposter.cxx.
References nType, and SfxLokHelper::postExtTextEventAsync().
|
virtual |
Implements test::EventPosterHelperBase.
Posts a full key down/up cycle.
Definition at line 43 of file eventposter.hxx.
|
overridevirtual |
Implements test::EventPosterHelperBase.
Definition at line 20 of file eventposter.cxx.
References mxWindow, nType, and SfxLokHelper::postKeyEventAsync().
|
virtual |
Implements test::EventPosterHelperBase.
|
inline |
Definition at line 88 of file eventposter.hxx.
|
inline |
Definition at line 87 of file eventposter.hxx.
|
protected |
Definition at line 69 of file eventposter.hxx.
Referenced by postKeyEventAsync().