diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-06-30 14:57:24 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-06-30 14:57:24 +0000 |
commit | cab0b912d8cdf3d255ad7a97b15a03ccd0f511e4 (patch) | |
tree | e6ce93ffe1c1683a4942311d40bc03e03667ec76 /sw/source/ui/inc/actctrl.hxx | |
parent | e71902fe7817ae051513a5d4ca5f182e2a9bcce6 (diff) |
INTEGRATION: CWS aig04 (1.2.238); FILE MERGED
2003/06/26 09:43:02 os 1.2.238.2: #108791# syntax
2003/06/26 07:29:22 os 1.2.238.1: #108791# List item edit field inserts on RETURN key
Diffstat (limited to 'sw/source/ui/inc/actctrl.hxx')
-rw-r--r-- | sw/source/ui/inc/actctrl.hxx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sw/source/ui/inc/actctrl.hxx b/sw/source/ui/inc/actctrl.hxx index bf649468f879..463fa8551545 100644 --- a/sw/source/ui/inc/actctrl.hxx +++ b/sw/source/ui/inc/actctrl.hxx @@ -2,9 +2,9 @@ * * $RCSfile: actctrl.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: fme $ $Date: 2001-08-16 09:32:52 $ + * last change: $Author: hr $ $Date: 2003-06-30 15:57:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -114,6 +114,20 @@ public: NoSpaceEdit(pWin, rResId) {SetForbiddenChars(String::CreateFromAscii(" .<>"));} }; +/* -----------------25.06.2003 15:55----------------- + call a link when KEY_RETURN is pressed + --------------------------------------------------*/ +class ReturnActionEdit : public Edit +{ + Link aReturnActionLink; +public: + ReturnActionEdit( Window* pParent, const ResId& rResId) + : Edit(pParent, rResId){} + ~ReturnActionEdit(); + virtual void KeyInput( const KeyEvent& ); + void SetReturnActionLink(Link& rLink) + { aReturnActionLink = rLink;} +}; #endif |