diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/outliner.hxx | 1 | ||||
-rw-r--r-- | include/sfx2/thumbnailviewitem.hxx | 2 | ||||
-rw-r--r-- | include/svl/SfxBroadcaster.hxx | 4 | ||||
-rw-r--r-- | include/svx/svdview.hxx | 2 | ||||
-rw-r--r-- | include/vcl/menubarupdateicon.hxx | 93 |
5 files changed, 0 insertions, 102 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 0b9b06395dba..71ffd00a73e4 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -784,7 +784,6 @@ public: void SetPaintFirstLineHdl(const Link<PaintFirstLineInfo*,void>& rLink) { maPaintFirstLineHdl = rLink; } void SetModifyHdl( const Link<LinkParamNone*,void>& rLink ); - Link<LinkParamNone*,void> const & GetModifyHdl() const; void SetNotifyHdl( const Link<EENotify&,void>& rLink ); diff --git a/include/sfx2/thumbnailviewitem.hxx b/include/sfx2/thumbnailviewitem.hxx index e34985c799d3..64644b772d64 100644 --- a/include/sfx2/thumbnailviewitem.hxx +++ b/include/sfx2/thumbnailviewitem.hxx @@ -100,8 +100,6 @@ public: bool isPinned () const { return mbPinned; } - void setPinned (bool state); - /** Updates own highlight status based on the aPoint position. Returns rectangle that needs to be invalidated. diff --git a/include/svl/SfxBroadcaster.hxx b/include/svl/SfxBroadcaster.hxx index fba30061f574..b026f4c7e4a6 100644 --- a/include/svl/SfxBroadcaster.hxx +++ b/include/svl/SfxBroadcaster.hxx @@ -57,10 +57,6 @@ public: return true to break the loop. */ void ForAllListeners(std::function<bool(SfxListener*)> f) const; - /** Get a vector of the current listeners - used by unit test code. - */ - std::vector<SfxListener*> GetListenersForUnitTest() const; - friend class SfxListener; friend class ::SfxBroadcasterTest; }; diff --git a/include/svx/svdview.hxx b/include/svx/svdview.hxx index e43b1bf00d0b..aeb364a985dc 100644 --- a/include/svx/svdview.hxx +++ b/include/svx/svdview.hxx @@ -232,8 +232,6 @@ public: // and more... OUString GetStatusText(); - SvtAccessibilityOptions& getAccessibilityOptions() { return maAccessibilityOptions;} - virtual void onAccessibilityOptionsChanged(); // Do not create ObjectContact locally, but offer a call to allow override diff --git a/include/vcl/menubarupdateicon.hxx b/include/vcl/menubarupdateicon.hxx deleted file mode 100644 index 99aea9581a4f..000000000000 --- a/include/vcl/menubarupdateicon.hxx +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#pragma once - -#include <tools/link.hxx> -#include <vcl/idle.hxx> -#include <vcl/image.hxx> - -class BubbleWindow; -class MenuBar; -class SystemWindow; -class VclSimpleEvent; -class VclWindowEvent; -struct MenuBarButtonCallbackArg; - -class VCL_DLLPUBLIC MenuBarUpdateIconManager -{ -private: - OUString maBubbleTitle; - OUString maBubbleText; - Image maBubbleImage; - VclPtr<BubbleWindow> mpBubbleWin; - VclPtr<SystemWindow> mpActiveSysWin; - VclPtr<MenuBar> mpActiveMBar; - std::vector<VclPtr<MenuBar>> maIconMBars; - std::vector<sal_uInt16> maIconIDs; - - Link<VclWindowEvent&, void> maWindowEventHdl; - Link<VclSimpleEvent&, void> maApplicationEventHdl; - Link<LinkParamNone*, void> maClickHdl; - - Timer maTimeoutTimer; - Idle maWaitIdle; - - bool mbShowMenuIcon; - bool mbShowBubble; - bool mbBubbleChanged; - - DECL_DLLPRIVATE_LINK(UserEventHdl, void*, void); - DECL_DLLPRIVATE_LINK(TimeOutHdl, Timer*, void); - DECL_DLLPRIVATE_LINK(WindowEventHdl, VclWindowEvent&, void); - DECL_DLLPRIVATE_LINK(ApplicationEventHdl, VclSimpleEvent&, void); - DECL_DLLPRIVATE_LINK(WaitTimeOutHdl, Timer*, void); - DECL_DLLPRIVATE_LINK(ClickHdl, MenuBarButtonCallbackArg&, bool); - DECL_DLLPRIVATE_LINK(HighlightHdl, MenuBarButtonCallbackArg&, bool); - - VclPtr<BubbleWindow> GetBubbleWindow(); - void SetBubbleChanged(); - - sal_uInt16 GetIconID(MenuBar* pMenuBar) const; - - void AddMenuBarIcon(SystemWindow& rSysWin, bool bAddEventHdl); - void RemoveMenuBarIcon(MenuBar* pMenuBar); - void RemoveMenuBarIcons(); - -public: - MenuBarUpdateIconManager(); - ~MenuBarUpdateIconManager(); - - void SetShowMenuIcon(bool bShowMenuIcon); - void SetShowBubble(bool bShowBubble); - void SetBubbleImage(const Image& rImage); - void SetBubbleTitle(const OUString& rTitle); - void SetBubbleText(const OUString& rText); - - void SetClickHdl(const Link<LinkParamNone*, void>& rHdl) { maClickHdl = rHdl; } - - bool GetShowMenuIcon() const { return mbShowMenuIcon; } - bool GetShowBubble() const { return mbShowBubble; } - const OUString& GetBubbleTitle() const { return maBubbleTitle; } - const OUString& GetBubbleText() const { return maBubbleText; } - - void RemoveBubbleWindow(); -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |