diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-11-24 22:40:33 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-11-24 22:56:34 +0100 |
commit | 6bb20609a2fd1d591cedc7fa2b9cabb589c346c7 (patch) | |
tree | 8faf98099786b0c7b6520075d376c55bbd3cddd6 /include/vcl/field.hxx | |
parent | SwContentTree: those 3 booleans are mutually exclusive (diff) | |
download | core-6bb20609a2fd1d591cedc7fa2b9cabb589c346c7.tar.gz core-6bb20609a2fd1d591cedc7fa2b9cabb589c346c7.zip |
vcl: rename Window::Notify to EventNotify
There is annoying overloading between Window::Notify and
SfxListener::Notify, and the Window one has apparently fewer
implementations, so rename that and remove lots of disambiguating
"using Notify" in multiply inheriting classes.
Change-Id: I8b597fd9e70cf2e7103b9dfa7cc666e79e7aff49
Diffstat (limited to 'include/vcl/field.hxx')
-rw-r--r-- | include/vcl/field.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index bca7e4e8fd8a..c19865b4e76e 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -430,7 +430,7 @@ public: explicit PatternField( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void Modify() override; virtual void dispose() override; }; @@ -442,7 +442,7 @@ public: explicit NumericField( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual Size CalcMinimumSize() const override; @@ -464,7 +464,7 @@ public: explicit MetricField( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual Size CalcMinimumSize() const override; @@ -527,7 +527,7 @@ public: CurrencyField( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; @@ -553,7 +553,7 @@ public: explicit DateField( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; @@ -584,7 +584,7 @@ public: explicit TimeField( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; @@ -610,7 +610,7 @@ public: PatternBox( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void Modify() override; @@ -627,7 +627,7 @@ public: virtual Size CalcMinimumSize() const override; virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; @@ -645,7 +645,7 @@ public: explicit MetricBox( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual Size CalcMinimumSize() const override; @@ -675,7 +675,7 @@ public: explicit CurrencyBox( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; @@ -693,7 +693,7 @@ public: explicit DateBox( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; @@ -709,7 +709,7 @@ public: explicit TimeBox( vcl::Window* pParent, WinBits nWinStyle ); virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool Notify( NotifyEvent& rNEvt ) override; + virtual bool EventNotify( NotifyEvent& rNEvt ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; virtual void Modify() override; |