diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-01-14 10:21:20 +0100 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:05 +0000 |
commit | 826143684d2697a8620373dce18fa5f24332d5cb (patch) | |
tree | 88be6f99b02c8c9fea849c3125b9e23a18be65f9 /svx/source/dialog | |
parent | d8305248f687ffa522b56955508d82d60ad5b8c6 (diff) |
Timer: Adapted all idle includes and enum uses
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/contimp.hxx | 1 | ||||
-rw-r--r-- | svx/source/dialog/fontwork.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/graphctl.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/imapdlg.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 3 | ||||
-rw-r--r-- | svx/source/dialog/svxbmpnumvalueset.cxx | 2 |
7 files changed, 9 insertions, 7 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 69094cd54301..0b9b9e6b393c 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -273,10 +273,10 @@ SvxSuperContourDlg::SvxSuperContourDlg(SfxBindings *_pBindings, SfxChildWindow * Resize(); - aUpdateIdle.SetPriority( VCL_IDLE_PRIORITY_LOW ); + aUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW ); aUpdateIdle.SetIdleHdl( LINK( this, SvxSuperContourDlg, UpdateHdl ) ); - aCreateIdle.SetPriority( VCL_IDLE_PRIORITY_RESIZE ); + aCreateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_RESIZE ); aCreateIdle.SetIdleHdl( LINK( this, SvxSuperContourDlg, CreateHdl ) ); } diff --git a/svx/source/dialog/contimp.hxx b/svx/source/dialog/contimp.hxx index 2e999e855e8f..7b73b2829732 100644 --- a/svx/source/dialog/contimp.hxx +++ b/svx/source/dialog/contimp.hxx @@ -23,6 +23,7 @@ #include "contwnd.hxx" #include <vcl/toolbox.hxx> #include <vcl/status.hxx> +#include <vcl/idle.hxx> #define CONT_RESID(nId) ResId( nId, DIALOG_MGR() ) diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx index 029435df0ebf..fba9ee47adae 100644 --- a/svx/source/dialog/fontwork.cxx +++ b/svx/source/dialog/fontwork.cxx @@ -282,7 +282,7 @@ SvxFontWorkDialog::SvxFontWorkDialog(SfxBindings *pBindinx, m_pShadowColorLB->SetSelectHdl( LINK(this, SvxFontWorkDialog, ColorSelectHdl_Impl) ); - aInputIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST); + aInputIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); aInputIdle.SetIdleHdl(LINK(this, SvxFontWorkDialog, InputTimoutHdl_Impl)); } diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index 61f5a31ba456..0a640608844f 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -67,7 +67,7 @@ GraphCtrl::GraphCtrl( vcl::Window* pParent, WinBits nStyle ) : pView ( NULL ) { pUserCall = new GraphCtrlUserCall( *this ); - aUpdateIdle.SetPriority( VCL_IDLE_PRIORITY_LOWEST ); + aUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); aUpdateIdle.SetIdleHdl( LINK( this, GraphCtrl, UpdateHdl ) ); aUpdateIdle.Start(); EnableRTL( false ); diff --git a/svx/source/dialog/imapdlg.cxx b/svx/source/dialog/imapdlg.cxx index dbb665f6af29..457662305815 100644 --- a/svx/source/dialog/imapdlg.cxx +++ b/svx/source/dialog/imapdlg.cxx @@ -207,7 +207,7 @@ SvxIMapDlg::SvxIMapDlg(SfxBindings *_pBindings, SfxChildWindow *pCW, vcl::Window m_pCbbTarget->Disable(); pOwnData->bExecState = false; - pOwnData->aIdle.SetPriority( VCL_IDLE_PRIORITY_LOW ); + pOwnData->aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW ); pOwnData->aIdle.SetIdleHdl( LINK( this, SvxIMapDlg, UpdateHdl ) ); m_pTbxIMapDlg1->EnableItem( mnActiveId, false ); diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index a493b6b13f87..ac2c7f681ea1 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -22,6 +22,7 @@ #include <vcl/wrkwin.hxx> #include <vcl/morebtn.hxx> #include <vcl/msgbox.hxx> +#include <vcl/idle.hxx> #include <svl/slstitm.hxx> #include <svl/itemiter.hxx> #include <svl/style.hxx> @@ -364,7 +365,7 @@ void SvxSearchDialog::Construct_Impl() { // temporary to avoid incompatibility pImpl = new SearchDlg_Impl(); - pImpl->aSelectionIdle.SetPriority( VCL_IDLE_PRIORITY_LOWEST ); + pImpl->aSelectionIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); pImpl->aSelectionIdle.SetIdleHdl( LINK( this, SvxSearchDialog, TimeoutHdl_Impl ) ); EnableControls_Impl( 0 ); diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index 55aebe385f83..2403991686d7 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -480,7 +480,7 @@ void SvxBmpNumValueSet::init() GalleryExplorer::BeginLocking(GALLERY_THEME_BULLETS); SetStyle( GetStyle() | WB_VSCROLL ); SetLineCount( 3 ); - aFormatIdle.SetPriority(VCL_IDLE_PRIORITY_LOWEST); + aFormatIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); aFormatIdle.SetIdleHdl(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl)); } |