summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2015-01-22 14:20:04 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2015-03-06 12:27:09 +0000
commit2d95bc0510d43c11bb3bd03f590e24ba3d7ca30f (patch)
tree03084adb86e87e71019b84bb17500eab12f1dfb5 /vcl
parentddd4a787ebde1b47e5ddfbd5995e2a0fe6b22ee2 (diff)
Idle: Removed VCL_IDLE_PRIORITY_ prefix of enum
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
Diffstat (limited to 'vcl')
-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
10 files changed, 14 insertions, 14 deletions
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;