summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--avmedia/source/framework/mediacontrol.cxx2
-rw-r--r--avmedia/source/framework/soundhandler.cxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx2
-rw-r--r--basctl/source/dlged/dlged.cxx2
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx2
-rw-r--r--cui/source/dialogs/cuigaldlg.cxx2
-rw-r--r--cui/source/dialogs/linkdlg.cxx2
-rw-r--r--cui/source/dialogs/thesdlg.cxx2
-rw-r--r--cui/source/options/optjava.cxx2
-rw-r--r--cui/source/tabpages/backgrnd.cxx2
-rw-r--r--cui/source/tabpages/chardlg.cxx2
-rw-r--r--cui/source/tabpages/macroass.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx2
-rw-r--r--desktop/source/deployment/gui/dp_gui_dialog2.cxx4
-rw-r--r--editeng/source/editeng/impedit2.cxx2
-rw-r--r--extensions/source/bibliography/bibcont.cxx2
-rw-r--r--extensions/source/bibliography/toolbar.cxx2
-rw-r--r--extensions/source/update/ui/updatecheckui.cxx2
-rw-r--r--forms/source/component/ListBox.cxx2
-rw-r--r--formula/source/ui/dlg/formula.cxx2
-rw-r--r--formula/source/ui/dlg/funcutl.cxx6
-rw-r--r--include/vcl/idle.hxx16
-rw-r--r--linguistic/source/lngsvcmgr.cxx2
-rw-r--r--reportdesign/source/ui/report/DesignView.cxx2
-rw-r--r--sc/source/core/data/documen2.cxx2
-rw-r--r--sc/source/core/tool/chartlis.cxx2
-rw-r--r--sc/source/ui/app/scmod.cxx2
-rw-r--r--sc/source/ui/dbgui/sfiltdlg.cxx2
-rw-r--r--sc/source/ui/docshell/autostyl.cxx2
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx2
-rw-r--r--sc/source/ui/miscdlgs/acredlin.cxx4
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx2
-rw-r--r--sc/source/ui/miscdlgs/conflictsdlg.cxx2
-rw-r--r--sc/source/ui/navipi/navipi.cxx2
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
-rw-r--r--sd/source/core/drawdoc4.cxx2
-rw-r--r--sd/source/ui/dlg/brkdlg.cxx2
-rw-r--r--sd/source/ui/dlg/dlgass.cxx6
-rw-r--r--sd/source/ui/dlg/filedlg.cxx2
-rw-r--r--sd/source/ui/framework/module/ShellStackGuard.cxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlsAnimator.cxx2
-rw-r--r--sd/source/ui/view/sdview.cxx4
-rw-r--r--sfx2/source/appl/appcfg.cxx2
-rw-r--r--sfx2/source/appl/newhelp.cxx8
-rw-r--r--sfx2/source/control/dispatch.cxx6
-rw-r--r--sfx2/source/dialog/basedlgs.cxx6
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx4
-rw-r--r--sfx2/source/dialog/dockwin.cxx6
-rw-r--r--sfx2/source/dialog/filedlghelper.cxx4
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
-rw-r--r--sfx2/source/doc/new.cxx2
-rw-r--r--starmath/source/edit.cxx4
-rw-r--r--svtools/source/contnr/imivctl1.cxx12
-rw-r--r--svtools/source/contnr/svimpbox.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
-rw-r--r--svtools/source/control/asynclink.cxx2
-rw-r--r--svtools/source/control/tabbar.cxx2
-rw-r--r--svtools/source/dialogs/wizdlg.cxx2
-rw-r--r--svtools/source/misc/filechangedchecker.cxx2
-rw-r--r--svx/source/dialog/_contdlg.cxx4
-rw-r--r--svx/source/dialog/fontwork.cxx2
-rw-r--r--svx/source/dialog/graphctl.cxx2
-rw-r--r--svx/source/dialog/imapdlg.cxx2
-rw-r--r--svx/source/dialog/srchdlg.cxx2
-rw-r--r--svx/source/dialog/svxbmpnumvalueset.cxx2
-rw-r--r--svx/source/form/datanavi.cxx2
-rw-r--r--svx/source/form/formcontroller.cxx2
-rw-r--r--svx/source/inc/eventhandler.hxx2
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx2
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofpageobj.cxx2
-rw-r--r--svx/source/sdr/overlay/overlaymanagerbuffered.cxx2
-rw-r--r--svx/source/sidebar/PanelLayout.cxx2
-rw-r--r--svx/source/stbctrls/modctrl.cxx2
-rw-r--r--svx/source/svdraw/svdibrow.cxx2
-rw-r--r--svx/source/svdraw/svdpntv.cxx2
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx2
-rw-r--r--sw/source/core/doc/docnew.cxx2
-rw-r--r--sw/source/core/docnode/threadmanager.cxx2
-rw-r--r--sw/source/ui/dbui/mmoutputtypepage.cxx2
-rw-r--r--sw/source/ui/envelp/labfmt.cxx2
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
-rw-r--r--sw/source/uibase/docvw/srcedtw.cxx2
-rw-r--r--sw/source/uibase/utlui/navipi.cxx2
-rw-r--r--sw/source/uibase/utlui/unotools.cxx2
-rw-r--r--vcl/generic/print/genprnpsp.cxx2
-rw-r--r--vcl/osx/salinst.cxx2
-rw-r--r--vcl/qa/cppunit/timer.cxx2
-rw-r--r--vcl/source/app/idle.cxx4
-rw-r--r--vcl/source/edit/textdata.cxx2
-rw-r--r--vcl/source/window/dockmgr.cxx4
-rw-r--r--vcl/source/window/dockwin.cxx4
-rw-r--r--vcl/source/window/syswin.cxx2
-rw-r--r--vcl/source/window/toolbox.cxx2
-rw-r--r--vcl/source/window/window.cxx4
94 files changed, 131 insertions, 131 deletions
diff --git a/avmedia/source/framework/mediacontrol.cxx b/avmedia/source/framework/mediacontrol.cxx
index 431108bbdf78..3c207670d07a 100644
--- a/avmedia/source/framework/mediacontrol.cxx
+++ b/avmedia/source/framework/mediacontrol.cxx
@@ -187,7 +187,7 @@ MediaControl::MediaControl( vcl::Window* pParent, MediaControlStyle eControlStyl
maMinSize.Height() = ( maMinSize.Height() << 1 ) + AVMEDIA_CONTROLOFFSET;
}
- maIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ maIdle.SetPriority( IdlePriority::LOW );
maIdle.SetIdleHdl( LINK( this, MediaControl, implTimeoutHdl ) );
maIdle.Start();
}
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx
index 9195401b6718..22658db1df1c 100644
--- a/avmedia/source/framework/soundhandler.cxx
+++ b/avmedia/source/framework/soundhandler.cxx
@@ -263,7 +263,7 @@ void SAL_CALL SoundHandler::dispatchWithNotification(const css::util::URL&
// Count this request and initialize self-holder against dying by uno ref count ...
m_xSelfHold = css::uno::Reference< css::uno::XInterface >(static_cast< ::cppu::OWeakObject* >(this), css::uno::UNO_QUERY);
m_xPlayer->start();
- m_aUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWER );
+ m_aUpdateIdle.SetPriority( IdlePriority::LOWER );
m_aUpdateIdle.Start();
}
catch( css::uno::Exception& e )
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 51d5c87b147f..69b566599170 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -969,7 +969,7 @@ void EditorWindow::CreateEditEngine()
ImplSetFont();
- aSyntaxIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWER );
+ aSyntaxIdle.SetPriority( IdlePriority::LOWER );
aSyntaxIdle.SetIdleHdl( LINK( this, EditorWindow, SyntaxTimerHdl ) );
bool bWasDoSyntaxHighlight = bDoSyntaxHighlight;
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 44c933143048..9b4bb8136ed4 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -220,7 +220,7 @@ DlgEditor::DlgEditor (
m_ClipboardDataFlavorsResource[1].HumanPresentableName = "Dialog 8.0" ;
m_ClipboardDataFlavorsResource[1].DataType = ::getCppuType( (const Sequence< sal_Int8 >*) 0 );
- aMarkIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOW);
+ aMarkIdle.SetPriority(IdlePriority::LOW);
aMarkIdle.SetIdleHdl( LINK( this, DlgEditor, MarkTimeout ) );
rWindow.SetMapMode( MapMode( MAP_100TH_MM ) );
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index b846eb6c58bb..f9def833700d 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -560,7 +560,7 @@ GL3DBarChart::GL3DBarChart(
{
mbAutoFly = atoi(aAutoFly);
}
- maIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
+ maIdle.SetPriority(IdlePriority::REPAINT);
maIdle.SetIdleHdl(LINK(this, GL3DBarChart, UpdateTimerHdl));
maIdle.Start();
osl_getSystemTime(&maFPSRenderStartTime);
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index 30e64eb41d5e..8610c0e19d39 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -452,7 +452,7 @@ short ActualizeProgress::Execute()
if ( pIdle )
{
pIdle->SetIdleHdl( LINK( this, ActualizeProgress, TimeoutHdl ) );
- pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ pIdle->SetPriority( IdlePriority::LOWEST );
pIdle->Start();
}
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx
index c5c6fbfb7f4a..b588ea1ac89e 100644
--- a/cui/source/dialogs/linkdlg.cxx
+++ b/cui/source/dialogs/linkdlg.cxx
@@ -125,7 +125,7 @@ SvBaseLinksDlg::SvBaseLinksDlg( vcl::Window * pParent, LinkManager* pMgr, bool b
// UpdateTimer for DDE-/Grf-links, which are waited for
aUpdateIdle.SetIdleHdl( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) );
- aUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aUpdateIdle.SetPriority( IdlePriority::LOWEST );
m_pPbOpenSource->Hide();
diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx
index c98a96f9ae0d..f24ab65b68ad 100644
--- a/cui/source/dialogs/thesdlg.cxx
+++ b/cui/source/dialogs/thesdlg.cxx
@@ -61,7 +61,7 @@ LookUpComboBox::LookUpComboBox(vcl::Window *pParent)
EnableAutoSize(true);
m_aModifyIdle.SetIdleHdl( LINK( this, LookUpComboBox, ModifyTimer_Hdl ) );
- m_aModifyIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ m_aModifyIdle.SetPriority( IdlePriority::LOWEST );
EnableAutocomplete( false );
}
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 901361e33810..8572b796c129 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -182,7 +182,7 @@ SvxJavaOptionsPage::SvxJavaOptionsPage( vcl::Window* pParent, const SfxItemSet&
m_pParameterBtn->SetClickHdl( LINK( this, SvxJavaOptionsPage, ParameterHdl_Impl ) );
m_pClassPathBtn->SetClickHdl( LINK( this, SvxJavaOptionsPage, ClassPathHdl_Impl ) );
m_aResetIdle.SetIdleHdl( LINK( this, SvxJavaOptionsPage, ResetHdl_Impl ) );
- m_aResetIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ m_aResetIdle.SetPriority(IdlePriority::LOWER);
m_pExpertConfigBtn->SetClickHdl( LINK( this, SvxJavaOptionsPage, ExpertConfigHdl_Impl) );
if (!officecfg::Office::Common::Security::EnableExpertConfiguration::get())
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 62476bf25934..4f3a14840224 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -1093,7 +1093,7 @@ void SvxBackgroundTabPage::ShowSelector()
// delayed loading via timer (because of UI-Update)
pPageImpl->pLoadIdle = new Idle;
- pPageImpl->pLoadIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ pPageImpl->pLoadIdle->SetPriority( IdlePriority::LOWEST );
pPageImpl->pLoadIdle->SetIdleHdl(
LINK( this, SvxBackgroundTabPage, LoadIdleHdl_Impl ) );
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 8d1da6bfa6fe..c0cf87af4693 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -251,7 +251,7 @@ struct SvxCharNamePage_Impl
m_bInSearchMode ( false )
{
- m_aUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ m_aUpdateIdle.SetPriority( IdlePriority::LOWEST );
}
~SvxCharNamePage_Impl()
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index 3a160a03b086..1a54d8401b06 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -192,7 +192,7 @@ void _SfxMacroTabPage::LaunchFillGroup()
if (!mpImpl->maFillGroupIdle.GetIdleHdl().IsSet())
{
mpImpl->maFillGroupIdle.SetIdleHdl( STATIC_LINK( this, _SfxMacroTabPage, TimeOut_Impl ) );
- mpImpl->maFillGroupIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST );
+ mpImpl->maFillGroupIdle.SetPriority( IdlePriority::HIGHEST );
mpImpl->maFillGroupIdle.Start();
}
}
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 28a00c1c1090..200bf50452af 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -1048,7 +1048,7 @@ bool OJoinTableView::ScrollWhileDragging()
// resetting timer, if still necessary
if (bNeedScrollTimer)
{
- m_aDragScrollIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOW);
+ m_aDragScrollIdle.SetPriority(IdlePriority::LOW);
m_aDragScrollIdle.Start();
}
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
index 9f926b4e20a7..3fb4919d1359 100644
--- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx
+++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx
@@ -709,7 +709,7 @@ ExtMgrDialog::ExtMgrDialog(vcl::Window *pParent, TheExtensionManager *pManager)
m_pUpdateBtn->Enable(false);
- m_aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ m_aIdle.SetPriority(IdlePriority::LOWEST);
m_aIdle.SetIdleHdl( LINK( this, ExtMgrDialog, TimeOutHdl ) );
}
@@ -1191,7 +1191,7 @@ UpdateRequiredDialog::UpdateRequiredDialog(vcl::Window *pParent, TheExtensionMan
m_pUpdateBtn->Enable( false );
m_pCloseBtn->GrabFocus();
- m_aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ m_aIdle.SetPriority( IdlePriority::MEDIUM );
m_aIdle.SetIdleHdl( LINK( this, UpdateRequiredDialog, TimeOutHdl ) );
}
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 702c00759985..604d2cb181ea 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -145,7 +145,7 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
aStatusTimer.SetTimeout( 200 );
aStatusTimer.SetTimeoutHdl( LINK( this, ImpEditEngine, StatusTimerHdl ) );
- aIdleFormatter.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT );
+ aIdleFormatter.SetPriority( IdlePriority::REPAINT );
aIdleFormatter.SetIdleHdl( LINK( this, ImpEditEngine, IdleFormatHdl ) );
aOnlineSpellTimer.SetTimeout( 100 );
diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx
index 3f89c877cb2a..98f39dcde2e8 100644
--- a/extensions/source/bibliography/bibcont.cxx
+++ b/extensions/source/bibliography/bibcont.cxx
@@ -127,7 +127,7 @@ BibBookContainer::BibBookContainer(vcl::Window* pParent, WinBits nStyle):
{
pBibMod = OpenBibModul();
aIdle.SetIdleHdl(LINK( this, BibBookContainer, SplitHdl));
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aIdle.SetPriority(IdlePriority::LOWEST);
}
BibBookContainer::~BibBookContainer()
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index 7607d3a46ea8..c59b1abf26a2 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -207,7 +207,7 @@ BibToolBar::BibToolBar(vcl::Window* pParent, Link aLink, WinBits nStyle):
Application::AddEventListener( LINK( this, BibToolBar, SettingsChanged_Impl ) );
aIdle.SetIdleHdl(LINK( this, BibToolBar, SendSelHdl));
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aIdle.SetPriority(IdlePriority::LOWEST);
SetDropdownClickHdl( LINK( this, BibToolBar, MenuHdl));
diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx
index db13c43234ff..d353a37f7b97 100644
--- a/extensions/source/update/ui/updatecheckui.cxx
+++ b/extensions/source/update/ui/updatecheckui.cxx
@@ -213,7 +213,7 @@ UpdateCheckUI::UpdateCheckUI(const uno::Reference<uno::XComponentContext>& xCont
maBubbleImage = GetBubbleImage( maBubbleImageURL );
- maWaitIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ maWaitIdle.SetPriority( IdlePriority::LOWEST );
maWaitIdle.SetIdleHdl( LINK( this, UpdateCheckUI, WaitTimeOutHdl ) );
maTimeoutTimer.SetTimeout( 10000 );
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index e1ff9958fb68..e8666965dfaf 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -1784,7 +1784,7 @@ namespace frm
doSetDelegator();
- m_aChangeIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ m_aChangeIdle.SetPriority(IdlePriority::LOWEST);
m_aChangeIdle.SetIdleHdl(LINK(this,OListBoxControl,OnTimeout));
}
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index af8ec0e27636..c33d1e0edf8f 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -1773,7 +1773,7 @@ OUString FormulaDlg::GetMeText() const
void FormulaDlg::Update()
{
m_pImpl->Update();
- m_pImpl->aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ m_pImpl->aIdle.SetPriority(IdlePriority::LOWER);
m_pImpl->aIdle.SetIdleHdl(LINK( this, FormulaDlg, UpdateFocusHdl));
m_pImpl->aIdle.Start();
}
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx
index 4dc6d18d4233..70653ddb52f1 100644
--- a/formula/source/ui/dlg/funcutl.cxx
+++ b/formula/source/ui/dlg/funcutl.cxx
@@ -461,7 +461,7 @@ RefEdit::RefEdit( vcl::Window* _pParent, vcl::Window* pShrinkModeLabel, WinBits
, pLabelWidget(pShrinkModeLabel)
{
aIdle.SetIdleHdl( LINK( this, RefEdit, UpdateHdl ) );
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ aIdle.SetPriority( IdlePriority::LOW );
}
RefEdit::RefEdit( vcl::Window* _pParent,IControlReferenceHandler* pParent,
@@ -471,7 +471,7 @@ RefEdit::RefEdit( vcl::Window* _pParent,IControlReferenceHandler* pParent,
, pLabelWidget(pShrinkModeLabel)
{
aIdle.SetIdleHdl( LINK( this, RefEdit, UpdateHdl ) );
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ aIdle.SetPriority( IdlePriority::LOW );
}
extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeRefEdit(vcl::Window *pParent, VclBuilder::stringmap &)
@@ -523,7 +523,7 @@ void RefEdit::SetReferences( IControlReferenceHandler* pDlg, vcl::Window* pLabel
if( pDlg )
{
aIdle.SetIdleHdl( LINK( this, RefEdit, UpdateHdl ) );
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ aIdle.SetPriority( IdlePriority::LOW );
}
else
{
diff --git a/include/vcl/idle.hxx b/include/vcl/idle.hxx
index ef6d7b5e2f8c..3a63e6ef286a 100644
--- a/include/vcl/idle.hxx
+++ b/include/vcl/idle.hxx
@@ -28,14 +28,14 @@ struct ImplIdleData;
struct ImplSVData;
enum class IdlePriority {
- VCL_IDLE_PRIORITY_HIGHEST = 0,
- VCL_IDLE_PRIORITY_HIGH = 1,
- VCL_IDLE_PRIORITY_REPAINT = 2,
- VCL_IDLE_PRIORITY_RESIZE = 3,
- VCL_IDLE_PRIORITY_MEDIUM = 3,
- VCL_IDLE_PRIORITY_LOW = 4,
- VCL_IDLE_PRIORITY_LOWER = 5,
- VCL_IDLE_PRIORITY_LOWEST = 6
+ HIGHEST = 0,
+ HIGH = 1,
+ REPAINT = 2,
+ RESIZE = 3,
+ MEDIUM = 3,
+ LOW = 4,
+ LOWER = 5,
+ LOWEST = 6
};
class VCL_DLLPUBLIC Idle
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index d9001c4c4652..a87e3c95f3f4 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -476,7 +476,7 @@ LngSvcMgr::LngSvcMgr()
UpdateAll();
- aUpdateIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aUpdateIdle.SetPriority(IdlePriority::LOWEST);
aUpdateIdle.SetIdleHdl(LINK(this, LngSvcMgr, updateAndBroadcast));
// request to be notified if an extension has been added/removed
diff --git a/reportdesign/source/ui/report/DesignView.cxx b/reportdesign/source/ui/report/DesignView.cxx
index e0ae0a9d51cd..1104bddf6efe 100644
--- a/reportdesign/source/ui/report/DesignView.cxx
+++ b/reportdesign/source/ui/report/DesignView.cxx
@@ -118,7 +118,7 @@ ODesignView::ODesignView( vcl::Window* pParent,
m_aSplitWin.SetAlign(WINDOWALIGN_LEFT);
m_aSplitWin.Show();
- m_aMarkIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ m_aMarkIdle.SetPriority( IdlePriority::LOW );
m_aMarkIdle.SetIdleHdl( LINK( this, ODesignView, MarkTimeout ) );
}
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 77322f8c4a41..4a4310a2054c 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -250,7 +250,7 @@ ScDocument::ScDocument( ScDocumentMode eMode, SfxObjectShell* pDocShell ) :
SetLanguage( ScGlobal::eLnge, ScGlobal::eLnge, ScGlobal::eLnge );
aTrackIdle.SetIdleHdl( LINK( this, ScDocument, TrackTimeHdl ) );
- aTrackIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ aTrackIdle.SetPriority( IdlePriority::LOW );
}
sfx2::LinkManager* ScDocument::GetLinkManager()
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index 7d12a689ccbb..d3dea909cc03 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -589,7 +589,7 @@ void ScChartListenerCollection::FreeUno( const uno::Reference< chart::XChartData
void ScChartListenerCollection::StartTimer()
{
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT );
+ aIdle.SetPriority( IdlePriority::REPAINT );
aIdle.Start();
}
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 5c396759865e..d3abb5a40c9a 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -174,7 +174,7 @@ ScModule::ScModule( SfxObjectFactory* pFact ) :
ERRCODE_AREA_APP2-1,
GetResMgr() );
- aSpellIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
+ aSpellIdle.SetPriority(IdlePriority::REPAINT);
aSpellIdle.SetIdleHdl( LINK( this, ScModule, SpellTimerHdl ) );
aIdleTimer.SetTimeout(SC_IDLE_MIN);
aIdleTimer.SetTimeoutHdl( LINK( this, ScModule, IdleHandler ) );
diff --git a/sc/source/ui/dbgui/sfiltdlg.cxx b/sc/source/ui/dbgui/sfiltdlg.cxx
index 164554e0089d..2999cb214907 100644
--- a/sc/source/ui/dbgui/sfiltdlg.cxx
+++ b/sc/source/ui/dbgui/sfiltdlg.cxx
@@ -87,7 +87,7 @@ ScSpecialFilterDlg::ScSpecialFilterDlg( SfxBindings* pB, SfxChildWindow* pCW, vc
// Hack: RefInput-Kontrolle
pIdle = new Idle;
- pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM ); // 50ms warten
+ pIdle->SetPriority( IdlePriority::MEDIUM ); // 50ms warten
pIdle->SetIdleHdl( LINK( this, ScSpecialFilterDlg, TimeOutHdl ) );
pIdle->Start();
diff --git a/sc/source/ui/docshell/autostyl.cxx b/sc/source/ui/docshell/autostyl.cxx
index 7b1af95b5708..9ab079a90d1a 100644
--- a/sc/source/ui/docshell/autostyl.cxx
+++ b/sc/source/ui/docshell/autostyl.cxx
@@ -84,7 +84,7 @@ ScAutoStyleList::ScAutoStyleList(ScDocShell* pShell)
{
aTimer.SetTimeoutHdl( LINK( this, ScAutoStyleList, TimerHdl ) );
aInitIdle.SetIdleHdl( LINK( this, ScAutoStyleList, InitHdl ) );
- aInitIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST );
+ aInitIdle.SetPriority( IdlePriority::HIGHEST );
}
ScAutoStyleList::~ScAutoStyleList()
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index a6ec1c0f72f0..2dd6bbebfd61 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -103,7 +103,7 @@ ScFunctionDockWin::ScFunctionDockWin( SfxBindings* pBindingsP,
InitLRUList();
SetStyle(GetStyle()|WB_CLIPCHILDREN);
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ aIdle.SetPriority(IdlePriority::LOWER);
aIdle.SetIdleHdl(LINK( this, ScFunctionDockWin, TimerHdl));
if (pCW != NULL)
diff --git a/sc/source/ui/miscdlgs/acredlin.cxx b/sc/source/ui/miscdlgs/acredlin.cxx
index 15f0f69ab81f..b4a750773e6e 100644
--- a/sc/source/ui/miscdlgs/acredlin.cxx
+++ b/sc/source/ui/miscdlgs/acredlin.cxx
@@ -114,13 +114,13 @@ ScAcceptChgDlg::ScAcceptChgDlg(SfxBindings* pB, SfxChildWindow* pCW, vcl::Window
m_pAcceptChgCtr = new SvxAcceptChgCtr(get_content_area(), this);
nAcceptCount=0;
nRejectCount=0;
- aReOpenIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM);
+ aReOpenIdle.SetPriority(IdlePriority::MEDIUM);
aReOpenIdle.SetIdleHdl(LINK( this, ScAcceptChgDlg, ReOpenTimerHdl ));
pTPFilter=m_pAcceptChgCtr->GetFilterPage();
pTPView=m_pAcceptChgCtr->GetViewPage();
pTheView=pTPView->GetTableControl();
- aSelectionIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOW);
+ aSelectionIdle.SetPriority(IdlePriority::LOW);
aSelectionIdle.SetIdleHdl(LINK( this, ScAcceptChgDlg, UpdateSelectionHdl ));
pTPFilter->SetReadyHdl(LINK( this, ScAcceptChgDlg, FilterHandle ));
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index 48843fdfa74b..8cfed18a6f70 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -767,7 +767,7 @@ ScRefHandler::ScRefHandler( vcl::Window &rWindow, SfxBindings* pB, bool bBindRef
{
m_aHelper.SetWindow(&m_rWindow);
reverseUniqueHelpIdHack(m_rWindow);
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ aIdle.SetPriority(IdlePriority::LOWER);
aIdle.SetIdleHdl(LINK( this, ScRefHandler, UpdateFocusHdl));
if( bBindRef ) EnterRefMode();
diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx
index ccb49642d4ef..e2d4e152ec62 100644
--- a/sc/source/ui/miscdlgs/conflictsdlg.cxx
+++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx
@@ -420,7 +420,7 @@ ScConflictsDlg::ScConflictsDlg( vcl::Window* pParent, ScViewData* pViewData, ScD
m_pLbConflicts->SetSelectionMode( MULTIPLE_SELECTION );
m_pLbConflicts->SetHighlightRange();
- maSelectionIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ maSelectionIdle.SetPriority( IdlePriority::LOW );
maSelectionIdle.SetIdleHdl( LINK( this, ScConflictsDlg, UpdateSelectionHdl ) );
m_pLbConflicts->SetSelectHdl( LINK( this, ScConflictsDlg, SelectHandle ) );
diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx
index 0bd20f246be9..9756adca29a3 100644
--- a/sc/source/ui/navipi/navipi.cxx
+++ b/sc/source/ui/navipi/navipi.cxx
@@ -657,7 +657,7 @@ ScNavigatorDlg::ScNavigatorDlg( SfxBindings* pB, SfxChildWindowContext* pCW, vcl
aWndScenarios.SetPosPixel( aLbEntries.GetPosPixel() );
aContentIdle.SetIdleHdl( LINK( this, ScNavigatorDlg, TimeHdl ) );
- aContentIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aContentIdle.SetPriority( IdlePriority::LOWEST );
FreeResource();
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index 7198685d9990..e0e610293f97 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -331,7 +331,7 @@ ScExtIButton::ScExtIButton(vcl::Window* pParent, WinBits nBits )
: ImageButton(pParent,nBits), pPopupMenu(NULL)
{
nSelected=0;
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aIdle.SetPriority(IdlePriority::LOWEST);
SetDropDown(PUSHBUTTON_DROPDOWN_TOOLBOX);
}
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 633a522e4de3..b51fd3f1b8f5 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -775,7 +775,7 @@ void SdDrawDocument::StartOnlineSpelling(bool bForceSpelling)
mpOnlineSpellingList->seekShape(0);
mpOnlineSpellingIdle = new Idle();
mpOnlineSpellingIdle->SetIdleHdl( LINK(this, SdDrawDocument, OnlineSpellingHdl) );
- mpOnlineSpellingIdle->SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ mpOnlineSpellingIdle->SetPriority(IdlePriority::LOWEST);
mpOnlineSpellingIdle->Start();
}
}
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx
index 8506d6accb20..d0696dc258ab 100644
--- a/sd/source/ui/dlg/brkdlg.cxx
+++ b/sd/source/ui/dlg/brkdlg.cxx
@@ -144,7 +144,7 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit )
*/
short BreakDlg::Execute()
{
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT );
+ aIdle.SetPriority( IdlePriority::REPAINT );
aIdle.SetIdleHdl( LINK( this, BreakDlg, InitialUpdate ) );
aIdle.Start();
diff --git a/sd/source/ui/dlg/dlgass.cxx b/sd/source/ui/dlg/dlgass.cxx
index 473725849f85..430c685cd9c8 100644
--- a/sd/source/ui/dlg/dlgass.cxx
+++ b/sd/source/ui/dlg/dlgass.cxx
@@ -585,13 +585,13 @@ AssistentDlgImpl::AssistentDlgImpl( vcl::Window* pWindow, const Link& rFinishLin
maAssistentFunc.GotoPage(1);
mpLastPageButton->Disable();
- maPrevIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWER );
+ maPrevIdle.SetPriority( IdlePriority::LOWER );
maPrevIdle.SetIdleHdl( LINK( this, AssistentDlgImpl, UpdatePreviewHdl));
- maEffectPrevIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ maEffectPrevIdle.SetPriority( IdlePriority::MEDIUM );
maEffectPrevIdle.SetIdleHdl( LINK( this, AssistentDlgImpl, EffectPreviewHdl ));
- maUpdatePageListIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ maUpdatePageListIdle.SetPriority( IdlePriority::MEDIUM );
maUpdatePageListIdle.SetIdleHdl( LINK( this, AssistentDlgImpl, UpdatePageListHdl));
SetStartType( ST_EMPTY );
diff --git a/sd/source/ui/dlg/filedlg.cxx b/sd/source/ui/dlg/filedlg.cxx
index f014444c8e44..2b9cdcca329b 100644
--- a/sd/source/ui/dlg/filedlg.cxx
+++ b/sd/source/ui/dlg/filedlg.cxx
@@ -133,7 +133,7 @@ IMPL_LINK_NOARG(SdFileDialog_Imp, PlayMusicHdl)
{
mxPlayer.set( avmedia::MediaWindow::createPlayer( aUrl, "" ), css::uno::UNO_QUERY_THROW );
mxPlayer->start();
- maUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ maUpdateIdle.SetPriority( IdlePriority::LOW );
maUpdateIdle.Start();
}
catch (const css::uno::Exception&)
diff --git a/sd/source/ui/framework/module/ShellStackGuard.cxx b/sd/source/ui/framework/module/ShellStackGuard.cxx
index de5819d4a31c..4e44b73561e8 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.cxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.cxx
@@ -72,7 +72,7 @@ ShellStackGuard::ShellStackGuard (Reference<frame::XController>& rxController)
// Prepare the printer polling.
maPrinterPollingIdle.SetIdleHdl(LINK(this,ShellStackGuard,TimeoutHandler));
- maPrinterPollingIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ maPrinterPollingIdle.SetPriority(IdlePriority::LOWER);
}
}
diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
index 381d6bd2396d..48014c03a7c0 100644
--- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
@@ -68,7 +68,7 @@ Animator::Animator (SlideSorter& rSlideSorter)
mpDrawLock(),
mnNextAnimationId(0)
{
- maIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
+ maIdle.SetPriority(IdlePriority::REPAINT);
maIdle.SetIdleHdl(LINK(this,Animator,TimeoutHandler));
}
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 59db8b5c795f..e3f9d6789fda 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -139,9 +139,9 @@ View::View(SdDrawDocument& rDrawDoc, OutputDevice* pOutDev,
// Timer for delayed drop (has to be for MAC)
maDropErrorIdle.SetIdleHdl( LINK(this, View, DropErrorHdl) );
- maDropErrorIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM);
+ maDropErrorIdle.SetPriority(IdlePriority::MEDIUM);
maDropInsertFileIdle.SetIdleHdl( LINK(this, View, DropInsertFileHdl) );
- maDropInsertFileIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM);
+ maDropInsertFileIdle.SetPriority(IdlePriority::MEDIUM);
}
void View::ImplClearDrawDropMarker()
diff --git a/sfx2/source/appl/appcfg.cxx b/sfx2/source/appl/appcfg.cxx
index 7cae170a02af..8b10b64bef4c 100644
--- a/sfx2/source/appl/appcfg.cxx
+++ b/sfx2/source/appl/appcfg.cxx
@@ -115,7 +115,7 @@ SfxEventAsyncer_Impl::SfxEventAsyncer_Impl( const SfxEventHint& rHint )
StartListening( *rHint.GetObjShell() );
pIdle = new Idle;
pIdle->SetIdleHdl( LINK(this, SfxEventAsyncer_Impl, IdleHdl) );
- pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST );
+ pIdle->SetPriority( IdlePriority::HIGHEST );
pIdle->Start();
}
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 743b9dba9e6d..d2aaeadfe77b 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -539,7 +539,7 @@ IndexTabPage_Impl::IndexTabPage_Impl(vcl::Window* pParent, SfxHelpIndexWindow_Im
m_pOpenBtn->SetClickHdl( LINK( this, IndexTabPage_Impl, OpenHdl ) );
Link aTimeoutLink = LINK( this, IndexTabPage_Impl, TimeoutHdl );
aFactoryIdle.SetIdleHdl( LINK(this, IndexTabPage_Impl, IdleHdl ));
- aFactoryIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ aFactoryIdle.SetPriority(IdlePriority::LOWER);
aKeywordTimer.SetTimeoutHdl( aTimeoutLink );
}
@@ -1406,7 +1406,7 @@ SfxHelpIndexWindow_Impl::SfxHelpIndexWindow_Impl(SfxHelpWindow_Impl* _pParent)
nMinWidth = ( m_pActiveLB->GetSizePixel().Width() / 2 );
aIdle.SetIdleHdl( LINK( this, SfxHelpIndexWindow_Impl, InitHdl ) );
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWER );
+ aIdle.SetPriority( IdlePriority::LOWER );
aIdle.Start();
Show();
@@ -1533,7 +1533,7 @@ IMPL_LINK_NOARG(SfxHelpIndexWindow_Impl, InitHdl)
// now use the timer for selection
aIdle.SetIdleHdl( LINK( this, SfxHelpIndexWindow_Impl, SelectFactoryHdl ) );
- aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aIdle.SetPriority( IdlePriority::LOWEST );
return 0;
}
@@ -1879,7 +1879,7 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
aOnStartupCB.SetClickHdl( LINK( this, SfxHelpTextWindow_Impl, CheckHdl ) );
aSelectIdle.SetIdleHdl( LINK( this, SfxHelpTextWindow_Impl, SelectHdl ) );
- aSelectIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aSelectIdle.SetPriority( IdlePriority::LOWEST );
char* pEnv = getenv( "help_debug" );
if ( pEnv )
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 1bd1ab42902a..cf2b4ed0a6fc 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -337,7 +337,7 @@ void SfxDispatcher::Construct_Impl( SfxDispatcher* pParent )
xImp->xPoster = new SfxHintPoster(aGenLink);
- xImp->aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM);
+ xImp->aIdle.SetPriority(IdlePriority::MEDIUM);
xImp->aIdle.SetIdleHdl( LINK(this, SfxDispatcher, EventHdl_Impl ) );
}
@@ -473,7 +473,7 @@ void SfxDispatcher::Pop(SfxShell& rShell, sal_uInt16 nMode)
if(!pSfxApp->IsDowning() && !xImp->aToDoStack.empty())
{
// No immediate update is requested
- xImp->aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM);
+ xImp->aIdle.SetPriority(IdlePriority::MEDIUM);
xImp->aIdle.SetIdleHdl( LINK(this, SfxDispatcher, EventHdl_Impl ) );
xImp->aIdle.Start();
}
@@ -684,7 +684,7 @@ void SfxDispatcher::DoActivate_Impl(bool bMDI, SfxViewFrame* /* pOld */)
if(!xImp->aToDoStack.empty())
{
// No immediate update is requested
- xImp->aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM);
+ xImp->aIdle.SetPriority(IdlePriority::MEDIUM);
xImp->aIdle.SetIdleHdl( LINK(this, SfxDispatcher, EventHdl_Impl ) );
xImp->aIdle.Start();
}
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index cde726766a33..0329d7ff22dd 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -319,7 +319,7 @@ void SfxModelessDialog::Init(SfxBindings *pBindinx, SfxChildWindow *pCW)
SetUniqueId( GetHelpId() );
if ( pBindinx )
pImp->StartListening( *pBindinx );
- pImp->aMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ pImp->aMoveIdle.SetPriority(IdlePriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxModelessDialog,TimerHdl));
}
@@ -458,7 +458,7 @@ SfxFloatingWindow::SfxFloatingWindow( SfxBindings *pBindinx,
SetHelpId("");
if ( pBindinx )
pImp->StartListening( *pBindinx );
- pImp->aMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ pImp->aMoveIdle.SetPriority(IdlePriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxFloatingWindow,TimerHdl));
}
@@ -479,7 +479,7 @@ SfxFloatingWindow::SfxFloatingWindow( SfxBindings *pBindinx,
if ( pBindinx )
pImp->StartListening( *pBindinx );
- pImp->aMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ pImp->aMoveIdle.SetPriority(IdlePriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxFloatingWindow,TimerHdl));
}
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index dd4b0173f762..cb56a3562ea1 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1398,9 +1398,9 @@ CustomPropertiesWindow::CustomPropertiesWindow(vcl::Window* pParent,
LogicToPixel(Point(159, 2), MAP_APPFONT),
LogicToPixel(Size(61, RSC_CD_TEXTBOX_HEIGHT), MAP_APPFONT));
- m_aEditLoseFocusIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ m_aEditLoseFocusIdle.SetPriority( IdlePriority::LOWEST );
m_aEditLoseFocusIdle.SetIdleHdl( LINK( this, CustomPropertiesWindow, EditTimeoutHdl ) );
- m_aBoxLoseFocusIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ m_aBoxLoseFocusIdle.SetPriority( IdlePriority::LOWEST );
m_aBoxLoseFocusIdle.SetIdleHdl( LINK( this, CustomPropertiesWindow, BoxTimeoutHdl ) );
m_aNameBox.add_mnemonic_label(m_pHeaderAccName);
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx
index d7b685c9c476..e24aaeac76e0 100644
--- a/sfx2/source/dialog/dockwin.cxx
+++ b/sfx2/source/dialog/dockwin.cxx
@@ -889,7 +889,7 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW,
pImp->nPos = pImp->nDockPos = 0;
pImp->bNewLine = false;
pImp->SetLastAlignment(SFX_ALIGN_NOALIGNMENT);
- pImp->aMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ pImp->aMoveIdle.SetPriority(IdlePriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxDockingWindow,TimerHdl));
}
@@ -940,7 +940,7 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW,
pImp->nPos = pImp->nDockPos = 0;
pImp->bNewLine = false;
pImp->SetLastAlignment(SFX_ALIGN_NOALIGNMENT);
- pImp->aMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ pImp->aMoveIdle.SetPriority(IdlePriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxDockingWindow,TimerHdl));
}
@@ -988,7 +988,7 @@ SfxDockingWindow::SfxDockingWindow( SfxBindings *pBindinx, SfxChildWindow *pCW,
pImp->nPos = pImp->nDockPos = 0;
pImp->bNewLine = false;
pImp->SetLastAlignment(SFX_ALIGN_NOALIGNMENT);
- pImp->aMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ pImp->aMoveIdle.SetPriority(IdlePriority::RESIZE);
pImp->aMoveIdle.SetIdleHdl(LINK(this,SfxDockingWindow,TimerHdl));
}
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index d30e1a47d63c..12b6a361bd73 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -984,7 +984,7 @@ FileDialogHelper_Impl::FileDialogHelper_Impl(
mbHasPreview = true;
// aPreviewTimer
- maPreviewIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ maPreviewIdle.SetPriority( IdlePriority::LOWEST );
maPreviewIdle.SetIdleHdl( LINK( this, FileDialogHelper_Impl, TimeOutHdl_Impl ) );
break;
@@ -1001,7 +1001,7 @@ FileDialogHelper_Impl::FileDialogHelper_Impl(
nTemplateDescription = TemplateDescription::FILEOPEN_LINK_PREVIEW;
mbHasPreview = true;
// aPreviewTimer
- maPreviewIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ maPreviewIdle.SetPriority( IdlePriority::LOWEST );
maPreviewIdle.SetIdleHdl( LINK( this, FileDialogHelper_Impl, TimeOutHdl_Impl ) );
break;
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 015dc3ed437f..090bb2256785 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1481,7 +1481,7 @@ void SfxCommonTemplateDialog_Impl::Notify(SfxBroadcaster& /*rBC*/, const SfxHint
if(!pIdle)
{
pIdle=new Idle;
- pIdle->SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ pIdle->SetPriority(IdlePriority::LOWEST);
pIdle->SetIdleHdl(LINK(this,SfxCommonTemplateDialog_Impl,TimeOut));
}
pIdle->Start();
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index 069796b19180..11f78841b640 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -432,7 +432,7 @@ SfxNewFileDialog_Impl::SfxNewFileDialog_Impl(
m_pRegionLb->SetSelectHdl(LINK(this, SfxNewFileDialog_Impl, RegionSelect));
}
- aPrevIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aPrevIdle.SetPriority( IdlePriority::LOWEST );
aPrevIdle.SetIdleHdl( LINK( this, SfxNewFileDialog_Impl, Update));
m_pRegionLb->SelectEntryPos(0);
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 41d50c2f115c..efb6ee598713 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -107,12 +107,12 @@ SmEditWindow::SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ) :
SetBackground( GetSettings().GetStyleSettings().GetWindowColor() );
aModifyIdle.SetIdleHdl(LINK(this, SmEditWindow, ModifyTimerHdl));
- aModifyIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aModifyIdle.SetPriority(IdlePriority::LOWEST);
if (!IsInlineEditEnabled())
{
aCursorMoveIdle.SetIdleHdl(LINK(this, SmEditWindow, CursorMoveTimerHdl));
- aCursorMoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aCursorMoveIdle.SetPriority(IdlePriority::LOWEST);
}
// if not called explicitly the this edit window within the
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 002a9a09d1ed..4c03f2a05506 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -136,16 +136,16 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl(
nHorSBarHeight = aHorSBar.GetSizePixel().Height();
nVerSBarWidth = aVerSBar.GetSizePixel().Width();
- aEditIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aEditIdle.SetPriority( IdlePriority::LOWEST );
aEditIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,EditTimeoutHdl));
- aAutoArrangeIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ aAutoArrangeIdle.SetPriority( IdlePriority::LOW );
aAutoArrangeIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,AutoArrangeHdl));
- aCallSelectHdlIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aCallSelectHdlIdle.SetPriority( IdlePriority::LOWEST );
aCallSelectHdlIdle.SetIdleHdl( LINK(this,SvxIconChoiceCtrl_Impl,CallSelectHdlHdl));
- aDocRectChangedIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ aDocRectChangedIdle.SetPriority( IdlePriority::MEDIUM );
aDocRectChangedIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,DocRectChangedHdl));
- aVisRectChangedIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ aVisRectChangedIdle.SetPriority( IdlePriority::MEDIUM );
aVisRectChangedIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,VisRectChangedHdl));
Clear( true );
@@ -3394,7 +3394,7 @@ bool IcnViewEdit_Impl::PreNotify( NotifyEvent& rNEvt )
((!Application::GetFocusWindow()) || !IsChild(Application::GetFocusWindow())))
{
bCanceled = false;
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
+ aIdle.SetPriority(IdlePriority::REPAINT);
aIdle.SetIdleHdl(LINK(this,IcnViewEdit_Impl,Timeout_Impl));
aIdle.Start();
}
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index ba196635b5ba..c508471ca5cc 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -89,7 +89,7 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS
nNodeBmpWidth = 0;
bAsyncBeginDrag = false;
- aAsyncBeginDragIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST );
+ aAsyncBeginDragIdle.SetPriority( IdlePriority::HIGHEST );
aAsyncBeginDragIdle.SetIdleHdl( LINK(this,SvImpLBox,BeginDragHdl));
// button animation in listbox
pActiveButton = 0;
@@ -99,7 +99,7 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS
nFlags = 0;
nCurTabPos = FIRST_ENTRY_TAB;
- aEditIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aEditIdle.SetPriority( IdlePriority::LOWEST );
aEditIdle.SetIdleHdl( LINK(this,SvImpLBox,EditTimerCall) );
nMostRight = -1;
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 3f7909caaf82..506cbf64826f 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -233,7 +233,7 @@ void SvInplaceEdit2::LoseFocus()
)
{
bCanceled = false;
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
+ aIdle.SetPriority(IdlePriority::REPAINT);
aIdle.SetIdleHdl(LINK(this,SvInplaceEdit2,Timeout_Impl));
aIdle.Start();
}
diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx
index bf7b0c9ed304..8821021ba44a 100644
--- a/svtools/source/control/asynclink.cxx
+++ b/svtools/source/control/asynclink.cxx
@@ -55,7 +55,7 @@ bAllowDoubles
if( !_pIdle )
{
_pIdle = new Idle;
- _pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST );
+ _pIdle->SetPriority( IdlePriority::HIGHEST );
_pIdle->SetIdleHdl( STATIC_LINK(
this, AsynchronLink, HandleCall) );
}
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index c40200928bcf..c7f32018a326 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -322,7 +322,7 @@ IMPL_LINK( TabBarEdit, ImplEndEditHdl, void*, pCancel )
// when it shows the context menu or the insert symbol dialog
if ( !HasFocus() && HasChildPathFocus( true ) )
{
- maLoseFocusIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT );
+ maLoseFocusIdle.SetPriority( IdlePriority::REPAINT );
maLoseFocusIdle.SetIdleHdl( LINK( this, TabBarEdit, ImplEndTimerHdl ) );
maLoseFocusIdle.Start();
}
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx
index aab754685bbb..924e0011aca3 100644
--- a/svtools/source/dialogs/wizdlg.cxx
+++ b/svtools/source/dialogs/wizdlg.cxx
@@ -61,7 +61,7 @@ void WizardDialog::ImplInitData()
mbEmptyViewMargin = false;
mnLeftAlignCount = 0;
- maWizardLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ maWizardLayoutIdle.SetPriority(IdlePriority::RESIZE);
maWizardLayoutIdle.SetIdleHdl( LINK( this, WizardDialog, ImplHandleWizardLayoutTimerHdl ) );
}
diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index 71382d3ceaeb..a9efb984822c 100644
--- a/svtools/source/misc/filechangedchecker.cxx
+++ b/svtools/source/misc/filechangedchecker.cxx
@@ -34,7 +34,7 @@ void FileChangedChecker::resetTimer()
mIdle.Start();
// Set lowest Priority
- mIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ mIdle.SetPriority(IdlePriority::LOWEST);
}
bool FileChangedChecker::getCurrentModTime(TimeValue& o_rValue) const
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index 0b9b9e6b393c..c1d9e9227333 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( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ aUpdateIdle.SetPriority( IdlePriority::LOW );
aUpdateIdle.SetIdleHdl( LINK( this, SvxSuperContourDlg, UpdateHdl ) );
- aCreateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_RESIZE );
+ aCreateIdle.SetPriority( IdlePriority::RESIZE );
aCreateIdle.SetIdleHdl( LINK( this, SvxSuperContourDlg, CreateHdl ) );
}
diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx
index fba9ee47adae..28326ed83094 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(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aInputIdle.SetPriority(IdlePriority::LOWEST);
aInputIdle.SetIdleHdl(LINK(this, SvxFontWorkDialog, InputTimoutHdl_Impl));
}
diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx
index 0a640608844f..1d22cb4726ed 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( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ aUpdateIdle.SetPriority( IdlePriority::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 457662305815..36b70db89384 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( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ pOwnData->aIdle.SetPriority( IdlePriority::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 ac2c7f681ea1..8a59c07ca968 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -365,7 +365,7 @@ void SvxSearchDialog::Construct_Impl()
{
// temporary to avoid incompatibility
pImpl = new SearchDlg_Impl();
- pImpl->aSelectionIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ pImpl->aSelectionIdle.SetPriority( IdlePriority::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 2403991686d7..47498c4f31e8 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(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aFormatIdle.SetPriority(IdlePriority::LOWEST);
aFormatIdle.SetIdleHdl(LINK(this, SvxBmpNumValueSet, FormatHdl_Impl));
}
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 46114cbc6769..52399846d5d6 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -2743,7 +2743,7 @@ namespace svxform
m_pConditionED->SetModifyHdl( LINK( this, AddConditionDialog, ModifyHdl ) );
m_pEditNamespacesBtn->SetClickHdl( LINK( this, AddConditionDialog, EditHdl ) );
m_pOKBtn->SetClickHdl( LINK( this, AddConditionDialog, OKHdl ) );
- m_aResultIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ m_aResultIdle.SetPriority( IdlePriority::LOWEST );
m_aResultIdle.SetIdleHdl( LINK( this, AddConditionDialog, ResultHdl ) );
if ( !m_sPropertyName.isEmpty() )
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 238121a6d874..8aa3536822aa 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -576,7 +576,7 @@ FormController::FormController(const Reference< css::uno::XComponentContext > &
}
::comphelper::decrement(m_refCount);
- m_aTabActivationIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ m_aTabActivationIdle.SetPriority( IdlePriority::LOWEST );
m_aTabActivationIdle.SetIdleHdl( LINK( this, FormController, OnActivateTabOrder ) );
m_aFeatureInvalidationTimer.SetTimeout( 200 );
diff --git a/svx/source/inc/eventhandler.hxx b/svx/source/inc/eventhandler.hxx
index ed8d2dd231ff..b2dc54f90908 100644
--- a/svx/source/inc/eventhandler.hxx
+++ b/svx/source/inc/eventhandler.hxx
@@ -96,7 +96,7 @@ namespace sdr
class TimerEventHandler : public EventHandler, public Idle
{
public:
- TimerEventHandler(IdlePriority ePriority = IdlePriority::VCL_IDLE_PRIORITY_HIGH);
+ TimerEventHandler(IdlePriority ePriority = IdlePriority::HIGH);
virtual ~TimerEventHandler();
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index fa1b39d43ae7..d605aaedd0d4 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -59,7 +59,7 @@ namespace sdr
setPreviewRenderer(((SdrPaintView&)rPageWindow.GetPageView().GetView()).IsPreviewRenderer());
// init timer
- SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH);
+ SetPriority(IdlePriority::HIGH);
Stop();
}
diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
index a7806ffb3e93..7ef928691209 100644
--- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
@@ -84,7 +84,7 @@ PagePrimitiveExtractor::PagePrimitiveExtractor(
setPreviewRenderer(true);
// init timer
- SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH);
+ SetPriority(IdlePriority::HIGH);
Stop();
}
diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
index 2fb4df24a1dd..8992b4dfd81b 100644
--- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
+++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx
@@ -429,7 +429,7 @@ namespace sdr
mbRefreshWithPreRendering(bRefreshWithPreRendering)
{
// Init timer
- maBufferIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGH );
+ maBufferIdle.SetPriority( IdlePriority::HIGH );
maBufferIdle.SetIdleHdl(LINK(this, OverlayManagerBuffered, ImpBufferTimerHandler));
}
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index fb062ffae677..fbedae0d6471 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -20,7 +20,7 @@ PanelLayout::PanelLayout(vcl::Window* pParent, const OString& rID, const OUStrin
{
SetStyle(GetStyle() | WB_DIALOGCONTROL);
m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID, rFrame);
- m_aPanelLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ m_aPanelLayoutIdle.SetPriority(IdlePriority::RESIZE);
m_aPanelLayoutIdle.SetIdleHdl( LINK( this, PanelLayout, ImplHandlePanelLayoutTimerHdl ) );
}
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx
index b21ff2fae93b..c2c511b27ba4 100644
--- a/svx/source/stbctrls/modctrl.cxx
+++ b/svx/source/stbctrls/modctrl.cxx
@@ -58,7 +58,7 @@ struct SvxModifyControl::ImplData
maImages[MODIFICATION_STATE_YES] = Image(SVX_RES(RID_SVXBMP_DOC_MODIFIED_YES));
maImages[MODIFICATION_STATE_FEEDBACK] = Image(SVX_RES(RID_SVXBMP_DOC_MODIFIED_FEEDBACK));
- maIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ maIdle.SetPriority(IdlePriority::LOWEST);
}
};
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 14acf29c9f48..06761c4f3fef 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -1107,7 +1107,7 @@ void SdrItemBrowser::SetDirty()
{
if (!bDirty) {
bDirty = true;
- aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH);
+ aIdle.SetPriority(IdlePriority::HIGH);
aIdle.Start();
}
}
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index f9c156653ea0..78c404fa4660 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -191,7 +191,7 @@ void SdrPaintView::ImpClearVars()
pDefaultStyleSheet=NULL;
bSomeObjChgdFlag=false;
nGraphicManagerDrawMode = GRFMGR_DRAW_STANDARD;
- aComeBackIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
+ aComeBackIdle.SetPriority(IdlePriority::REPAINT);
aComeBackIdle.SetIdleHdl(LINK(this,SdrPaintView,ImpComeBackHdl));
if (pMod)
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index f8b9e6fe365b..c7af5744c63f 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -139,7 +139,7 @@ ImplGrafMetricField::ImplGrafMetricField( vcl::Window* pParent, const OUString&
SetSpinSize( 1 );
}
- maIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW );
+ maIdle.SetPriority( IdlePriority::LOW );
maIdle.SetIdleHdl( LINK( this, ImplGrafMetricField, ImplModifyHdl ) );
}
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index a3c01bfe89f1..dfc4e8bbfcf0 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -339,7 +339,7 @@ SwDoc::SwDoc()
new SwTxtNode( SwNodeIndex( GetNodes().GetEndOfContent() ),
getIDocumentStylePoolAccess().GetTxtCollFromPool( RES_POOLCOLL_STANDARD ));
- maOLEModifiedIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ maOLEModifiedIdle.SetPriority( IdlePriority::LOWEST );
maOLEModifiedIdle.SetIdleHdl( LINK( this, SwDoc, DoUpdateModifiedOLE ));
#if HAVE_FEATURE_DBCONNECTIVITY
diff --git a/sw/source/core/docnode/threadmanager.cxx b/sw/source/core/docnode/threadmanager.cxx
index 9eb27123fb1c..299120ff86cf 100644
--- a/sw/source/core/docnode/threadmanager.cxx
+++ b/sw/source/core/docnode/threadmanager.cxx
@@ -46,7 +46,7 @@ void ThreadManager::Init()
{
mpThreadListener.reset( new ThreadListener( *this ) );
- maStartNewThreadIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ maStartNewThreadIdle.SetPriority( IdlePriority::LOWEST );
maStartNewThreadIdle.SetIdleHdl( LINK( this, ThreadManager, TryToStartNewThread ) );
}
diff --git a/sw/source/ui/dbui/mmoutputtypepage.cxx b/sw/source/ui/dbui/mmoutputtypepage.cxx
index 3fabf315fd40..5cd178e19353 100644
--- a/sw/source/ui/dbui/mmoutputtypepage.cxx
+++ b/sw/source/ui/dbui/mmoutputtypepage.cxx
@@ -93,7 +93,7 @@ struct SwSendMailDialog_Impl
nCurrentDescriptor(0),
nDocumentCount(0)
{
- aRemoveIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aRemoveIdle.SetPriority(IdlePriority::LOWEST);
}
~SwSendMailDialog_Impl()
diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx
index c202c30475bb..ccb07b592cfc 100644
--- a/sw/source/ui/envelp/labfmt.cxx
+++ b/sw/source/ui/envelp/labfmt.cxx
@@ -347,7 +347,7 @@ SwLabFmtPage::SwLabFmtPage(vcl::Window* pParent, const SfxItemSet& rSet)
m_pSavePB->SetClickHdl( LINK (this, SwLabFmtPage, SaveHdl));
// Set timer
- aPreviewIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aPreviewIdle.SetPriority(IdlePriority::LOWEST);
aPreviewIdle.SetIdleHdl(LINK(this, SwLabFmtPage, PreviewHdl));
}
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 6aa83913c674..7d030bdeaeae 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -5009,7 +5009,7 @@ SwEditWin::SwEditWin(vcl::Window *pParent, SwView &rMyView):
// TemplatePointer for colors should be resetted without
// selection after single click
- m_aTemplateIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ m_aTemplateIdle.SetPriority(IdlePriority::LOWEST);
m_aTemplateIdle.SetIdleHdl(LINK(this, SwEditWin, TemplateTimerHdl));
// temporary solution!!! Should set the font of the current
diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx
index 3762f76093ca..9ebbed9b0db4 100644
--- a/sw/source/uibase/docvw/srcedtw.cxx
+++ b/sw/source/uibase/docvw/srcedtw.cxx
@@ -516,7 +516,7 @@ void SwSrcEditWindow::CreateTextEngine()
pOutWin->SetFont( aFont );
pTextEngine->SetFont( aFont );
- aSyntaxIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWER );
+ aSyntaxIdle.SetPriority( IdlePriority::LOWER );
aSyntaxIdle.SetIdleHdl( LINK( this, SwSrcEditWindow, SyntaxTimerHdl ) );
pTextEngine->EnableUndo( true );
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 4f764e1bde0c..37327868c766 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -823,7 +823,7 @@ SwNavigationPI::SwNavigationPI( SfxBindings* _pBindings,
aContentTree.GrabFocus();
UsePage(0);
aPageChgIdle.SetIdleHdl(LINK(this, SwNavigationPI, ChangePageHdl));
- aPageChgIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST);
+ aPageChgIdle.SetPriority(IdlePriority::LOWEST);
aContentTree.SetAccessibleName(SW_RESSTR(STR_ACCESS_TL_CONTENT));
aGlobalTree.SetAccessibleName(SW_RESSTR(STR_ACCESS_TL_GLOBAL));
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index d72e75466f6a..c74b7e815cdc 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -83,7 +83,7 @@ SwOneExampleFrame::SwOneExampleFrame( vcl::Window& rWin,
// the controller is asynchronously set
aLoadedIdle.SetIdleHdl(LINK(this, SwOneExampleFrame, TimeoutHdl));
- aLoadedIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWER);
+ aLoadedIdle.SetPriority(IdlePriority::LOWER);
CreateControl();
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx
index 458a5171fe21..f36cd63b1d49 100644
--- a/vcl/generic/print/genprnpsp.cxx
+++ b/vcl/generic/print/genprnpsp.cxx
@@ -1328,7 +1328,7 @@ void PrinterUpdate::update(SalGenericInstance &rInstance)
else if( ! pPrinterUpdateIdle )
{
pPrinterUpdateIdle = new Idle();
- pPrinterUpdateIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ pPrinterUpdateIdle->SetPriority( IdlePriority::LOWEST );
pPrinterUpdateIdle->SetIdleHdl( STATIC_LINK( NULL, PrinterUpdate, UpdateTimerHdl ) );
pPrinterUpdateIdle->Start();
}
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 91bfa143a43a..2b65fda59386 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -103,7 +103,7 @@ void AquaSalInstance::delayedSettingsChanged( bool bInvalidate )
{
osl::Guard< comphelper::SolarMutex > aGuard( *mpSalYieldMutex );
AquaDelayedSettingsChanged* pIdle = new AquaDelayedSettingsChanged( bInvalidate );
- pIdle->SetPriority( VCL_IDLE_PRIORITY_MEDIUM );
+ pIdle->SetPriority( MEDIUM );
pIdle->Start();
}
diff --git a/vcl/qa/cppunit/timer.cxx b/vcl/qa/cppunit/timer.cxx
index f33578a3d13b..8c1f17f462c7 100644
--- a/vcl/qa/cppunit/timer.cxx
+++ b/vcl/qa/cppunit/timer.cxx
@@ -89,7 +89,7 @@ public:
IdleBool( bool &rBool ) :
Idle(), mrBool( rBool )
{
- SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
+ SetPriority( IdlePriority::LOWEST );
Start();
mrBool = false;
}
diff --git a/vcl/source/app/idle.cxx b/vcl/source/app/idle.cxx
index 555bc34201ff..09ffbc77af92 100644
--- a/vcl/source/app/idle.cxx
+++ b/vcl/source/app/idle.cxx
@@ -208,8 +208,8 @@ Idle& Idle::operator=( const Idle& rIdle )
Idle::Idle():
mpIdleData(NULL),
- miPriority(static_cast<sal_Int32>(IdlePriority::VCL_IDLE_PRIORITY_HIGH)),
- meDefaultPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH),
+ miPriority(static_cast<sal_Int32>(IdlePriority::HIGH)),
+ meDefaultPriority(IdlePriority::HIGH),
mbActive(false)
{
}
diff --git a/vcl/source/edit/textdata.cxx b/vcl/source/edit/textdata.cxx
index 2004d6e98f0d..921fd0ff5120 100644
--- a/vcl/source/edit/textdata.cxx
+++ b/vcl/source/edit/textdata.cxx
@@ -223,7 +223,7 @@ IdleFormatter::IdleFormatter()
{
mpView = 0;
mnRestarts = 0;
- SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH);
+ SetPriority(IdlePriority::HIGH);
}
IdleFormatter::~IdleFormatter()
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 5daf41fd7388..38d7f3df9772 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -90,9 +90,9 @@ ImplDockFloatWin2::ImplDockFloatWin2( vcl::Window* pParent, WinBits nWinBits,
SetBackground( GetSettings().GetStyleSettings().GetFaceColor() );
maDockIdle.SetIdleHdl( LINK( this, ImplDockFloatWin2, DockTimerHdl ) );
- maDockIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ maDockIdle.SetPriority( IdlePriority::MEDIUM );
maEndDockIdle.SetIdleHdl( LINK( this, ImplDockFloatWin2, EndDockTimerHdl ) );
- maEndDockIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ maEndDockIdle.SetPriority( IdlePriority::MEDIUM );
}
ImplDockFloatWin2::~ImplDockFloatWin2()
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index e1e1af94c8c6..8d9ad1ae1b25 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -106,7 +106,7 @@ ImplDockFloatWin::ImplDockFloatWin( vcl::Window* pParent, WinBits nWinBits,
SetBackground();
maDockIdle.SetIdleHdl( LINK( this, ImplDockFloatWin, DockTimerHdl ) );
- maDockIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM );
+ maDockIdle.SetPriority( IdlePriority::MEDIUM );
}
ImplDockFloatWin::~ImplDockFloatWin()
@@ -332,7 +332,7 @@ void DockingWindow::ImplInitDockingWindowData()
mpDialogParent = NULL;
//To-Do, reuse maResizeTimer
- maLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ maLayoutIdle.SetPriority(IdlePriority::RESIZE);
maLayoutIdle.SetIdleHdl( LINK( this, DockingWindow, ImplHandleLayoutTimerHdl ) );
}
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index c460ebbea697..702db7a2badb 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -85,7 +85,7 @@ void SystemWindow::Init()
mpDialogParent = NULL;
//To-Do, reuse maResizeTimer
- maLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE);
+ maLayoutIdle.SetPriority(IdlePriority::RESIZE);
maLayoutIdle.SetIdleHdl( LINK( this, SystemWindow, ImplHandleLayoutTimerHdl ) );
}
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index a00ff6446903..309056db3942 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -1411,7 +1411,7 @@ void ToolBox::ImplInit( vcl::Window* pParent, WinBits nStyle )
mnKeyModifier = 0;
mnActivateCount = 0;
- maIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_RESIZE );
+ maIdle.SetPriority( IdlePriority::RESIZE );
maIdle.SetIdleHdl( LINK( this, ToolBox, ImplUpdateHdl ) );
// set timeout and handler for dropdown items
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 16e2bf40da73..16de16d01bdf 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1028,10 +1028,10 @@ void Window::ImplInit( vcl::Window* pParent, WinBits nStyle, SystemParentData* p
mpWindowImpl->mpFrameData->mbSysObjFocus = false;
if (!ImplDoTiledRendering())
{
- mpWindowImpl->mpFrameData->maPaintIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT );
+ mpWindowImpl->mpFrameData->maPaintIdle.SetPriority( IdlePriority::REPAINT );
mpWindowImpl->mpFrameData->maPaintIdle.SetIdleHdl( LINK( this, Window, ImplHandlePaintHdl ) );
}
- mpWindowImpl->mpFrameData->maResizeIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_RESIZE );
+ mpWindowImpl->mpFrameData->maResizeIdle.SetPriority( IdlePriority::RESIZE );
mpWindowImpl->mpFrameData->maResizeIdle.SetIdleHdl( LINK( this, Window, ImplHandleResizeTimerHdl ) );
mpWindowImpl->mpFrameData->mbInternalDragGestureRecognizer = false;