summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-18 00:18:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-18 00:37:49 +0100
commit602c87b4259d118e5db6d8a990c4695103f916dd (patch)
tree1cbc6cf8309b680476f5116cd5320f8f6a99c32a /include/vcl
parent849482c0ea88c4aa70ec56adfefe7e59b6060950 (diff)
Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/button.hxx6
-rw-r--r--include/vcl/combobox.hxx2
-rw-r--r--include/vcl/field.hxx24
-rw-r--r--include/vcl/longcurr.hxx4
-rw-r--r--include/vcl/lstbox.hxx2
-rw-r--r--include/vcl/scrbar.hxx2
-rw-r--r--include/vcl/spin.hxx2
-rw-r--r--include/vcl/spinfld.hxx2
-rw-r--r--include/vcl/splitwin.hxx2
-rw-r--r--include/vcl/syswin.hxx2
-rw-r--r--include/vcl/tabctrl.hxx2
-rw-r--r--include/vcl/vclmedit.hxx2
-rw-r--r--include/vcl/window.hxx2
13 files changed, 27 insertions, 27 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index b1a1179eb05e..17a2228eaf55 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -159,7 +159,7 @@ public:
virtual void LoseFocus();
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual void UserDraw( const UserDrawEvent& rUDEvt );
virtual void Toggle();
@@ -357,7 +357,7 @@ public:
virtual void LoseFocus();
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual void Toggle();
@@ -472,7 +472,7 @@ public:
virtual void LoseFocus();
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual void Toggle();
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 81849c477b9f..fd49eaab8ad6 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -96,7 +96,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 bool PreNotify( 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 b75b4dd0aaf6..acc59a3e2cc6 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -486,7 +486,7 @@ public:
explicit PatternField( Window* pParent, WinBits nWinStyle );
virtual ~PatternField();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void Modify();
};
@@ -506,7 +506,7 @@ public:
explicit NumericField( Window* pParent, const ResId& );
virtual ~NumericField();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -536,7 +536,7 @@ public:
explicit MetricField( Window* pParent, const ResId& );
virtual ~MetricField();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -604,7 +604,7 @@ public:
~CurrencyField();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -636,7 +636,7 @@ public:
explicit DateField( Window* pParent, const ResId& );
virtual ~DateField();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -672,7 +672,7 @@ public:
explicit TimeField( Window* pParent, const ResId& );
virtual ~TimeField();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -702,7 +702,7 @@ public:
PatternBox( Window* pParent, WinBits nWinStyle );
~PatternBox();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void Modify();
@@ -724,7 +724,7 @@ public:
virtual Size CalcMinimumSize() const;
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -746,7 +746,7 @@ public:
explicit MetricBox( Window* pParent, WinBits nWinStyle );
virtual ~MetricBox();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -780,7 +780,7 @@ public:
explicit CurrencyBox( Window* pParent, const ResId& );
virtual ~CurrencyBox();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -801,7 +801,7 @@ public:
explicit DateBox( Window* pParent, WinBits nWinStyle );
virtual ~DateBox();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -821,7 +821,7 @@ public:
explicit TimeBox( Window* pParent, WinBits nWinStyle );
virtual ~TimeBox();
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx
index be53773e9021..cc08b9518a1d 100644
--- a/include/vcl/longcurr.hxx
+++ b/include/vcl/longcurr.hxx
@@ -92,7 +92,7 @@ public:
LongCurrencyField( Window* pParent, WinBits nWinStyle );
~LongCurrencyField();
- long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
void Modify();
@@ -119,7 +119,7 @@ public:
LongCurrencyBox( Window* pParent, WinBits nWinStyle );
~LongCurrencyBox();
- long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
void Modify();
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index e57ea803a7fc..c918d1e598ae 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -84,7 +84,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 bool PreNotify( NotifyEvent& rNEvt );
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
virtual void UserDraw( const UserDrawEvent& rUDEvt );
diff --git a/include/vcl/scrbar.hxx b/include/vcl/scrbar.hxx
index f78bda1d85d6..e17042cd2210 100644
--- a/include/vcl/scrbar.hxx
+++ b/include/vcl/scrbar.hxx
@@ -102,7 +102,7 @@ public:
virtual void Resize();
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual void GetFocus();
virtual void LoseFocus();
diff --git a/include/vcl/spin.hxx b/include/vcl/spin.hxx
index c7b50b2ae138..dedff1495a0b 100644
--- a/include/vcl/spin.hxx
+++ b/include/vcl/spin.hxx
@@ -83,7 +83,7 @@ public:
long GetValue() const { return mnValue; }
void SetValueStep( long nNewStep ) { mnValueStep = nNewStep; }
long GetValueStep() const { return mnValueStep; }
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
void SetUpHdl( const Link& rLink ) { maUpHdlLink = rLink; }
const Link& GetUpHdl() const { return maUpHdlLink; }
diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx
index d987743b87b7..06e31e4c446d 100644
--- a/include/vcl/spinfld.hxx
+++ b/include/vcl/spinfld.hxx
@@ -89,7 +89,7 @@ public:
virtual void Resize();
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
void SetUpHdl( const Link& rLink ) { maUpHdlLink = rLink; }
const Link& GetUpHdl() const { return maUpHdlLink; }
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index 6eb6dfbbc52e..65fe65bfae35 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -161,7 +161,7 @@ public:
virtual void RequestHelp( const HelpEvent& rHEvt );
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
void InsertItem( sal_uInt16 nId, Window* pWindow, long nSize,
sal_uInt16 nPos = SPLITWINDOW_APPEND, sal_uInt16 nSetId = 0,
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index c26c637c6455..8223483cbac3 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -176,7 +176,7 @@ protected:
public:
~SystemWindow();
virtual bool Notify( NotifyEvent& rNEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual sal_Bool Close();
virtual void TitleButtonClick( sal_uInt16 nButton );
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index e2534409e0e1..263e64891e91 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -106,7 +106,7 @@ public:
virtual bool Notify( NotifyEvent& rNEvt );
virtual void StateChanged( StateChangedType nType );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual void ActivatePage();
virtual long DeactivatePage();
diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx
index ef12a376b484..29f6a359e344 100644
--- a/include/vcl/vclmedit.hxx
+++ b/include/vcl/vclmedit.hxx
@@ -47,7 +47,7 @@ protected:
DECL_LINK( ImpUpdateDataHdl, void* );
void StateChanged( StateChangedType nType );
void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
using Control::ImplInitSettings;
void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground );
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 14d2b69c53e1..b2ef51cb9d8d 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -597,7 +597,7 @@ public:
virtual void UserEvent( sal_uLong nEvent, void* pEventData );
virtual void StateChanged( StateChangedType nStateChange );
virtual void DataChanged( const DataChangedEvent& rDCEvt );
- virtual long PreNotify( NotifyEvent& rNEvt );
+ virtual bool PreNotify( NotifyEvent& rNEvt );
virtual bool Notify( NotifyEvent& rNEvt );
virtual Window* GetPreferredKeyInputWindow();