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 /extensions | |
parent | d8305248f687ffa522b56955508d82d60ad5b8c6 (diff) |
Timer: Adapted all idle includes and enum uses
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibcont.cxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/bibcont.hxx | 1 | ||||
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/ui/updatecheckui.cxx | 3 |
4 files changed, 5 insertions, 3 deletions
diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx index 94160030370b..3f89c877cb2a 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(VCL_IDLE_PRIORITY_LOWEST); + aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); } BibBookContainer::~BibBookContainer() diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx index 4c9e4873e61b..af6a78839900 100644 --- a/extensions/source/bibliography/bibcont.hxx +++ b/extensions/source/bibliography/bibcont.hxx @@ -23,6 +23,7 @@ #include <com/sun/star/frame/XFrame.hpp> #include <vcl/splitwin.hxx> #include <vcl/timer.hxx> +#include <vcl/idle.hxx> #include "bibshortcuthandler.hxx" #include "bibmod.hxx" diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index 8ddf70267f80..7607d3a46ea8 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(VCL_IDLE_PRIORITY_LOWEST); + aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); SetDropdownClickHdl( LINK( this, BibToolBar, MenuHdl)); diff --git a/extensions/source/update/ui/updatecheckui.cxx b/extensions/source/update/ui/updatecheckui.cxx index 6f6d30bf75d4..db13c43234ff 100644 --- a/extensions/source/update/ui/updatecheckui.cxx +++ b/extensions/source/update/ui/updatecheckui.cxx @@ -40,6 +40,7 @@ #include <vcl/window.hxx> #include <vcl/floatwin.hxx> #include <vcl/timer.hxx> +#include <vcl/idle.hxx> #include <vcl/menu.hxx> #include <vcl/outdev.hxx> #include <vcl/layout.hxx> @@ -212,7 +213,7 @@ UpdateCheckUI::UpdateCheckUI(const uno::Reference<uno::XComponentContext>& xCont maBubbleImage = GetBubbleImage( maBubbleImageURL ); - maWaitIdle.SetPriority( VCL_IDLE_PRIORITY_LOWEST ); + maWaitIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); maWaitIdle.SetIdleHdl( LINK( this, UpdateCheckUI, WaitTimeOutHdl ) ); maTimeoutTimer.SetTimeout( 10000 ); |