diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:40:50 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 16:42:29 +0100 |
commit | 04683f14883f4cd64febadd71b327639f1e7edcc (patch) | |
tree | d1195eec7abc45fcf3b28776278f3856638a4a32 /include/vcl | |
parent | 734cf8395d745db73f52fd6d625d7deb77ba6d40 (diff) |
Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/combobox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/ctrl.hxx | 2 | ||||
-rw-r--r-- | include/vcl/dialog.hxx | 2 | ||||
-rw-r--r-- | include/vcl/dockwin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/field.hxx | 24 | ||||
-rw-r--r-- | include/vcl/floatwin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 2 | ||||
-rw-r--r-- | include/vcl/longcurr.hxx | 4 | ||||
-rw-r--r-- | include/vcl/spinfld.hxx | 2 | ||||
-rw-r--r-- | include/vcl/split.hxx | 2 | ||||
-rw-r--r-- | include/vcl/syswin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/tabctrl.hxx | 4 | ||||
-rw-r--r-- | include/vcl/toolbox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/vclmedit.hxx | 2 | ||||
-rw-r--r-- | include/vcl/window.hxx | 2 |
15 files changed, 28 insertions, 28 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 6cd3d5c1c806..81849c477b9f 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -97,7 +97,7 @@ public: virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); virtual void Resize(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx index 0a5fdf963df1..94527934ce51 100644 --- a/include/vcl/ctrl.hxx +++ b/include/vcl/ctrl.hxx @@ -130,7 +130,7 @@ public: virtual void GetFocus(); virtual void LoseFocus(); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void StateChanged( StateChangedType nStateChange ); virtual void Resize(); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index 1e9c6c9bbf5d..04279b6fb1b0 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -95,7 +95,7 @@ public: explicit Dialog( Window* pParent, const OString& rID, const OUString& rUIXMLDescription ); virtual ~Dialog(); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void StateChanged( StateChangedType nStateChange ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx index ef2831691dc0..9d9c6f4d385a 100644 --- a/include/vcl/dockwin.hxx +++ b/include/vcl/dockwin.hxx @@ -296,7 +296,7 @@ public: virtual void Resizing( Size& rSize ); virtual sal_Bool Close(); virtual void Tracking( const TrackingEvent& rTEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index aa591a866c1c..b75b4dd0aaf6 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -487,7 +487,7 @@ public: virtual ~PatternField(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void Modify(); }; @@ -507,7 +507,7 @@ public: virtual ~NumericField(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual Size CalcMinimumSize() const; @@ -537,7 +537,7 @@ public: virtual ~MetricField(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual Size CalcMinimumSize() const; @@ -605,7 +605,7 @@ public: ~CurrencyField(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); @@ -637,7 +637,7 @@ public: virtual ~DateField(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); @@ -673,7 +673,7 @@ public: virtual ~TimeField(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); @@ -703,7 +703,7 @@ public: ~PatternBox(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void Modify(); @@ -725,7 +725,7 @@ public: virtual Size CalcMinimumSize() const; virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); @@ -747,7 +747,7 @@ public: virtual ~MetricBox(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual Size CalcMinimumSize() const; @@ -781,7 +781,7 @@ public: virtual ~CurrencyBox(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); @@ -802,7 +802,7 @@ public: virtual ~DateBox(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); @@ -822,7 +822,7 @@ public: virtual ~TimeBox(); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual void Modify(); diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx index 9a9dbdcd11b1..a3ece25dfe8b 100644 --- a/include/vcl/floatwin.hxx +++ b/include/vcl/floatwin.hxx @@ -120,7 +120,7 @@ public: explicit FloatingWindow( Window* pParent, const ResId& ); virtual ~FloatingWindow(); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 6c9e35559fb0..3ea8d3133758 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -567,7 +567,7 @@ protected: virtual void setAllocation(const Size &rAllocation); DECL_LINK(ScrollBarHdl, void *); void InitScrollBars(const Size &rRequest); - virtual long Notify(NotifyEvent& rNEvt); + virtual bool Notify(NotifyEvent& rNEvt); private: bool m_bUserManagedScrolling; ScrollBar m_aVScroll; diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx index d3b7078e2239..be53773e9021 100644 --- a/include/vcl/longcurr.hxx +++ b/include/vcl/longcurr.hxx @@ -93,7 +93,7 @@ public: ~LongCurrencyField(); long PreNotify( NotifyEvent& rNEvt ); - long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); void Modify(); void Up(); @@ -120,7 +120,7 @@ public: ~LongCurrencyBox(); long PreNotify( NotifyEvent& rNEvt ); - long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); void Modify(); void ReformatAll(); diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx index 9e51a6f96eb9..d987743b87b7 100644 --- a/include/vcl/spinfld.hxx +++ b/include/vcl/spinfld.hxx @@ -61,7 +61,7 @@ private: protected: explicit SpinField( WindowType nTyp ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void Command( const CommandEvent& rCEvt ); void EndDropDown(); diff --git a/include/vcl/split.hxx b/include/vcl/split.hxx index 932fd2cf8632..c5b97a775417 100644 --- a/include/vcl/split.hxx +++ b/include/vcl/split.hxx @@ -79,7 +79,7 @@ public: virtual void MouseButtonDown( const MouseEvent& rMEvt ); virtual void Tracking( const TrackingEvent& rTEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void GetFocus(); virtual void LoseFocus(); diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index 6631944e03cf..c26c637c6455 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -175,7 +175,7 @@ protected: public: ~SystemWindow(); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual long PreNotify( NotifyEvent& rNEvt ); virtual sal_Bool Close(); diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 280006f51c69..e2534409e0e1 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -73,7 +73,7 @@ private: SAL_DLLPRIVATE void ImplDrawItem( ImplTabItem* pItem, const Rectangle& rCurRect, bool bLayout = false, bool bFirstInGroup = false, bool bLastInGroup = false, bool bIsCurrentItem = false ); SAL_DLLPRIVATE void ImplPaint( const Rectangle& rRect, bool bLayout = false ); SAL_DLLPRIVATE void ImplFreeLayoutData(); - SAL_DLLPRIVATE long ImplHandleKeyEvent( const KeyEvent& rKeyEvent ); + SAL_DLLPRIVATE bool ImplHandleKeyEvent( const KeyEvent& rKeyEvent ); DECL_DLLPRIVATE_LINK( ImplListBoxSelectHdl, void* ); DECL_DLLPRIVATE_LINK( ImplWindowEventListener, VclSimpleEvent* ); @@ -103,7 +103,7 @@ public: virtual void LoseFocus(); virtual void RequestHelp( const HelpEvent& rHEvt ); virtual void Command( const CommandEvent& rCEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual long PreNotify( NotifyEvent& rNEvt ); diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 2b535721cfcb..e7668b857af9 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -320,7 +320,7 @@ public: virtual void Move(); virtual void Resize(); virtual void RequestHelp( const HelpEvent& rHEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual void Command( const CommandEvent& rCEvt ); virtual void StateChanged( StateChangedType nType ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index e1c69e3564af..ef12a376b484 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -48,7 +48,7 @@ protected: void StateChanged( StateChangedType nType ); void DataChanged( const DataChangedEvent& rDCEvt ); virtual long PreNotify( NotifyEvent& rNEvt ); - long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); using Control::ImplInitSettings; void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground ); WinBits ImplInitStyle( WinBits nStyle ); diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 991daf6796d1..14d2b69c53e1 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -598,7 +598,7 @@ public: virtual void StateChanged( StateChangedType nStateChange ); virtual void DataChanged( const DataChangedEvent& rDCEvt ); virtual long PreNotify( NotifyEvent& rNEvt ); - virtual long Notify( NotifyEvent& rNEvt ); + virtual bool Notify( NotifyEvent& rNEvt ); virtual Window* GetPreferredKeyInputWindow(); /*virtual*/ void AddEventListener( const Link& rEventListener ); |