diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-02-01 16:46:05 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-02-01 17:38:59 +0100 |
commit | 150befe0fe9533f39df55b0d95ad25caaddf1830 (patch) | |
tree | c4f6492529a65b055fccc0f944f92c03959e9243 /vcl/inc | |
parent | b3c3e116ff0eb9b550b73d3901395c042e31d192 (diff) |
const is such a useless concept anyway </sarcasm>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salgdi.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/salnativewidgets.hxx | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/vcl/inc/salgdi.hxx b/vcl/inc/salgdi.hxx index 7736832c1735..d29247bb229d 100644 --- a/vcl/inc/salgdi.hxx +++ b/vcl/inc/salgdi.hxx @@ -351,7 +351,7 @@ public: sal_Bool mirror( sal_uInt32 nPoints, const SalPoint *pPtAry, SalPoint *pPtAry2, const OutputDevice *pOutDev, bool bBack = false ) const; void mirror( Rectangle& rRect, const OutputDevice*, bool bBack = false ) const; void mirror( Region& rRgn, const OutputDevice *pOutDev, bool bBack = false ) const; - void mirror( ControlType,const ImplControlValue&,const OutputDevice*,bool bBack = false) const; + void mirror( ImplControlValue&, const OutputDevice*, bool bBack = false ) const; basegfx::B2DPoint mirror( const basegfx::B2DPoint& i_rPoint, const OutputDevice *pOutDev, bool bBack = false ) const; basegfx::B2DPolygon mirror( const basegfx::B2DPolygon& i_rPoly, const OutputDevice *pOutDev, bool bBack = false ) const; basegfx::B2DPolyPolygon mirror( const basegfx::B2DPolyPolygon& i_rPoly, const OutputDevice *pOutDev, bool bBack = false ) const; diff --git a/vcl/inc/vcl/salnativewidgets.hxx b/vcl/inc/vcl/salnativewidgets.hxx index af392854ee1d..6c7cba11ebb6 100644 --- a/vcl/inc/vcl/salnativewidgets.hxx +++ b/vcl/inc/vcl/salnativewidgets.hxx @@ -297,6 +297,8 @@ class VCL_DLLPUBLIC ImplControlValue virtual ~ImplControlValue(); + virtual ImplControlValue* clone() const; + ControlType getType() const { return mType; } inline ButtonValue getTristateVal( void ) const { return mTristate; } @@ -334,6 +336,7 @@ class VCL_DLLPUBLIC ScrollbarValue : public ImplControlValue mnThumbState = 0; mnPage1State = 0; mnPage2State = 0; }; virtual ~ScrollbarValue(); + virtual ScrollbarValue* clone() const; }; class VCL_DLLPUBLIC SliderValue : public ImplControlValue @@ -350,6 +353,7 @@ class VCL_DLLPUBLIC SliderValue : public ImplControlValue , mnMin( 0 ), mnMax( 0 ), mnCur( 0 ), mnThumbState( 0 ) {} virtual ~SliderValue(); + virtual SliderValue* clone() const; }; /* TabitemValue: @@ -375,6 +379,7 @@ class VCL_DLLPUBLIC TabitemValue : public ImplControlValue mnAlignment = 0; }; virtual ~TabitemValue(); + virtual TabitemValue* clone() const; sal_Bool isLeftAligned() const { return (mnAlignment & TABITEM_LEFTALIGNED) != 0; } sal_Bool isRightAligned() const { return (mnAlignment & TABITEM_RIGHTALIGNED) != 0; } @@ -406,6 +411,7 @@ class VCL_DLLPUBLIC SpinbuttonValue : public ImplControlValue mnUpperState = mnLowerState = 0; }; virtual ~SpinbuttonValue(); + virtual SpinbuttonValue* clone() const; }; /* Toolbarvalue: @@ -418,6 +424,7 @@ public: ToolbarValue() : ImplControlValue( CTRL_TOOLBAR, BUTTONVALUE_DONTKNOW, 0 ) { mbIsTopDockingArea = sal_False; } virtual ~ToolbarValue(); + virtual ToolbarValue* clone() const; Rectangle maGripRect; sal_Bool mbIsTopDockingArea; // indicates that this is the top aligned dockingarea // adjacent to the menubar @@ -433,6 +440,7 @@ public: MenubarValue() : ImplControlValue( CTRL_MENUBAR, BUTTONVALUE_DONTKNOW, 0 ) { maTopDockingAreaHeight=0; } virtual ~MenubarValue(); + virtual MenubarValue* clone() const; int maTopDockingAreaHeight; }; @@ -451,6 +459,7 @@ public: , maItemRect( i_rItemRect ) {} virtual ~MenupopupValue(); + virtual MenupopupValue* clone() const; Rectangle maItemRect; }; @@ -465,6 +474,7 @@ public: : ImplControlValue( CTRL_PUSHBUTTON, BUTTONVALUE_DONTKNOW, 0 ) , mbBevelButton( false ), mbSingleLine( true ) {} virtual ~PushButtonValue(); + virtual PushButtonValue* clone() const; bool mbBevelButton:1; bool mbSingleLine:1; |