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 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, const char *pResID, bool &bHadWarning)
 
void incBusy ()
 
void decBusy ()
 
bool isBusy () const
 
bool installExtensionWarn (const OUString &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 56 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 301 of file dp_gui_dialog2.cxx.

References m_xContext, and xContext.

dp_gui::DialogHelper::~DialogHelper ( )
virtual

Definition at line 309 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 ( )
inline

Definition at line 71 of file dp_gui_dialog2.hxx.

bool dp_gui::DialogHelper::continueOnSharedExtension ( const css::uno::Reference< css::deployment::XPackage > &  ,
weld::Widget pParent,
const char *  pResID,
bool &  bHadWarning 
)
void dp_gui::DialogHelper::decBusy ( )
inline
weld::Window* dp_gui::DialogHelper::getFrameWeld ( ) const
inline
void dp_gui::DialogHelper::incBusy ( )
inline
bool dp_gui::DialogHelper::installExtensionWarn ( const OUString &  rExtensionURL)
bool dp_gui::DialogHelper::installForAllUsers ( bool &  bInstallForAll)
bool dp_gui::DialogHelper::isBusy ( ) const
inline
bool dp_gui::DialogHelper::IsSharedPkgMgr ( const css::uno::Reference< css::deployment::XPackage > &  )
static
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 long  nProgress)
pure virtual

Member Data Documentation

TopLevelWindowLocker dp_gui::DialogHelper::m_aBusy
private

Definition at line 61 of file dp_gui_dialog2.hxx.

ImplSVEvent* dp_gui::DialogHelper::m_nEventID
private

Definition at line 60 of file dp_gui_dialog2.hxx.

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

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

Definition at line 59 of file dp_gui_dialog2.hxx.

Referenced by getFrameWeld().

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

Definition at line 58 of file dp_gui_dialog2.hxx.

Referenced by DialogHelper(), and openWebBrowser().


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