diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 14:56:33 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-08-02 14:56:33 +0000 |
commit | 8b72c237175e467dca050e2558cdd7fa0cc39d39 (patch) | |
tree | b3bbc0fe384e9500b909a5fea230502fb489c145 /dbaccess/source/ui/inc/curledit.hxx | |
parent | d61231329e4d3e5841e9af734010de6cdaf046c4 (diff) |
INTEGRATION: CWS insight01 (1.4.64); FILE MERGED
2003/08/01 11:51:22 oj 1.4.64.2: #111090# ongoing work
2003/07/29 12:22:21 oj 1.4.64.1: #111075# insight changes
Diffstat (limited to 'dbaccess/source/ui/inc/curledit.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/curledit.hxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/dbaccess/source/ui/inc/curledit.hxx b/dbaccess/source/ui/inc/curledit.hxx index 5eeb17789ad4..cf7239d82402 100644 --- a/dbaccess/source/ui/inc/curledit.hxx +++ b/dbaccess/source/ui/inc/curledit.hxx @@ -2,9 +2,9 @@ * * $RCSfile: curledit.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: hr $ $Date: 2003-03-19 17:52:38 $ + * last change: $Author: hr $ $Date: 2004-08-02 15:56:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -89,10 +89,11 @@ class OConnectionURLEdit : public Edit ODsnTypeCollection m_aTypeCollection; FixedText* m_pForcedPrefix; String m_sSaveValueNoPrefix; + BOOL m_bShowPrefix; // when <TRUE> the prefix will be visible, otherwise not public: - OConnectionURLEdit(Window* pParent, WinBits nStyle = WB_BORDER); - OConnectionURLEdit(Window* pParent, const ResId& rResId); + OConnectionURLEdit(Window* pParent, WinBits nStyle = WB_BORDER,BOOL _bShowPrefix = FALSE); + OConnectionURLEdit(Window* pParent, const ResId& rResId,BOOL _bShowPrefix = FALSE); ~OConnectionURLEdit(); public: @@ -101,6 +102,12 @@ public: virtual void SetText(const String& _rStr, const Selection& _rNewSelection); virtual String GetText() const; + + /** Showsthe Prefix + @param _bShowPrefix + If <TRUE/> than the prefix will be visible, otherwise not. + */ + void ShowPrefix(BOOL _bShowPrefix); /// get the currently set text, excluding the prefix indicating the type virtual String GetTextNoPrefix() const; /// set a new text, leave the current prefix unchanged |