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:
[legend]
Collaboration diagram for dp_gui::DialogHelper:
[legend]

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
 
weld::Windowm_pWindow
 
ImplSVEventm_nEventID
 
TopLevelWindowLocker m_aBusy
 

Detailed Description

Definition at line 48 of file dp_gui_dialog2.hxx.

Constructor & Destructor Documentation

◆ DialogHelper()

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

Definition at line 284 of file dp_gui_dialog2.cxx.

References m_xContext, and xContext.

◆ ~DialogHelper()

dp_gui::DialogHelper::~DialogHelper ( )
virtual

Definition at line 292 of file dp_gui_dialog2.cxx.

References m_nEventID, and Application::RemoveUserEvent().

Member Function Documentation

◆ addPackageToList()

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

◆ checkEntries()

virtual void dp_gui::DialogHelper::checkEntries ( )
pure virtual

◆ clearEventID()

void dp_gui::DialogHelper::clearEventID ( )
inline

Definition at line 63 of file dp_gui_dialog2.hxx.

References m_nEventID.

◆ continueOnSharedExtension()

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

◆ decBusy()

void dp_gui::DialogHelper::decBusy ( )
inline

◆ getFrameWeld()

weld::Window * dp_gui::DialogHelper::getFrameWeld ( ) const
inline

Definition at line 61 of file dp_gui_dialog2.hxx.

References m_pWindow.

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

◆ incBusy()

void dp_gui::DialogHelper::incBusy ( )
inline

◆ installExtensionWarn()

bool dp_gui::DialogHelper::installExtensionWarn ( std::u16string_view  rExtensionURL)

◆ installForAllUsers()

bool dp_gui::DialogHelper::installForAllUsers ( bool &  bInstallForAll)

◆ isBusy()

bool dp_gui::DialogHelper::isBusy ( ) const
inline

◆ IsSharedPkgMgr()

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

◆ openWebBrowser()

void dp_gui::DialogHelper::openWebBrowser ( const OUString &  rURL,
const OUString &  rTitle 
)

◆ PostUserEvent()

void dp_gui::DialogHelper::PostUserEvent ( const Link< void *, void > &  rLink,
void *  pCaller 
)

◆ prepareChecking()

virtual void dp_gui::DialogHelper::prepareChecking ( )
pure virtual

◆ showProgress()

virtual void dp_gui::DialogHelper::showProgress ( bool  bStart)
pure virtual

◆ updatePackageInfo()

virtual void dp_gui::DialogHelper::updatePackageInfo ( const css::uno::Reference< css::deployment::XPackage > &  xPackage)
pure virtual

◆ updateProgress() [1/2]

virtual void dp_gui::DialogHelper::updateProgress ( const OUString &  rText,
const css::uno::Reference< css::task::XAbortChannel > &  xAbortChannel 
)
pure virtual

◆ updateProgress() [2/2]

virtual void dp_gui::DialogHelper::updateProgress ( const tools::Long  nProgress)
pure virtual

Member Data Documentation

◆ m_aBusy

TopLevelWindowLocker dp_gui::DialogHelper::m_aBusy
private

Definition at line 53 of file dp_gui_dialog2.hxx.

Referenced by decBusy(), incBusy(), and isBusy().

◆ m_nEventID

ImplSVEvent* dp_gui::DialogHelper::m_nEventID
private

Definition at line 52 of file dp_gui_dialog2.hxx.

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

◆ m_pWindow

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

Definition at line 51 of file dp_gui_dialog2.hxx.

Referenced by getFrameWeld(), and incBusy().

◆ m_xContext

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

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: