LibreOffice Module desktop (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
dp_gui::DialogHelper Class Referenceabstract

#include <dp_gui_dialog2.hxx>

Inheritance diagram for dp_gui::DialogHelper:
Collaboration diagram for dp_gui::DialogHelper:

Public Member Functions

 DialogHelper (const css::uno::Reference< css::uno::XComponentContext > &, weld::Window *pWindow)
virtual ~DialogHelper ()
void openWebBrowser (const OUString &rURL, const OUString &rTitle)
weld::WindowgetFrameWeld () const
void PostUserEvent (const Link< void *, void > &rLink, void *pCaller)
void clearEventID ()
virtual void showProgress (bool bStart)=0
virtual void updateProgress (const OUString &rText, const css::uno::Reference< css::task::XAbortChannel > &xAbortChannel)=0
virtual void updateProgress (const tools::Long nProgress)=0
virtual void updatePackageInfo (const css::uno::Reference< css::deployment::XPackage > &xPackage)=0
virtual void addPackageToList (const css::uno::Reference< css::deployment::XPackage > &xPackage, bool bLicenseMissing=false)=0
virtual void prepareChecking ()=0
virtual void checkEntries ()=0
bool continueOnSharedExtension (const css::uno::Reference< css::deployment::XPackage > &, weld::Widget *pParent, TranslateId pResID, bool &bHadWarning)
void incBusy ()
void decBusy ()
bool isBusy () const
bool installExtensionWarn (std::u16string_view rExtensionURL)
bool installForAllUsers (bool &bInstallForAll)

Static Public Member Functions

static bool IsSharedPkgMgr (const css::uno::Reference< css::deployment::XPackage > &)

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
TopLevelWindowLocker m_aBusy

Detailed Description

Definition at line 48 of file dp_gui_dialog2.hxx.

Constructor & Destructor Documentation

dp_gui::DialogHelper::DialogHelper ( const css::uno::Reference< css::uno::XComponentContext > &  ,
weld::Window pWindow 

Definition at line 283 of file dp_gui_dialog2.cxx.

References m_xContext, and xContext.

dp_gui::DialogHelper::~DialogHelper ( )

Definition at line 291 of file dp_gui_dialog2.cxx.

References m_nEventID, and Application::RemoveUserEvent().

Member Function Documentation

virtual void dp_gui::DialogHelper::addPackageToList ( const css::uno::Reference< css::deployment::XPackage > &  xPackage,
bool  bLicenseMissing = false 
pure virtual
virtual void dp_gui::DialogHelper::checkEntries ( )
pure virtual
void dp_gui::DialogHelper::clearEventID ( )

Definition at line 63 of file dp_gui_dialog2.hxx.

bool dp_gui::DialogHelper::continueOnSharedExtension ( const css::uno::Reference< css::deployment::XPackage > &  ,
weld::Widget pParent,
TranslateId  pResID,
bool &  bHadWarning 
void dp_gui::DialogHelper::decBusy ( )
weld::Window* dp_gui::DialogHelper::getFrameWeld ( ) const

Definition at line 61 of file dp_gui_dialog2.hxx.

References m_pWindow.

Referenced by installExtensionWarn(), installForAllUsers(), and openWebBrowser().

void dp_gui::DialogHelper::incBusy ( )
bool dp_gui::DialogHelper::installExtensionWarn ( std::u16string_view  rExtensionURL)
bool dp_gui::DialogHelper::installForAllUsers ( bool &  bInstallForAll)
bool dp_gui::DialogHelper::isBusy ( ) const
bool dp_gui::DialogHelper::IsSharedPkgMgr ( const css::uno::Reference< css::deployment::XPackage > &  )
void dp_gui::DialogHelper::openWebBrowser ( const OUString &  rURL,
const OUString &  rTitle 
void dp_gui::DialogHelper::PostUserEvent ( const Link< void *, void > &  rLink,
void pCaller 
virtual void dp_gui::DialogHelper::prepareChecking ( )
pure virtual
virtual void dp_gui::DialogHelper::showProgress ( bool  bStart)
pure virtual
virtual void dp_gui::DialogHelper::updatePackageInfo ( const css::uno::Reference< css::deployment::XPackage > &  xPackage)
pure virtual
virtual void dp_gui::DialogHelper::updateProgress ( const OUString &  rText,
const css::uno::Reference< css::task::XAbortChannel > &  xAbortChannel 
pure virtual
virtual void dp_gui::DialogHelper::updateProgress ( const tools::Long  nProgress)
pure virtual

Member Data Documentation

TopLevelWindowLocker dp_gui::DialogHelper::m_aBusy

Definition at line 53 of file dp_gui_dialog2.hxx.

ImplSVEvent* dp_gui::DialogHelper::m_nEventID

Definition at line 52 of file dp_gui_dialog2.hxx.

Referenced by PostUserEvent(), and ~DialogHelper().

weld::Window* dp_gui::DialogHelper::m_pWindow

Definition at line 51 of file dp_gui_dialog2.hxx.

Referenced by getFrameWeld().

css::uno::Reference< css::uno::XComponentContext > dp_gui::DialogHelper::m_xContext

Definition at line 50 of file dp_gui_dialog2.hxx.

Referenced by DialogHelper(), and openWebBrowser().

The documentation for this class was generated from the following files: