summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/FocusManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/FocusManager.cxx')
-rw-r--r--sfx2/source/sidebar/FocusManager.cxx48
1 files changed, 0 insertions, 48 deletions
diff --git a/sfx2/source/sidebar/FocusManager.cxx b/sfx2/source/sidebar/FocusManager.cxx
index f7bf4f0492c2..6b1406184a8d 100644
--- a/sfx2/source/sidebar/FocusManager.cxx
+++ b/sfx2/source/sidebar/FocusManager.cxx
@@ -37,8 +37,6 @@ FocusManager::FocusLocation::FocusLocation (const PanelComponent eComponent, con
}
-
-
FocusManager::FocusManager (const ::boost::function<void(const Panel&)>& rShowPanelFunctor)
: mpDeckTitleBar(),
maPanels(),
@@ -51,24 +49,18 @@ FocusManager::FocusManager (const ::boost::function<void(const Panel&)>& rShowPa
}
-
-
FocusManager::~FocusManager (void)
{
Clear();
}
-
-
void FocusManager::GrabFocus (void)
{
FocusDeckTitle();
}
-
-
void FocusManager::Clear (void)
{
SetDeckTitle(NULL);
@@ -77,8 +69,6 @@ void FocusManager::Clear (void)
}
-
-
void FocusManager::ClearPanels (void)
{
::std::vector<Panel*> aPanels;
@@ -99,8 +89,6 @@ void FocusManager::ClearPanels (void)
}
-
-
void FocusManager::ClearButtons (void)
{
::std::vector<Button*> aButtons;
@@ -114,8 +102,6 @@ void FocusManager::ClearButtons (void)
}
-
-
void FocusManager::SetDeckTitle (DeckTitleBar* pDeckTitleBar)
{
if (mpDeckTitleBar != NULL)
@@ -133,8 +119,6 @@ void FocusManager::SetDeckTitle (DeckTitleBar* pDeckTitleBar)
}
-
-
void FocusManager::SetPanels (const SharedPanelContainer& rPanels)
{
ClearPanels();
@@ -157,8 +141,6 @@ void FocusManager::SetPanels (const SharedPanelContainer& rPanels)
}
-
-
void FocusManager::SetButtons (const ::std::vector<Button*>& rButtons)
{
ClearButtons();
@@ -172,24 +154,18 @@ void FocusManager::SetButtons (const ::std::vector<Button*>& rButtons)
}
-
-
void FocusManager::RegisterWindow (vcl::Window& rWindow)
{
rWindow.AddEventListener(LINK(this, FocusManager, WindowEventListener));
}
-
-
void FocusManager::UnregisterWindow (vcl::Window& rWindow)
{
rWindow.RemoveEventListener(LINK(this, FocusManager, WindowEventListener));
}
-
-
FocusManager::FocusLocation FocusManager::GetFocusLocation (const vcl::Window& rWindow) const
{
// Check the deck title.
@@ -243,16 +219,12 @@ void FocusManager::FocusDeckTitle (void)
}
-
-
bool FocusManager::IsDeckTitleVisible (void) const
{
return mpDeckTitleBar != NULL && mpDeckTitleBar->IsVisible();
}
-
-
bool FocusManager::IsPanelTitleVisible (const sal_Int32 nPanelIndex) const
{
if (nPanelIndex<0 || nPanelIndex>=static_cast<sal_Int32>(maPanels.size()))
@@ -265,8 +237,6 @@ bool FocusManager::IsPanelTitleVisible (const sal_Int32 nPanelIndex) const
}
-
-
void FocusManager::FocusPanel (
const sal_Int32 nPanelIndex,
const bool bFallbackToDeckTitle)
@@ -305,8 +275,6 @@ void FocusManager::FocusPanel (
}
-
-
void FocusManager::FocusPanelContent (const sal_Int32 nPanelIndex)
{
vcl::Window* pWindow = VCLUnoHelper::GetWindow(maPanels[nPanelIndex]->GetElementWindow());
@@ -319,8 +287,6 @@ void FocusManager::FocusPanelContent (const sal_Int32 nPanelIndex)
}
-
-
void FocusManager::FocusButton (const sal_Int32 nButtonIndex)
{
maButtons[nButtonIndex]->GrabFocus();
@@ -328,8 +294,6 @@ void FocusManager::FocusButton (const sal_Int32 nButtonIndex)
}
-
-
void FocusManager::ClickButton (const sal_Int32 nButtonIndex)
{
maButtons[nButtonIndex]->Click();
@@ -340,8 +304,6 @@ void FocusManager::ClickButton (const sal_Int32 nButtonIndex)
}
-
-
void FocusManager::RemoveWindow (vcl::Window& rWindow)
{
::std::vector<Panel*>::iterator iPanel (::std::find(maPanels.begin(), maPanels.end(), &rWindow));
@@ -367,8 +329,6 @@ void FocusManager::RemoveWindow (vcl::Window& rWindow)
}
-
-
bool FocusManager::MoveFocusInsidePanel (
const FocusLocation& rFocusLocation,
const sal_Int32 nDirection)
@@ -397,8 +357,6 @@ bool FocusManager::MoveFocusInsidePanel (
}
-
-
bool FocusManager::MoveFocusInsideDeckTitle (
const FocusLocation& rFocusLocation,
const sal_Int32 nDirection)
@@ -431,8 +389,6 @@ bool FocusManager::MoveFocusInsideDeckTitle (
}
-
-
void FocusManager::HandleKeyEvent (
const vcl::KeyCode& rKeyCode,
const vcl::Window& rWindow)
@@ -583,8 +539,6 @@ void FocusManager::HandleKeyEvent (
}
-
-
IMPL_LINK(FocusManager, WindowEventListener, VclSimpleEvent*, pEvent)
{
if (pEvent == NULL)
@@ -624,8 +578,6 @@ IMPL_LINK(FocusManager, WindowEventListener, VclSimpleEvent*, pEvent)
}
-
-
IMPL_LINK(FocusManager, ChildEventListener, VclSimpleEvent*, pEvent)
{
if (pEvent == NULL)