LibreOffice Module extensions (master) 1
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
abp::TypeSelectionPage Class Referencefinal

#include <typeselectionpage.hxx>

Inheritance diagram for abp::TypeSelectionPage:
[legend]
Collaboration diagram for abp::TypeSelectionPage:
[legend]

Classes

struct  ButtonItem
 

Public Member Functions

 TypeSelectionPage (weld::Container *pPage, OAddressBookSourcePilot *pController)
 
virtual ~TypeSelectionPage () override
 
AddressSourceType getSelectedType () const
 
- Public Member Functions inherited from vcl::OWizardPage
 OWizardPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
virtual ~OWizardPage () override
 
virtual void initializePage () override
 
virtual bool commitPage (WizardTypes::CommitPageReason _eReason) override
 
virtual bool canAdvance () const override
 
- Public Member Functions inherited from BuilderPage
 BuilderPage (weld::Widget *pParent, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, bool bIsMobile=false)
 
virtual ~BuilderPage () COVERITY_NOEXCEPT_FALSE
 
void SetPageTitle (const OUString &rPageTitle)
 
const OUString & GetPageTitle () const
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetHelpId (const OUString &rHelpId)
 
OUString GetHelpId () const
 

Private Member Functions

virtual void initializePage () override
 
virtual bool commitPage (::vcl::WizardTypes::CommitPageReason _eReason) override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual bool canAdvance () const override
 
 DECL_LINK (OnTypeSelected, weld::Toggleable &, void)
 
void selectType (AddressSourceType _eType)
 

Private Attributes

std::unique_ptr< weld::RadioButtonm_xEvolution
 
std::unique_ptr< weld::RadioButtonm_xEvolutionGroupwise
 
std::unique_ptr< weld::RadioButtonm_xEvolutionLdap
 
std::unique_ptr< weld::RadioButtonm_xThunderbird
 
std::unique_ptr< weld::RadioButtonm_xKab
 
std::unique_ptr< weld::RadioButtonm_xMacab
 
std::unique_ptr< weld::RadioButtonm_xOther
 
std::vector< ButtonItemm_aAllTypes
 

Additional Inherited Members

- Protected Member Functions inherited from abp::AddressBookSourcePage
 AddressBookSourcePage (weld::Container *pPage, OAddressBookSourcePilot *pController, const OUString &rUIXMLDescription, const OUString &rID)
 
OAddressBookSourcePilotgetDialog ()
 
const OAddressBookSourcePilotgetDialog () const
 
const css::uno::Reference< css::uno::XComponentContext > & getORB () const
 
AddressSettingsgetSettings ()
 
const AddressSettingsgetSettings () const
 
virtual void Activate () override
 
virtual void Deactivate () override
 
- Protected Member Functions inherited from vcl::OWizardPage
virtual void Activate () override
 
void updateDialogTravelUI ()
 
- Protected Attributes inherited from BuilderPage
weld::DialogControllerm_pDialogController
 
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 29 of file typeselectionpage.hxx.

Constructor & Destructor Documentation

◆ TypeSelectionPage()

abp::TypeSelectionPage::TypeSelectionPage ( weld::Container pPage,
OAddressBookSourcePilot pController 
)
explicit

◆ ~TypeSelectionPage()

abp::TypeSelectionPage::~TypeSelectionPage ( )
overridevirtual

Definition at line 131 of file typeselectionpage.cxx.

References m_aAllTypes.

Member Function Documentation

◆ Activate()

void abp::TypeSelectionPage::Activate ( )
overrideprivatevirtual

◆ canAdvance()

bool abp::TypeSelectionPage::canAdvance ( ) const
overrideprivatevirtual

Reimplemented from vcl::OWizardPage.

Definition at line 208 of file typeselectionpage.cxx.

References abp::AST_INVALID, vcl::OWizardPage::canAdvance(), and getSelectedType().

◆ commitPage()

bool abp::TypeSelectionPage::commitPage ( ::vcl::WizardTypes::CommitPageReason  _eReason)
overrideprivatevirtual

◆ Deactivate()

void abp::TypeSelectionPage::Deactivate ( )
overrideprivatevirtual

◆ DECL_LINK()

abp::TypeSelectionPage::DECL_LINK ( OnTypeSelected  ,
weld::Toggleable ,
void   
)
private

◆ getSelectedType()

AddressSourceType abp::TypeSelectionPage::getSelectedType ( ) const

Definition at line 169 of file typeselectionpage.cxx.

References abp::AST_INVALID, and m_aAllTypes.

Referenced by canAdvance(), and commitPage().

◆ initializePage()

void abp::TypeSelectionPage::initializePage ( )
overrideprivatevirtual

◆ selectType()

void abp::TypeSelectionPage::selectType ( AddressSourceType  _eType)
private

Definition at line 161 of file typeselectionpage.cxx.

References m_aAllTypes.

Referenced by initializePage().

Member Data Documentation

◆ m_aAllTypes

std::vector< ButtonItem > abp::TypeSelectionPage::m_aAllTypes
private

◆ m_xEvolution

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xEvolution
private

Definition at line 31 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().

◆ m_xEvolutionGroupwise

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xEvolutionGroupwise
private

Definition at line 32 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().

◆ m_xEvolutionLdap

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xEvolutionLdap
private

Definition at line 33 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().

◆ m_xKab

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xKab
private

Definition at line 35 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().

◆ m_xMacab

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xMacab
private

Definition at line 36 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().

◆ m_xOther

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xOther
private

Definition at line 37 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().

◆ m_xThunderbird

std::unique_ptr<weld::RadioButton> abp::TypeSelectionPage::m_xThunderbird
private

Definition at line 34 of file typeselectionpage.hxx.

Referenced by TypeSelectionPage().


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