Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
This commit is contained in:
parent
734cf8395d
commit
04683f1488
@ -121,9 +121,9 @@ void BaseWindow::ExecuteGlobal (SfxRequest&)
|
||||
{ }
|
||||
|
||||
|
||||
long BaseWindow::Notify( NotifyEvent& rNEvt )
|
||||
bool BaseWindow::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nDone = 0;
|
||||
bool nDone = false;
|
||||
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
@ -140,14 +140,14 @@ long BaseWindow::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if (Shell* pShell = GetShell())
|
||||
pShell->NextPage( nCode == KEY_PAGEUP );
|
||||
nDone = 1;
|
||||
nDone = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return nDone ? nDone : Window::Notify( rNEvt );
|
||||
return nDone || Window::Notify( rNEvt );
|
||||
}
|
||||
|
||||
|
||||
|
@ -181,7 +181,7 @@ public:
|
||||
virtual void ExecuteCommand (SfxRequest&);
|
||||
virtual void ExecuteGlobal (SfxRequest&);
|
||||
virtual void GetState (SfxItemSet&) = 0;
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
virtual void StoreData();
|
||||
virtual void UpdateData();
|
||||
|
@ -203,9 +203,9 @@ void SelectorListBox::Select()
|
||||
}
|
||||
}
|
||||
|
||||
long SelectorListBox::Notify( NotifyEvent& rNEvt )
|
||||
bool SelectorListBox::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nHandled = 0;
|
||||
bool nHandled = false;
|
||||
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
@ -219,7 +219,7 @@ long SelectorListBox::Notify( NotifyEvent& rNEvt )
|
||||
if ( KEY_TAB == nCode )
|
||||
m_bReleaseFocus = false;
|
||||
else
|
||||
nHandled = 1;
|
||||
nHandled = true;
|
||||
Select();
|
||||
break;
|
||||
}
|
||||
@ -236,7 +236,7 @@ long SelectorListBox::Notify( NotifyEvent& rNEvt )
|
||||
SelectEntryPos( GetSavedValue() );
|
||||
}
|
||||
|
||||
return nHandled ? nHandled : ListBox::Notify( rNEvt );
|
||||
return nHandled || ListBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
Reference< ::com::sun::star::accessibility::XAccessible > SelectorListBox::CreateAccessible()
|
||||
|
@ -51,7 +51,7 @@ class SelectorListBox : public ListBox
|
||||
virtual ~SelectorListBox();
|
||||
|
||||
virtual void Select();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
|
||||
|
||||
void ReleaseFocus_Impl();
|
||||
|
@ -133,9 +133,9 @@ IMPL_LINK( _HeaderTabListBox, HeaderEndDrag_Impl, HeaderBar*, pBar )
|
||||
return 1;
|
||||
}
|
||||
|
||||
long _HeaderTabListBox::Notify( NotifyEvent& rNEvt )
|
||||
bool _HeaderTabListBox::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nRet = Control::Notify( rNEvt );
|
||||
bool nRet = Control::Notify( rNEvt );
|
||||
|
||||
if( rNEvt.GetType() == EVENT_GETFOCUS )
|
||||
{
|
||||
|
@ -979,7 +979,7 @@ IMPL_LINK_NOARG(SpellDialog, CancelHdl)
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
long SpellDialog::Notify( NotifyEvent& rNEvt )
|
||||
bool SpellDialog::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
/* #i38338#
|
||||
* FIXME: LoseFocus and GetFocus are signals from vcl that
|
||||
|
@ -104,7 +104,7 @@ void SvxHyperURLBox::Modify()
|
||||
{
|
||||
SvtURLBox::Modify();
|
||||
}
|
||||
long SvxHyperURLBox::Notify( NotifyEvent& rNEvt )
|
||||
bool SvxHyperURLBox::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
return SvtURLBox::Notify( rNEvt );
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ public:
|
||||
|
||||
void SetFocusControl( Control* pCtrl ) { m_pFocusCtrl = pCtrl; }
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
#endif // INCLUDED_CUI_SOURCE_INC_CONTROLFOCUSHELPER_HXX
|
||||
|
@ -210,7 +210,7 @@ private:
|
||||
void SetTitle_Impl(LanguageType nLang);
|
||||
|
||||
protected:
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
OUString getReplacementString() const;
|
||||
|
||||
|
@ -31,7 +31,7 @@ private:
|
||||
SvHeaderTabListBox maListBox;
|
||||
protected:
|
||||
DECL_LINK( HeaderEndDrag_Impl, HeaderBar* );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
public:
|
||||
_HeaderTabListBox( Window* pParent, const ResId& rId );
|
||||
virtual ~_HeaderTabListBox();
|
||||
|
@ -61,7 +61,7 @@ protected:
|
||||
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt );
|
||||
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt );
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void Select();
|
||||
virtual void Modify();
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
|
@ -200,7 +200,7 @@ protected:
|
||||
DECL_LINK( HintHdl_Impl, Timer * );
|
||||
void SelectHdl_Impl();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual short Execute();
|
||||
|
||||
public:
|
||||
|
@ -372,7 +372,7 @@ namespace offapp
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
long ConnectionPoolOptionsPage::Notify( NotifyEvent& _rNEvt )
|
||||
bool ConnectionPoolOptionsPage::Notify( NotifyEvent& _rNEvt )
|
||||
{
|
||||
if (EVENT_LOSEFOCUS == _rNEvt.GetType())
|
||||
if (m_pTimeout->IsWindowOrChild(_rNEvt.GetWindow()))
|
||||
|
@ -54,7 +54,7 @@ namespace offapp
|
||||
static SfxTabPage* Create(Window* _pParent, const SfxItemSet& _rAttrSet);
|
||||
|
||||
protected:
|
||||
virtual long Notify( NotifyEvent& _rNEvt );
|
||||
virtual bool Notify( NotifyEvent& _rNEvt );
|
||||
|
||||
virtual sal_Bool FillItemSet(SfxItemSet& _rSet);
|
||||
virtual void Reset(const SfxItemSet& _rSet);
|
||||
|
@ -164,9 +164,9 @@ OUString Convert_Impl( const OUString& rValue )
|
||||
|
||||
// class SvxControlFocusHelper ---------------------------------------------
|
||||
|
||||
long SvxControlFocusHelper::Notify( NotifyEvent& rNEvt )
|
||||
bool SvxControlFocusHelper::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nRet = Control::Notify( rNEvt );
|
||||
bool nRet = Control::Notify( rNEvt );
|
||||
|
||||
if ( m_pFocusCtrl && rNEvt.GetWindow() != m_pFocusCtrl && rNEvt.GetType() == EVENT_GETFOCUS )
|
||||
m_pFocusCtrl->GrabFocus();
|
||||
|
@ -882,7 +882,7 @@ void OfaTreeOptionsDialog::ActivateLastSelection()
|
||||
aTreeLB.GrabFocus();
|
||||
}
|
||||
|
||||
long OfaTreeOptionsDialog::Notify( NotifyEvent& rNEvt )
|
||||
bool OfaTreeOptionsDialog::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
|
@ -130,15 +130,15 @@ namespace
|
||||
virtual void DataChanged(const DataChangedEvent& rDCEvt);
|
||||
public:
|
||||
OTablePreviewWindow( Window* pParent, WinBits nStyle = 0 );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
OTablePreviewWindow::OTablePreviewWindow(Window* pParent, WinBits nStyle) : Window( pParent, nStyle)
|
||||
{
|
||||
ImplInitSettings( sal_True, sal_True, sal_True );
|
||||
}
|
||||
long OTablePreviewWindow::Notify( NotifyEvent& rNEvt )
|
||||
bool OTablePreviewWindow::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nRet = Window::Notify( rNEvt );
|
||||
bool nRet = Window::Notify( rNEvt );
|
||||
if ( rNEvt.GetType() == EVENT_INPUTENABLE && IsInputEnabled() )
|
||||
PostUserEvent( LINK( this, OTablePreviewWindow, OnDisableInput) );
|
||||
return nRet;
|
||||
|
@ -34,7 +34,7 @@ class LimitBoxImpl: public LimitBox
|
||||
LimitBoxImpl( Window* pParent, LimitBoxController* pCtrl );
|
||||
virtual ~LimitBoxImpl();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
private:
|
||||
LimitBoxController* m_pControl;
|
||||
@ -50,9 +50,9 @@ LimitBoxImpl::~LimitBoxImpl()
|
||||
{
|
||||
}
|
||||
|
||||
long LimitBoxImpl::Notify( NotifyEvent& rNEvt )
|
||||
bool LimitBoxImpl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nHandled = 0;
|
||||
bool nHandled = false;
|
||||
switch ( rNEvt.GetType() )
|
||||
{
|
||||
case EVENT_LOSEFOCUS:
|
||||
@ -76,7 +76,7 @@ long LimitBoxImpl::Notify( NotifyEvent& rNEvt )
|
||||
case KEY_RETURN:
|
||||
{
|
||||
GrabFocusToDocument();
|
||||
nHandled = 1;
|
||||
nHandled = true;
|
||||
break;
|
||||
}
|
||||
case KEY_TAB:
|
||||
@ -88,7 +88,7 @@ long LimitBoxImpl::Notify( NotifyEvent& rNEvt )
|
||||
break;
|
||||
}
|
||||
}
|
||||
return nHandled ? nHandled : LimitBox::Notify( rNEvt );
|
||||
return nHandled || LimitBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
|
||||
|
@ -145,7 +145,7 @@ public:
|
||||
void InitFromDialog(ExtMgrDialog *pParentDialog);
|
||||
|
||||
virtual void MouseButtonDown( const MouseEvent& rMEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
virtual Size GetOptimalSize() const;
|
||||
|
||||
@ -430,7 +430,7 @@ void ExtBoxWithBtns_Impl::MouseButtonDown( const MouseEvent& rMEvt )
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
long ExtBoxWithBtns_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool ExtBoxWithBtns_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
bool bHandled = false;
|
||||
|
||||
@ -1141,7 +1141,7 @@ IMPL_LINK_NOARG(ExtMgrDialog, TimeOutHdl)
|
||||
//------------------------------------------------------------------------------
|
||||
// VCL::Window / Dialog
|
||||
|
||||
long ExtMgrDialog::Notify( NotifyEvent& rNEvt )
|
||||
bool ExtMgrDialog::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
bool bHandled = false;
|
||||
|
||||
|
@ -141,7 +141,7 @@ public:
|
||||
ExtMgrDialog( Window * pParent, TheExtensionManager *pManager );
|
||||
virtual ~ExtMgrDialog();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual sal_Bool Close();
|
||||
|
||||
virtual void showProgress( bool bStart );
|
||||
|
@ -892,7 +892,7 @@ void ExtensionBox_Impl::MouseButtonDown( const MouseEvent& rMEvt )
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
long ExtensionBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool ExtensionBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if ( !m_bInDelete )
|
||||
DeleteRemoved();
|
||||
|
@ -186,7 +186,7 @@ public:
|
||||
virtual void MouseButtonDown( const MouseEvent& rMEvt );
|
||||
virtual void Paint( const Rectangle &rPaintRect );
|
||||
virtual void Resize();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
const Size GetMinOutputSizePixel() const;
|
||||
void SetExtraSize( long nSize ) { m_nExtraHeight = nSize; }
|
||||
|
@ -1265,7 +1265,7 @@ namespace pcr
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
long OBrowserListBox::Notify( NotifyEvent& _rNEvt )
|
||||
bool OBrowserListBox::Notify( NotifyEvent& _rNEvt )
|
||||
{
|
||||
switch ( _rNEvt.GetType() )
|
||||
{
|
||||
|
@ -133,7 +133,7 @@ namespace pcr
|
||||
sal_uInt16 CalcVisibleLines();
|
||||
void EnableUpdate();
|
||||
void DisableUpdate();
|
||||
long Notify( NotifyEvent& _rNEvt );
|
||||
bool Notify( NotifyEvent& _rNEvt );
|
||||
long PreNotify( NotifyEvent& _rNEvt );
|
||||
|
||||
void SetListener( IPropertyLineListener* _pListener );
|
||||
|
@ -91,7 +91,7 @@ namespace pcr
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
long OPropertyBrowserView::Notify( NotifyEvent& _rNEvt )
|
||||
bool OPropertyBrowserView::Notify( NotifyEvent& _rNEvt )
|
||||
{
|
||||
if ( EVENT_KEYINPUT == _rNEvt.GetType() )
|
||||
{
|
||||
@ -101,7 +101,7 @@ namespace pcr
|
||||
// silence this, we don't want to propagate this outside the property
|
||||
// browser, as it will probably do harm there
|
||||
// #i63285#
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
return Window::Notify( _rNEvt );
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ namespace pcr
|
||||
protected:
|
||||
virtual void Resize();
|
||||
virtual void GetFocus();
|
||||
virtual long Notify( NotifyEvent& _rNEvt );
|
||||
virtual bool Notify( NotifyEvent& _rNEvt );
|
||||
|
||||
public:
|
||||
OPropertyBrowserView( Window* pParent, WinBits nBits = 0);
|
||||
|
@ -1002,10 +1002,10 @@ void XMLFilterSettingsDialog::onClose()
|
||||
Close();
|
||||
}
|
||||
|
||||
long XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
|
||||
bool XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
// Because of of tab control first call the base class.
|
||||
long nRet = ModelessDialog::Notify( rNEvt );
|
||||
bool nRet = ModelessDialog::Notify( rNEvt );
|
||||
if ( !nRet )
|
||||
{
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
@ -1018,7 +1018,7 @@ long XMLFilterSettingsDialog::Notify( NotifyEvent& rNEvt )
|
||||
if( nKeyCode == KEY_ESCAPE || (bMod1 && (nKeyCode == KEY_W)))
|
||||
{
|
||||
Close();
|
||||
return sal_True;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1385,9 +1385,9 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxPathControl(Window *pPar
|
||||
return new SvxPathControl(pParent);
|
||||
}
|
||||
|
||||
long SvxPathControl::Notify(NotifyEvent& rNEvt)
|
||||
bool SvxPathControl::Notify(NotifyEvent& rNEvt)
|
||||
{
|
||||
long nRet = VclVBox::Notify(rNEvt);
|
||||
bool nRet = VclVBox::Notify(rNEvt);
|
||||
|
||||
if ( m_pFocusCtrl && rNEvt.GetWindow() != m_pFocusCtrl && rNEvt.GetType() == EVENT_GETFOCUS )
|
||||
m_pFocusCtrl->GrabFocus();
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
XMLFilterListBox* getListBox() { return m_pFocusCtrl; }
|
||||
~SvxPathControl();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
@ -104,7 +104,7 @@ public:
|
||||
|
||||
void updateStates();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
bool isClosable();
|
||||
|
||||
|
@ -287,15 +287,15 @@ namespace frm
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
long RichTextControl::Notify( NotifyEvent& _rNEvt )
|
||||
bool RichTextControl::Notify( NotifyEvent& _rNEvt )
|
||||
{
|
||||
long nDone = 0;
|
||||
bool nDone = false;
|
||||
if ( _rNEvt.GetType() == EVENT_COMMAND )
|
||||
{
|
||||
const CommandEvent& rEvent = *_rNEvt.GetCommandEvent();
|
||||
nDone = m_pImpl->HandleCommand( rEvent );
|
||||
}
|
||||
return nDone ? nDone : Control::Notify( _rNEvt );
|
||||
return nDone || Control::Notify( _rNEvt );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
|
@ -110,7 +110,7 @@ namespace frm
|
||||
virtual void GetFocus();
|
||||
virtual void StateChanged( StateChangedType nStateChange );
|
||||
virtual long PreNotify( NotifyEvent& _rNEvt );
|
||||
virtual long Notify( NotifyEvent& _rNEvt );
|
||||
virtual bool Notify( NotifyEvent& _rNEvt );
|
||||
|
||||
private:
|
||||
void applyAttributes( const SfxItemSet& _rAttributesToApply );
|
||||
|
@ -1710,7 +1710,7 @@ IMPL_LINK_NOARG(SvtFileDialog, PlayButtonHdl_Impl)
|
||||
|
||||
//*****************************************************************************
|
||||
|
||||
long SvtFileDialog::Notify( NotifyEvent& rNEvt )
|
||||
bool SvtFileDialog::Notify( NotifyEvent& rNEvt )
|
||||
|
||||
/* [Description]
|
||||
|
||||
@ -1719,7 +1719,7 @@ long SvtFileDialog::Notify( NotifyEvent& rNEvt )
|
||||
|
||||
{
|
||||
sal_uInt16 nType = rNEvt.GetType();
|
||||
long nRet = 0;
|
||||
long nRet = false;
|
||||
|
||||
if ( EVENT_KEYINPUT == nType && rNEvt.GetKeyEvent() )
|
||||
{
|
||||
@ -1729,16 +1729,16 @@ long SvtFileDialog::Notify( NotifyEvent& rNEvt )
|
||||
if ( !rKeyCode.GetModifier() &&
|
||||
KEY_BACKSPACE == nCode && !_pImp->_pEdFileName->HasChildPathFocus() )
|
||||
{
|
||||
nRet = 0;
|
||||
nRet = false;
|
||||
|
||||
if ( !nRet && _pImp->_pBtnUp->IsEnabled() )
|
||||
{
|
||||
PrevLevel_Impl();
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return nRet ? nRet : ModalDialog::Notify( rNEvt );
|
||||
return nRet || ModalDialog::Notify( rNEvt );
|
||||
}
|
||||
|
||||
//*****************************************************************************
|
||||
|
@ -165,7 +165,7 @@ private:
|
||||
void implUpdateImages( );
|
||||
|
||||
protected:
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
void EnableInternet( sal_Bool bInternet );
|
||||
|
||||
// originally from VclFileDialog
|
||||
|
@ -114,7 +114,7 @@ protected:
|
||||
public:
|
||||
virtual void FillInfo(SfxChildWinInfo&) const;
|
||||
void Initialize (SfxChildWinInfo* pInfo);
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
SfxBindings& GetBindings()
|
||||
{ return *pBindings; }
|
||||
|
||||
@ -148,7 +148,7 @@ protected:
|
||||
virtual sal_Bool Close();
|
||||
virtual void Resize();
|
||||
virtual void Move();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
SfxBindings& GetBindings()
|
||||
{ return *pBindings; }
|
||||
|
||||
|
@ -98,7 +98,7 @@ public:
|
||||
|
||||
void SetMinOutputSizePixel( const Size& rSize );
|
||||
Size GetMinOutputSizePixel() const;
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void FadeIn( sal_Bool );
|
||||
void AutoShow( sal_Bool bShow = sal_True );
|
||||
DECL_LINK(TimerHdl, void *);
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
|
||||
sal_Bool Construct();
|
||||
virtual short Execute();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
SfxTabPage* GetTabPage() const { return pPage; }
|
||||
const SfxItemSet& GetOptions() const { return *pOptions; }
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
|
||||
virtual void Paint (const Rectangle& rRect);
|
||||
|
||||
virtual long Notify (NotifyEvent& rEvent);
|
||||
virtual bool Notify (NotifyEvent& rEvent);
|
||||
|
||||
cssu::Reference<css::frame::XToolbarController> GetControllerForItemId (
|
||||
const sal_uInt16 nItemId) const;
|
||||
|
@ -529,7 +529,7 @@ namespace svt
|
||||
using BrowseBox::MouseButtonDown;
|
||||
|
||||
virtual long PreNotify(NotifyEvent& rNEvt );
|
||||
virtual long Notify(NotifyEvent& rNEvt);
|
||||
virtual bool Notify(NotifyEvent& rNEvt);
|
||||
|
||||
virtual void EndScroll();
|
||||
|
||||
|
@ -41,7 +41,7 @@ namespace svt
|
||||
|
||||
protected:
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
public:
|
||||
/** transforms the given URL content into a system-dependent notation, if possible, and
|
||||
|
@ -235,7 +235,7 @@ public:
|
||||
bool IsUsingInputStringForFormatting() const;
|
||||
|
||||
protected:
|
||||
virtual long Notify(NotifyEvent& rNEvt);
|
||||
virtual bool Notify(NotifyEvent& rNEvt);
|
||||
void impl_Modify(bool makeValueDirty = true);
|
||||
virtual void Modify();
|
||||
|
||||
|
@ -52,7 +52,7 @@ friend class SvtURLBox_Impl;
|
||||
SVT_DLLPRIVATE void Init(bool bSetDefaultHelpID);
|
||||
|
||||
protected:
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void Select();
|
||||
virtual void Modify();
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
Printer* GetPrinter() const { return mpPrinter; }
|
||||
|
||||
virtual void DataChanged( const DataChangedEvent& rDCEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
virtual short Execute();
|
||||
|
||||
|
@ -171,7 +171,7 @@ namespace svt
|
||||
protected:
|
||||
// Window overridables
|
||||
virtual void Resize();
|
||||
virtual long Notify( NotifyEvent& i_rNotifyEvent );
|
||||
virtual bool Notify( NotifyEvent& i_rNotifyEvent );
|
||||
virtual void GetFocus();
|
||||
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
|
||||
|
@ -41,7 +41,7 @@ namespace svt
|
||||
|
||||
protected:
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
//.........................................................................
|
||||
|
@ -258,7 +258,7 @@ public:
|
||||
|
||||
virtual void Resize();
|
||||
virtual void StateChanged( StateChangedType nStateChange );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
virtual void ActivatePage();
|
||||
virtual long DeactivatePage();
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
void SetSlotIDs( sal_uInt16 nLeft, sal_uInt16 nRight )
|
||||
{ nLeftSlot = nLeft; nRightSlot = nRight; }
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
protected:
|
||||
virtual void Select();
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void DataChanged( const DataChangedEvent& rDCEvt );
|
||||
|
||||
};
|
||||
@ -88,7 +88,7 @@ public:
|
||||
protected:
|
||||
virtual void Select();
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void DataChanged( const DataChangedEvent& rDCEvt );
|
||||
|
||||
};
|
||||
@ -113,7 +113,7 @@ protected:
|
||||
virtual void Up(); // just to be sure
|
||||
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void DataChanged( const DataChangedEvent& rDCEvt );
|
||||
|
||||
public:
|
||||
@ -140,7 +140,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
private:
|
||||
sal_uInt16 nCurPos;
|
||||
@ -162,7 +162,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual long PreNotify( NotifyEvent& rNEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void Select();
|
||||
|
||||
private:
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
PopupContainer (Window* pParent);
|
||||
virtual ~PopupContainer (void);
|
||||
|
||||
virtual long Notify (NotifyEvent& rNEvt);
|
||||
virtual bool Notify (NotifyEvent& rNEvt);
|
||||
};
|
||||
|
||||
|
||||
|
@ -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 );
|
||||
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
|
||||
|
@ -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 );
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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 );
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
|
@ -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 );
|
||||
|
@ -140,15 +140,15 @@ void padmin::FindFiles( const OUString& rDirectory, ::std::list< OUString >& rRe
|
||||
* DelMultiListBox
|
||||
*/
|
||||
|
||||
long DelMultiListBox::Notify( NotifyEvent& rEvent )
|
||||
bool DelMultiListBox::Notify( NotifyEvent& rEvent )
|
||||
{
|
||||
long nRet = 0;
|
||||
bool nRet = false;
|
||||
|
||||
if( rEvent.GetType() == EVENT_KEYINPUT &&
|
||||
rEvent.GetKeyEvent()->GetKeyCode().GetCode() == KEY_DELETE )
|
||||
{
|
||||
m_aDelPressedLink.Call( this );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
else
|
||||
nRet = MultiListBox::Notify( rEvent );
|
||||
@ -160,15 +160,15 @@ long DelMultiListBox::Notify( NotifyEvent& rEvent )
|
||||
* DelListBox
|
||||
*/
|
||||
|
||||
long DelListBox::Notify( NotifyEvent& rEvent )
|
||||
bool DelListBox::Notify( NotifyEvent& rEvent )
|
||||
{
|
||||
long nRet = 0;
|
||||
bool nRet = false;
|
||||
|
||||
if( rEvent.GetType() == EVENT_KEYINPUT &&
|
||||
rEvent.GetKeyEvent()->GetKeyCode().GetCode() == KEY_DELETE )
|
||||
{
|
||||
m_aDelPressedLink.Call( this );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
else
|
||||
nRet = ListBox::Notify( rEvent );
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
MultiListBox( pParent, rResId ) {}
|
||||
~DelMultiListBox() {}
|
||||
|
||||
virtual long Notify( NotifyEvent& rEvent );
|
||||
virtual bool Notify( NotifyEvent& rEvent );
|
||||
|
||||
Link setDelPressedLink( const Link& rLink )
|
||||
{
|
||||
@ -68,7 +68,7 @@ public:
|
||||
ListBox( pParent, rResId ) {}
|
||||
~DelListBox() {}
|
||||
|
||||
virtual long Notify( NotifyEvent& rEvent );
|
||||
virtual bool Notify( NotifyEvent& rEvent );
|
||||
|
||||
Link setDelPressedLink( const Link& rLink )
|
||||
{
|
||||
|
@ -147,7 +147,7 @@ PADialog::~PADialog()
|
||||
freePadminRC();
|
||||
}
|
||||
|
||||
long PADialog::Notify( NotifyEvent& rEv )
|
||||
bool PADialog::Notify( NotifyEvent& rEv )
|
||||
{
|
||||
if( IsVisible() &&
|
||||
(rEv.GetType() == EVENT_GETFOCUS || rEv.GetType() == EVENT_LOSEFOCUS )
|
||||
|
@ -88,7 +88,7 @@ namespace padmin {
|
||||
void PrintTestPage();
|
||||
void updateSettings();
|
||||
|
||||
virtual long Notify( NotifyEvent& rEv );
|
||||
virtual bool Notify( NotifyEvent& rEv );
|
||||
virtual void DataChanged( const DataChangedEvent& rEv );
|
||||
|
||||
OUString getSelectedDevice();
|
||||
|
@ -68,7 +68,7 @@ namespace rptui
|
||||
virtual void DataChanged( const DataChangedEvent& rDCEvt );
|
||||
// window
|
||||
virtual void Resize();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
// OPropertyChangeListener
|
||||
virtual void _propertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& _rEvent) throw( ::com::sun::star::uno::RuntimeException);
|
||||
public:
|
||||
|
@ -317,7 +317,7 @@ void OScrollWindowHelper::collapseSections(const uno::Sequence< ::com::sun::star
|
||||
m_aReportWindow.collapseSections(_aCollpasedSections);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
long OScrollWindowHelper::Notify( NotifyEvent& rNEvt )
|
||||
bool OScrollWindowHelper::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
const CommandEvent* pCommandEvent = rNEvt.GetCommandEvent();
|
||||
if ( pCommandEvent &&
|
||||
@ -334,7 +334,7 @@ long OScrollWindowHelper::Notify( NotifyEvent& rNEvt )
|
||||
pVScrBar = &m_aVScroll;
|
||||
|
||||
if ( HandleScrollCommand( *pCommandEvent, pHScrBar, pVScrBar ) )
|
||||
return 1L;
|
||||
return true;
|
||||
}
|
||||
return OScrollWindowHelper_BASE::Notify(rNEvt);
|
||||
}
|
||||
|
@ -2481,9 +2481,9 @@ void ScPosWnd::DoEnter()
|
||||
ReleaseFocus_Impl();
|
||||
}
|
||||
|
||||
long ScPosWnd::Notify( NotifyEvent& rNEvt )
|
||||
bool ScPosWnd::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nHandled = 0;
|
||||
bool nHandled = false;
|
||||
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
@ -2493,7 +2493,7 @@ long ScPosWnd::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
case KEY_RETURN:
|
||||
DoEnter();
|
||||
nHandled = 1;
|
||||
nHandled = true;
|
||||
break;
|
||||
|
||||
case KEY_ESCAPE:
|
||||
@ -2508,7 +2508,7 @@ long ScPosWnd::Notify( NotifyEvent& rNEvt )
|
||||
SetText( aPosStr );
|
||||
ReleaseFocus_Impl();
|
||||
}
|
||||
nHandled = 1;
|
||||
nHandled = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -1198,7 +1198,7 @@ void ScCheckListMenuWindow::MouseMove(const MouseEvent& rMEvt)
|
||||
queueCloseSubMenu();
|
||||
}
|
||||
|
||||
long ScCheckListMenuWindow::Notify(NotifyEvent& rNEvt)
|
||||
bool ScCheckListMenuWindow::Notify(NotifyEvent& rNEvt)
|
||||
{
|
||||
switch (rNEvt.GetType())
|
||||
{
|
||||
|
@ -62,7 +62,7 @@ ScCondFrmtEntry::~ScCondFrmtEntry()
|
||||
{
|
||||
}
|
||||
|
||||
long ScCondFrmtEntry::Notify( NotifyEvent& rNEvt )
|
||||
bool ScCondFrmtEntry::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if( rNEvt.GetType() == EVENT_MOUSEBUTTONDOWN )
|
||||
{
|
||||
|
@ -239,7 +239,7 @@ public:
|
||||
virtual ~ScCheckListMenuWindow();
|
||||
|
||||
virtual void MouseMove(const MouseEvent& rMEvt);
|
||||
virtual long Notify(NotifyEvent& rNEvt);
|
||||
virtual bool Notify(NotifyEvent& rNEvt);
|
||||
virtual void Paint(const Rectangle& rRect);
|
||||
virtual Window* GetPreferredKeyInputWindow();
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible();
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
ScCondFrmtEntry( Window* pParent, ScDocument* pDoc, const ScAddress& rPos );
|
||||
virtual ~ScCondFrmtEntry();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
bool IsSelected() const;
|
||||
void SetIndex(sal_Int32 nIndex);
|
||||
|
@ -150,7 +150,7 @@ protected:
|
||||
virtual void Select();
|
||||
virtual void Modify();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
|
||||
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
protected:
|
||||
virtual void Select();
|
||||
virtual void DoubleClick();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
private:
|
||||
struct ScenarioEntry
|
||||
@ -131,7 +131,7 @@ public:
|
||||
void SetCol( SCCOL nColNo );
|
||||
|
||||
protected:
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void LoseFocus();
|
||||
virtual void Up();
|
||||
virtual void Down();
|
||||
@ -164,7 +164,7 @@ public:
|
||||
void SetRow( SCROW nRow ){ SetValue( nRow ); }
|
||||
|
||||
protected:
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void LoseFocus();
|
||||
|
||||
private:
|
||||
|
@ -98,9 +98,9 @@ ColumnEdit::~ColumnEdit()
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
long ColumnEdit::Notify( NotifyEvent& rNEvt )
|
||||
bool ColumnEdit::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nHandled = SpinField::Notify( rNEvt );
|
||||
bool nHandled = SpinField::Notify( rNEvt );
|
||||
|
||||
sal_uInt16 nType = rNEvt.GetType();
|
||||
if ( nType == EVENT_KEYINPUT )
|
||||
@ -118,7 +118,7 @@ long ColumnEdit::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
ScNavigatorDlg::ReleaseFocus();
|
||||
ExecuteCol();
|
||||
nHandled = 1;
|
||||
nHandled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -300,9 +300,9 @@ RowEdit::~RowEdit()
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
long RowEdit::Notify( NotifyEvent& rNEvt )
|
||||
bool RowEdit::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nHandled = NumericField::Notify( rNEvt );
|
||||
bool nHandled = NumericField::Notify( rNEvt );
|
||||
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
@ -312,7 +312,7 @@ long RowEdit::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
ScNavigatorDlg::ReleaseFocus();
|
||||
ExecuteRow();
|
||||
nHandled = 1;
|
||||
nHandled = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ void ScScenarioListBox::DoubleClick()
|
||||
SelectScenario();
|
||||
}
|
||||
|
||||
long ScScenarioListBox::Notify( NotifyEvent& rNEvt )
|
||||
bool ScScenarioListBox::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
bool bHandled = false;
|
||||
|
||||
@ -156,7 +156,7 @@ long ScScenarioListBox::Notify( NotifyEvent& rNEvt )
|
||||
}
|
||||
}
|
||||
|
||||
return bHandled ? 1 : ListBox::Notify( rNEvt );
|
||||
return bHandled || ListBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
const ScScenarioListBox::ScenarioEntry* ScScenarioListBox::GetSelectedEntry() const
|
||||
|
@ -593,7 +593,7 @@ void ClientBox::MouseButtonDown( const MouseEvent& rMEvt )
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
long ClientBox::Notify( NotifyEvent& rNEvt )
|
||||
bool ClientBox::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if ( !m_bInDelete )
|
||||
DeleteRemoved();
|
||||
|
@ -146,7 +146,7 @@ public:
|
||||
void Paint( const Rectangle &rPaintRect );
|
||||
void Resize();
|
||||
Size GetOptimalSize() const;
|
||||
long Notify( NotifyEvent& rNEvt );
|
||||
bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
const Size GetMinOutputSizePixel() const;
|
||||
void SetExtraSize( long nSize ) { m_nExtraHeight = nSize; }
|
||||
|
@ -171,7 +171,7 @@ void SdDocPreviewWin::startPreview()
|
||||
}
|
||||
}
|
||||
|
||||
long SdDocPreviewWin::Notify( NotifyEvent& rNEvt )
|
||||
bool SdDocPreviewWin::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if ( rNEvt.GetType() == EVENT_MOUSEBUTTONDOWN )
|
||||
{
|
||||
|
@ -782,10 +782,10 @@ NavDocInfo* SdNavigatorWin::GetDocInfo()
|
||||
/**
|
||||
* PreNotify
|
||||
*/
|
||||
long SdNavigatorWin::Notify(NotifyEvent& rNEvt)
|
||||
bool SdNavigatorWin::Notify(NotifyEvent& rNEvt)
|
||||
{
|
||||
const KeyEvent* pKEvt = rNEvt.GetKeyEvent();
|
||||
long nOK = sal_False;
|
||||
bool nOK = false;
|
||||
|
||||
if( pKEvt )
|
||||
{
|
||||
@ -794,7 +794,7 @@ long SdNavigatorWin::Notify(NotifyEvent& rNEvt)
|
||||
if( SdPageObjsTLB::IsInDrag() )
|
||||
{
|
||||
// during drag'n'drop we just stop the drag but do not close the navigator
|
||||
nOK = sal_True;
|
||||
nOK = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -180,7 +180,7 @@ protected:
|
||||
virtual void Command(const CommandEvent& rCEvt);
|
||||
virtual void RequestHelp( const HelpEvent& rEvt );
|
||||
virtual void LoseFocus();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
/** Create an accessibility object that makes this window accessible.
|
||||
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
virtual void Resize();
|
||||
void startPreview();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
void SetClickHdl( const Link& rLink ) { aClickHdl = rLink; }
|
||||
const Link& GetClickHdl() const { return aClickHdl; }
|
||||
|
@ -110,7 +110,7 @@ public:
|
||||
|
||||
protected:
|
||||
virtual void Resize();
|
||||
virtual long Notify(NotifyEvent& rNEvt);
|
||||
virtual bool Notify(NotifyEvent& rNEvt);
|
||||
|
||||
|
||||
private:
|
||||
|
@ -281,19 +281,6 @@ void ShowWindow::Paint(const Rectangle& rRect)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
long ShowWindow::Notify(NotifyEvent& rNEvt)
|
||||
{
|
||||
long nOK = sal_False;
|
||||
if (!nOK)
|
||||
nOK = Window::Notify(rNEvt);
|
||||
|
||||
return nOK;
|
||||
}
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
void ShowWindow::GetFocus()
|
||||
{
|
||||
// base class
|
||||
|
@ -77,7 +77,6 @@ public:
|
||||
virtual void MouseButtonUp(const MouseEvent& rMEvt);
|
||||
virtual void MouseButtonDown(const MouseEvent& rMEvt);
|
||||
virtual void Paint(const Rectangle& rRect);
|
||||
virtual long Notify(NotifyEvent& rNEvt);
|
||||
//Overload the sd::Window's CreateAccessible to create a different accessible object
|
||||
virtual ::com::sun::star::uno::Reference<
|
||||
::com::sun::star::accessibility::XAccessible>
|
||||
|
@ -60,7 +60,7 @@ public:
|
||||
virtual void MouseButtonUp (const MouseEvent& rEvent);
|
||||
virtual void MouseButtonDown (const MouseEvent& rEvent);
|
||||
virtual void Command (const CommandEvent& rEvent);
|
||||
virtual long Notify (NotifyEvent& rEvent);
|
||||
virtual bool Notify (NotifyEvent& rEvent);
|
||||
|
||||
private:
|
||||
SlideSorter& mrSlideSorter;
|
||||
@ -673,10 +673,9 @@ void ContentWindow::Command(const CommandEvent& rEvent)
|
||||
|
||||
|
||||
|
||||
long ContentWindow::Notify (NotifyEvent& rEvent)
|
||||
bool ContentWindow::Notify (NotifyEvent&)
|
||||
{
|
||||
(void)rEvent;
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
@ -295,9 +295,9 @@ void Window::Command(const CommandEvent& rCEvt)
|
||||
}
|
||||
|
||||
|
||||
long Window::Notify( NotifyEvent& rNEvt )
|
||||
bool Window::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nResult = sal_False;
|
||||
bool nResult = false;
|
||||
if ( mpViewShell )
|
||||
{
|
||||
nResult = mpViewShell->Notify(rNEvt, this);
|
||||
|
@ -387,17 +387,17 @@ void ContentListBox_Impl::RequestingChildren( SvTreeListEntry* pParent )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
long ContentListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool ContentListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
sal_Bool bHandled = sal_False;
|
||||
bool bHandled = false;
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT &&
|
||||
KEY_RETURN == rNEvt.GetKeyEvent()->GetKeyCode().GetCode() )
|
||||
{
|
||||
GetDoubleClickHdl().Call( NULL );
|
||||
bHandled = sal_True;
|
||||
bHandled = true;
|
||||
}
|
||||
|
||||
return bHandled ? 1 : SvTreeListBox::Notify( rNEvt );
|
||||
return bHandled || SvTreeListBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
@ -494,17 +494,17 @@ void IndexBox_Impl::UserDraw( const UserDrawEvent& rUDEvt )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
long IndexBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool IndexBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
sal_Bool bHandled = sal_False;
|
||||
bool bHandled = false;
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT &&
|
||||
KEY_RETURN == rNEvt.GetKeyEvent()->GetKeyCode().GetCode() )
|
||||
{
|
||||
GetDoubleClickHdl().Call( NULL );
|
||||
bHandled = sal_True;
|
||||
bHandled = true;
|
||||
}
|
||||
|
||||
return bHandled ? 1 : ComboBox::Notify( rNEvt );
|
||||
return bHandled || ComboBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
@ -931,17 +931,17 @@ void SearchBox_Impl::Select()
|
||||
|
||||
// class SearchResultsBox_Impl -------------------------------------------
|
||||
|
||||
long SearchResultsBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool SearchResultsBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
sal_Bool bHandled = sal_False;
|
||||
bool bHandled = false;
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT &&
|
||||
KEY_RETURN == rNEvt.GetKeyEvent()->GetKeyCode().GetCode() )
|
||||
{
|
||||
GetDoubleClickHdl().Call( NULL );
|
||||
bHandled = sal_True;
|
||||
bHandled = true;
|
||||
}
|
||||
|
||||
return bHandled ? 1 : ListBox::Notify( rNEvt );
|
||||
return bHandled || ListBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
// class SearchTabPage_Impl ----------------------------------------------
|
||||
@ -1308,9 +1308,9 @@ void BookmarksBox_Impl::DoAction( sal_uInt16 nAction )
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
long BookmarksBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool BookmarksBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nRet = 0;
|
||||
bool nRet = false;
|
||||
sal_uInt16 nType = rNEvt.GetType();
|
||||
if ( EVENT_KEYINPUT == nType )
|
||||
{
|
||||
@ -1318,12 +1318,12 @@ long BookmarksBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
if ( KEY_DELETE == nCode && GetEntryCount() > 0 )
|
||||
{
|
||||
DoAction( MID_DELETE );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
else if ( KEY_RETURN == nCode )
|
||||
{
|
||||
GetDoubleClickHdl().Call( NULL );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
}
|
||||
else if ( EVENT_COMMAND == nType )
|
||||
@ -1335,11 +1335,11 @@ long BookmarksBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
sal_uInt16 nId = aMenu.Execute( this, pCEvt->GetMousePosPixel() );
|
||||
if ( nId != MENU_ITEM_NOTFOUND )
|
||||
DoAction( nId );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
}
|
||||
|
||||
return nRet ? nRet : ListBox::Notify( rNEvt );
|
||||
return nRet || ListBox::Notify( rNEvt );
|
||||
}
|
||||
|
||||
// class BookmarksTabPage_Impl -------------------------------------------
|
||||
@ -1989,7 +1989,7 @@ TextWin_Impl::~TextWin_Impl()
|
||||
{
|
||||
}
|
||||
|
||||
long TextWin_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool TextWin_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if( ( rNEvt.GetType() == EVENT_KEYINPUT ) && rNEvt.GetKeyEvent()->GetKeyCode().GetCode() == KEY_TAB )
|
||||
return GetParent()->Notify( rNEvt );
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
|
||||
|
||||
virtual void RequestingChildren( SvTreeListEntry* pParent );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
inline void SetOpenHdl( const Link& rLink ) { SetDoubleClickHdl( rLink ); }
|
||||
OUString GetSelectEntry() const;
|
||||
@ -133,7 +133,7 @@ public:
|
||||
IndexBox_Impl( Window* pParent, const ResId& rResId );
|
||||
|
||||
virtual void UserDraw( const UserDrawEvent& rUDEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
void SelectExecutableEntry();
|
||||
};
|
||||
@ -207,7 +207,7 @@ class SearchResultsBox_Impl : public ListBox
|
||||
public:
|
||||
SearchResultsBox_Impl( Window* pParent, const ResId& rResId ) : ListBox( pParent, rResId ) {}
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
class SearchTabPage_Impl : public HelpTabPage_Impl
|
||||
@ -264,7 +264,7 @@ public:
|
||||
BookmarksBox_Impl( Window* pParent, const ResId& rResId );
|
||||
~BookmarksBox_Impl();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
class BookmarksTabPage_Impl : public HelpTabPage_Impl
|
||||
@ -419,7 +419,7 @@ public:
|
||||
TextWin_Impl( Window* pParent );
|
||||
virtual ~TextWin_Impl();
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
// class SfxHelpTextWindow_Impl ------------------------------------------
|
||||
|
@ -305,7 +305,7 @@ void BackingWindow::Paint( const Rectangle& )
|
||||
aDev );
|
||||
}
|
||||
|
||||
long BackingWindow::Notify( NotifyEvent& rNEvt )
|
||||
bool BackingWindow::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
if( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
@ -319,7 +319,7 @@ long BackingWindow::Notify( NotifyEvent& rNEvt )
|
||||
const KeyEvent* pEvt = rNEvt.GetKeyEvent();
|
||||
const KeyCode& rKeyCode(pEvt->GetKeyCode());
|
||||
if( pEvt && mpAccExec->execute(rKeyCode) )
|
||||
return 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
return Window::Notify( rNEvt );
|
||||
|
@ -107,7 +107,7 @@ public:
|
||||
|
||||
virtual void Paint( const Rectangle& rRect );
|
||||
virtual void Resize();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
virtual Size GetOptimalSize() const;
|
||||
|
||||
|
@ -354,7 +354,7 @@ void SfxModelessDialog::Init(SfxBindings *pBindinx, SfxChildWindow *pCW)
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
long SfxModelessDialog::Notify( NotifyEvent& rEvt )
|
||||
bool SfxModelessDialog::Notify( NotifyEvent& rEvt )
|
||||
|
||||
/* [Description]
|
||||
|
||||
@ -379,7 +379,7 @@ long SfxModelessDialog::Notify( NotifyEvent& rEvt )
|
||||
if ( !ModelessDialog::Notify( rEvt ) && SfxViewShell::Current() )
|
||||
// then also for valid global accelerators.
|
||||
return SfxViewShell::Current()->GlobalKeyInput_Impl( *rEvt.GetKeyEvent() );
|
||||
return sal_True;
|
||||
return true;
|
||||
}
|
||||
|
||||
return ModelessDialog::Notify( rEvt );
|
||||
@ -442,7 +442,7 @@ void SfxModelessDialog::FillInfo(SfxChildWinInfo& rInfo) const
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
long SfxFloatingWindow::Notify( NotifyEvent& rEvt )
|
||||
bool SfxFloatingWindow::Notify( NotifyEvent& rEvt )
|
||||
|
||||
/* [Description]
|
||||
|
||||
@ -470,7 +470,7 @@ long SfxFloatingWindow::Notify( NotifyEvent& rEvt )
|
||||
if ( !FloatingWindow::Notify( rEvt ) && SfxViewShell::Current() )
|
||||
// then also for valid global accelerators.
|
||||
return SfxViewShell::Current()->GlobalKeyInput_Impl( *rEvt.GetKeyEvent() );
|
||||
return sal_True;
|
||||
return true;
|
||||
}
|
||||
|
||||
return FloatingWindow::Notify( rEvt );
|
||||
|
@ -79,7 +79,7 @@ public:
|
||||
void SetWrappedWindow(Window* const pWindow);
|
||||
|
||||
virtual void StateChanged( StateChangedType nType );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual void Resize();
|
||||
virtual void Resizing( Size& rSize );
|
||||
virtual sal_Bool Close();
|
||||
@ -269,7 +269,7 @@ void SfxTitleDockingWindow::SetWrappedWindow( Window* const pWindow )
|
||||
}
|
||||
}
|
||||
|
||||
long SfxTitleDockingWindow::Notify( NotifyEvent& rNEvt )
|
||||
bool SfxTitleDockingWindow::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
return SfxDockingWindow::Notify( rNEvt );
|
||||
}
|
||||
@ -1770,7 +1770,7 @@ Size SfxDockingWindow::GetMinOutputSizePixel() const
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
long SfxDockingWindow::Notify( NotifyEvent& rEvt )
|
||||
bool SfxDockingWindow::Notify( NotifyEvent& rEvt )
|
||||
{
|
||||
if ( rEvt.GetType() == EVENT_GETFOCUS )
|
||||
{
|
||||
@ -1786,7 +1786,7 @@ long SfxDockingWindow::Notify( NotifyEvent& rEvt )
|
||||
// base class, otherwise the parent learns nothing
|
||||
// if ( rEvt.GetWindow() == this ) PB: #i74693# not necessary any longer
|
||||
DockingWindow::Notify( rEvt );
|
||||
return sal_True;
|
||||
return true;
|
||||
}
|
||||
else if( rEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
@ -1794,7 +1794,7 @@ long SfxDockingWindow::Notify( NotifyEvent& rEvt )
|
||||
if ( !DockingWindow::Notify( rEvt ) && SfxViewShell::Current() )
|
||||
// then also for valid global accelerators.
|
||||
return SfxViewShell::Current()->GlobalKeyInput_Impl( *rEvt.GetKeyEvent() );
|
||||
return sal_True;
|
||||
return true;
|
||||
}
|
||||
else if ( rEvt.GetType() == EVENT_LOSEFOCUS && !HasChildPathFocus() )
|
||||
{
|
||||
|
@ -178,7 +178,7 @@ sal_Bool SfxPartDockWnd_Impl::QueryClose()
|
||||
|
||||
//****************************************************************************
|
||||
|
||||
long SfxPartDockWnd_Impl::Notify( NotifyEvent& rEvt )
|
||||
bool SfxPartDockWnd_Impl::Notify( NotifyEvent& rEvt )
|
||||
{
|
||||
if( rEvt.GetType() == EVENT_GETFOCUS )
|
||||
{
|
||||
|
@ -302,9 +302,9 @@ IMPL_LINK_NOARG(DropListBox_Impl, OnAsyncExecuteDrop)
|
||||
return 0;
|
||||
}
|
||||
|
||||
long DropListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool DropListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
long nRet = 0;
|
||||
bool nRet = false;
|
||||
if( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
const KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode();
|
||||
@ -313,12 +313,12 @@ long DropListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
if( pDialog->bCanDel && KEY_DELETE == rKeyCode.GetCode())
|
||||
{
|
||||
pDialog->DeleteHdl( NULL );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
else if( KEY_RETURN == rKeyCode.GetCode())
|
||||
{
|
||||
GetDoubleClickHdl().Call(this);
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -524,7 +524,7 @@ private:
|
||||
|
||||
protected:
|
||||
virtual void Command( const CommandEvent& rMEvt );
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
virtual sal_Bool DoubleClickHdl();
|
||||
virtual bool ExpandingHdl();
|
||||
virtual void ExpandedHdl();
|
||||
@ -592,18 +592,18 @@ void StyleTreeListBox_Impl::Command( const CommandEvent& rCEvt )
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
|
||||
long StyleTreeListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
bool StyleTreeListBox_Impl::Notify( NotifyEvent& rNEvt )
|
||||
{
|
||||
// handle <RETURN> as double click
|
||||
|
||||
long nRet = 0;
|
||||
bool nRet = false;
|
||||
if ( rNEvt.GetType() == EVENT_KEYINPUT )
|
||||
{
|
||||
const KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode();
|
||||
if ( !rKeyCode.GetModifier() && KEY_RETURN == rKeyCode.GetCode() )
|
||||
{
|
||||
aDoubleClickLink.Call( this );
|
||||
nRet = 1;
|
||||
nRet = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ class SfxPartDockWnd_Impl : public SfxDockingWindow
|
||||
{
|
||||
protected:
|
||||
virtual void Resize();
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
|
||||
public:
|
||||
SfxPartDockWnd_Impl( SfxBindings* pBindings,
|
||||
|
@ -73,7 +73,7 @@ public:
|
||||
|
||||
sal_uInt16 GetModifier() const { return nModifier; }
|
||||
|
||||
virtual long Notify( NotifyEvent& rNEvt );
|
||||
virtual bool Notify( NotifyEvent& rNEvt );
|
||||
};
|
||||
|
||||
// class SfxActionListBox ------------------------------------------------
|
||||
|
@ -197,7 +197,7 @@ void Deck::DataChanged (const DataChangedEvent& rEvent)
|
||||
|
||||
|
||||
|
||||
long Deck::Notify (NotifyEvent& rEvent)
|
||||
bool Deck::Notify (NotifyEvent& rEvent)
|
||||
{
|
||||
if (rEvent.GetType() == EVENT_COMMAND)
|
||||
{
|
||||
@ -206,9 +206,7 @@ long Deck::Notify (NotifyEvent& rEvent)
|
||||
switch (pCommandEvent->GetCommand())
|
||||
{
|
||||
case COMMAND_WHEEL:
|
||||
return ProcessWheelEvent(pCommandEvent, rEvent)
|
||||
? sal_True
|
||||
: sal_False;
|
||||
return ProcessWheelEvent(pCommandEvent, rEvent);
|
||||
|
||||
default:
|
||||
break;
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
|
||||
virtual void Paint (const Rectangle& rUpdateArea);
|
||||
virtual void DataChanged (const DataChangedEvent& rEvent);
|
||||
virtual long Notify (NotifyEvent& rEvent);
|
||||
virtual bool Notify (NotifyEvent& rEvent);
|
||||
|
||||
void PrintWindowTree (void);
|
||||
void PrintWindowTree (const ::std::vector<Panel*>& rPanels);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user