LibreOffice Module sfx2 (master) 1
|
#include <shutdownicon.hxx>
Public Member Functions | |
ShutdownIcon (css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual | ~ShutdownIcon () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
void | init () |
void | SetVeto (bool bVeto) |
void | StartFileDialog () |
DECL_LINK (DialogClosedHdl_Impl, sfx2::FileDialogHelper *, void) | |
virtual void | disposing (std::unique_lock< std::mutex > &) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | queryTermination (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | notifyTermination (const css::lang::EventObject &aEvent) override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual void SAL_CALL | setFastPropertyValue (::sal_Int32 nHandle, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (::sal_Int32 nHandle) override |
Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc > | |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
virtual | ~WeakComponentImplHelperBase () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Public Member Functions inherited from comphelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Static Public Member Functions | |
static ShutdownIcon * | getInstance () |
static ShutdownIcon * | createInstance () |
static void | terminateDesktop () |
static void | addTerminateListener () |
static void | FileOpen () |
static void | OpenURL (const OUString &aURL, const OUString &rTarget, const css::uno::Sequence< css::beans::PropertyValue > &=css::uno::Sequence< css::beans::PropertyValue >(0)) |
static void | FromTemplate () |
static void | SetAutostart (bool bActivate) |
static bool | GetAutostart () |
static OUString | GetUrlDescription (std::u16string_view aUrl) |
static bool | IsQuickstarterInstalled () |
Static Public Attributes | |
static bool | bModalMode = false |
Private Member Functions | |
void | initSystray () |
void | deInitSystray () |
Static Private Member Functions | |
static void | EnterModalMode () |
static void | LeaveModalMode () |
static OUString | getShortcutName () |
Private Attributes | |
bool | m_bVeto |
bool | m_bListenForTermination |
bool | m_bSystemDialogs |
std::unique_ptr< sfx2::FileDialogHelper > | m_pFileDlg |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::frame::XDesktop2 > | m_xDesktop |
bool | m_bInitialized |
Static Private Attributes | |
static rtl::Reference< ShutdownIcon > | pShutdownIcon |
Friends | |
class | SfxNotificationListener_Impl |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Attributes inherited from comphelper::WeakComponentImplHelperBase | |
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from comphelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed |
Definition at line 62 of file shutdownicon.hxx.
|
explicit |
Definition at line 146 of file shutdownicon.cxx.
References m_xContext.
Referenced by createInstance().
|
overridevirtual |
Definition at line 155 of file shutdownicon.cxx.
References deInitSystray().
|
static |
Definition at line 399 of file shutdownicon.cxx.
References getInstance(), m_bListenForTermination, and m_xDesktop.
Referenced by aqua_init_systray(), listenerWndProc(), and setFastPropertyValue().
|
static |
Definition at line 448 of file shutdownicon.cxx.
References comphelper::getProcessComponentContext(), pShutdownIcon, and ShutdownIcon().
ShutdownIcon::DECL_LINK | ( | DialogClosedHdl_Impl | , |
sfx2::FileDialogHelper * | , | ||
void | |||
) |
|
private |
Definition at line 122 of file shutdownicon.cxx.
References aqua_shutdown_systray(), m_bInitialized, m_bVeto, m_pFileDlg, and win32_shutdown_sys_tray().
Referenced by disposing(), and ~ShutdownIcon().
|
overridevirtual |
Definition at line 481 of file shutdownicon.cxx.
|
overridevirtual |
Reimplemented from comphelper::WeakComponentImplHelperBase.
Definition at line 471 of file shutdownicon.cxx.
References deInitSystray(), m_xContext, and m_xDesktop.
|
staticprivate |
Definition at line 550 of file shutdownicon.cxx.
References bModalMode.
Referenced by FileOpen(), and FromTemplate().
|
static |
Definition at line 193 of file shutdownicon.cxx.
References EnterModalMode(), getInstance(), m_xDesktop, and StartFileDialog().
Referenced by executerWndProc().
|
static |
Definition at line 204 of file shutdownicon.cxx.
References aTargetURL, EnterModalMode(), getInstance(), m_xDesktop, comphelper::makePropertyValue(), URL, and xFrame.
Referenced by executerWndProc().
|
static |
Definition at line 582 of file shutdownicon.cxx.
References getShortcutName().
Referenced by createSystrayMenu(), executerWndProc(), SfxApplication::GetOptions(), initialize(), and listenerWndProc().
|
overridevirtual |
Definition at line 657 of file shutdownicon.cxx.
References m_bListenForTermination, m_bVeto, nHandle, and PROPHANDLE_TERMINATEVETOSTATE.
|
overridevirtual |
Definition at line 89 of file shutdownicon.cxx.
|
static |
Definition at line 441 of file shutdownicon.cxx.
References pShutdownIcon.
Referenced by addTerminateListener(), aqua_init_systray(), createSystrayMenu(), FileOpen(), FromTemplate(), listenerWndProc(), OpenURL(), and terminateDesktop().
|
staticprivate |
Referenced by GetAutostart(), and SetAutostart().
|
overridevirtual |
Definition at line 99 of file shutdownicon.cxx.
|
static |
Definition at line 239 of file shutdownicon.cxx.
References SvFileInformationManager::GetDescription().
Referenced by aqua_init_systray(), and createSystrayMenu().
void ShutdownIcon::init | ( | ) |
css::uno::Exception |
Definition at line 463 of file shutdownicon.cxx.
References comphelper::UnoImplBase::m_aMutex, m_xContext, and m_xDesktop.
Referenced by initialize().
|
overridevirtual |
Definition at line 502 of file shutdownicon.cxx.
References aArguments, GetAutostart(), init(), initSystray(), comphelper::UnoImplBase::m_aMutex, m_bVeto, m_xDesktop, pShutdownIcon, and SetAutostart().
|
private |
Definition at line 107 of file shutdownicon.cxx.
References aqua_init_systray(), m_bInitialized, and win32_init_sys_tray().
Referenced by initialize().
|
static |
Definition at line 566 of file shutdownicon.cxx.
Referenced by SfxApplication::GetOptions(), SetAutostart(), win32_init_sys_tray(), and win32_shutdown_sys_tray().
|
staticprivate |
Definition at line 556 of file shutdownicon.cxx.
References bModalMode.
Referenced by SfxNotificationListener_Impl::dispatchFinished().
|
overridevirtual |
Definition at line 497 of file shutdownicon.cxx.
|
static |
Definition at line 161 of file shutdownicon.cxx.
References aURL, getInstance(), m_xDesktop, rTarget, and xDispatch.
Referenced by executerWndProc().
|
overridevirtual |
Definition at line 487 of file shutdownicon.cxx.
References comphelper::UnoImplBase::m_aMutex, m_bVeto, and SAL_INFO.
|
static |
Definition at line 604 of file shutdownicon.cxx.
References getShortcutName(), and IsQuickstarterInstalled().
Referenced by executerWndProc(), initialize(), and SfxApplication::SetOptions().
|
overridevirtual |
Definition at line 633 of file shutdownicon.cxx.
References addTerminateListener(), m_bListenForTermination, m_bVeto, nHandle, and PROPHANDLE_TERMINATEVETOSTATE.
|
inline |
Definition at line 114 of file shutdownicon.hxx.
References m_bVeto.
Referenced by aqua_init_systray(), and listenerWndProc().
void ShutdownIcon::StartFileDialog | ( | ) |
Definition at line 244 of file shutdownicon.cxx.
References LINK, m_bSystemDialogs, m_pFileDlg, MultiSelection, and UseSystemFileDialog().
Referenced by FileOpen().
|
overridevirtual |
Definition at line 94 of file shutdownicon.cxx.
References ServiceName, and cppu::supportsService().
|
static |
Definition at line 417 of file shutdownicon.cxx.
References getInstance(), m_bListenForTermination, m_xDesktop, pShutdownIcon, and Application::Quit().
Referenced by executerWndProc().
|
friend |
Definition at line 81 of file shutdownicon.hxx.
|
static |
Definition at line 107 of file shutdownicon.hxx.
Referenced by EnterModalMode(), executerWndProc(), LeaveModalMode(), and listenerWndProc().
|
private |
Definition at line 73 of file shutdownicon.hxx.
Referenced by deInitSystray(), and initSystray().
|
private |
Definition at line 65 of file shutdownicon.hxx.
Referenced by addTerminateListener(), getFastPropertyValue(), setFastPropertyValue(), and terminateDesktop().
|
private |
Definition at line 66 of file shutdownicon.hxx.
Referenced by StartFileDialog().
|
private |
Definition at line 64 of file shutdownicon.hxx.
Referenced by deInitSystray(), getFastPropertyValue(), initialize(), queryTermination(), setFastPropertyValue(), and SetVeto().
|
private |
Definition at line 67 of file shutdownicon.hxx.
Referenced by deInitSystray(), and StartFileDialog().
|
private |
Definition at line 68 of file shutdownicon.hxx.
Referenced by disposing(), and init().
|
private |
Definition at line 69 of file shutdownicon.hxx.
Referenced by addTerminateListener(), disposing(), FileOpen(), FromTemplate(), init(), initialize(), OpenURL(), and terminateDesktop().
|
staticprivate |
Definition at line 71 of file shutdownicon.hxx.
Referenced by createInstance(), getInstance(), initialize(), and terminateDesktop().