Kaydet (Commit) 724b48d8 authored tarafından Caolán McNamara's avatar Caolán McNamara

extent .ui loading to SfxFloatingWindows

Change-Id: I3e16ef8455b35faf14838509f315cb2f70e7cb9a
üst 653025e6
......@@ -138,6 +138,10 @@ protected:
SfxChildWindow *pCW,
Window* pParent,
const ResId& rResId);
SfxFloatingWindow( SfxBindings *pBindings,
SfxChildWindow *pCW,
Window* pParent,
const OString& rID, const OUString& rUIXMLDescription);
virtual ~SfxFloatingWindow();
virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE;
......
......@@ -480,7 +480,26 @@ SfxFloatingWindow::SfxFloatingWindow( SfxBindings *pBindinx,
pImp->aMoveTimer.SetTimeoutHdl(LINK(this,SfxFloatingWindow,TimerHdl));
}
SfxFloatingWindow::SfxFloatingWindow( SfxBindings *pBindinx,
SfxChildWindow *pCW,
Window* pParent,
const OString& rID, const OUString& rUIXMLDescription) :
FloatingWindow(pParent, rID, rUIXMLDescription),
pBindings(pBindinx),
pImp( new SfxFloatingWindow_Impl )
{
pImp->pMgr = pCW;
pImp->bConstructed = false;
//do we really need this odd helpid/uniqueid dance ?
SetUniqueId( GetHelpId() );
SetHelpId("");
if ( pBindinx )
pImp->StartListening( *pBindinx );
pImp->aMoveTimer.SetTimeout(50);
pImp->aMoveTimer.SetTimeoutHdl(LINK(this,SfxFloatingWindow,TimerHdl));
}
bool SfxFloatingWindow::Close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment