KVIrc  4.9.2
DeveloperAPIs
Public Slots | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SetupWizard Class Reference

#include <SetupWizard.h>

+ Inheritance diagram for SetupWizard:

Public Slots

virtual void accept ()
 
void chooseDataPath ()
 
void chooseIncomingPath ()
 
void chooseOldDataPath ()
 
void newDataTextChanged (const QString &)
 
void newDirClicked ()
 
void newIncomingTextChanged (const QString &)
 
void nickSelectorTextChanged (const QString &)
 
void oldDataTextChanged (const QString &)
 
void oldDirClicked ()
 
void portableClicked ()
 
virtual void reject ()
 

Public Member Functions

 SetupWizard ()
 
 ~SetupWizard ()
 
- Public Member Functions inherited from KviTalWizard
void addPage (QWidget *pWidget, const QString &szTitle)
 
QPushButton * backButton ()
 
QPushButton * cancelButton ()
 
QWidget * currentPage ()
 
QPushButton * finishButton ()
 
QPushButton * helpButton ()
 
void insertPage (QWidget *pWidget, const QString &szTitle, int iIndex)
 
 KviTalWizard (QWidget *pParent)
 
QPushButton * nextButton ()
 
void setBackEnabled (QWidget *pWidget, bool bEnabled)
 
void setCancelEnabled (QWidget *pWidget, bool bEnabled)
 
bool setCurrentPage (QWidget *pWidget)
 
void setFinishEnabled (QWidget *pWidget, bool bEnabled)
 
void setHelpEnabled (QWidget *pWidget, bool bEnabled)
 
void setNextEnabled (QWidget *pWidget, bool bEnabled)
 
bool setPageEnabled (QWidget *pWidget, bool bEnabled)
 
bool setPageTitle (QWidget *pWidget, const QString &szTitle)
 
 ~KviTalWizard ()
 

Public Attributes

QComboBox * m_pAgeCombo
 
QCheckBox * m_pCreateDesktopShortcut
 
QCheckBox * m_pCreateUrlHandlers
 
QLineEdit * m_pDataPathEdit
 
SetupPagem_pDesktopIntegration
 
KviTalGroupBoxm_pDirButtonGroup
 
SetupPagem_pDirectory
 
QRadioButton * m_pDirUseNew
 
QRadioButton * m_pDirUsePrev
 
QComboBox * m_pGenderCombo
 
SetupPagem_pIdentity
 
QLineEdit * m_pIncomingPathEdit
 
QPixmap * m_pLabelPixmap
 
KviStringSelectorm_pLanguagesSelector
 
SetupPagem_pLicense
 
KviStringSelectorm_pLocationSelector
 
KviTalHBoxm_pNewIncomingBox
 
KviTalHBoxm_pNewPathBox
 
KviStringSelectorm_pNickSelector
 
QLineEdit * m_pOldDataPathEdit
 
KviTalHBoxm_pOldPathBox
 
KviStringSelectorm_pRealNameSelector
 
KviStringSelectorm_pServerHostSelector
 
KviUIntSelectorm_pServerPortSelector
 
SetupPagem_pServers
 
KviStringSelectorm_pServerUrlSelector
 
SetupPagem_pTheme
 
QGroupBox * m_pThemeButtonGroup
 
QRadioButton * m_pThemeHiRes
 
QRadioButton * m_pThemeLoRes
 
QRadioButton * m_pThemeNone
 
SetupPagem_pWelcome
 
QString m_szServerConfigFile
 
QString m_szServerHost
 
QString m_szServerUrl
 
unsigned int m_uServerPort
 

Protected Member Functions

void enableOrDisableIdentityPageNextButton ()
 
void makeLink ()
 
void setUrlHandlers ()
 
virtual void showEvent (QShowEvent *e)
 
- Protected Member Functions inherited from KviTalWizard
virtual void closeEvent (QCloseEvent *e)
 
void setCurrentPage (KviTalWizardPageData *pData)
 

Additional Inherited Members

- Signals inherited from KviTalWizard
void helpClicked ()
 
void pageChanged (QString title)
 
- Protected Slots inherited from KviTalWizard
void backButtonClicked ()
 
void cancelButtonClicked ()
 
void finishButtonClicked ()
 
void helpButtonClicked ()
 
void nextButtonClicked ()
 
- Protected Attributes inherited from KviTalWizard
KviTalWizardPrivatem_p
 

Constructor & Destructor Documentation

SetupWizard::SetupWizard ( )

References __tr, __tr2qs, KviTalWizard::addPage(), KviFileUtils::adjustFilePath(), chooseDataPath(), chooseIncomingPath(), chooseOldDataPath(), KviApplication::Config, connect(), enableOrDisableIdentityPageNextButton(), KviQString::ensureLastCharIs(), KviQString::equalCI(), KviFileUtils::extractFileName(), KviFileUtils::extractFilePath(), KviFileUtils::fileExists(), KviMemory::free(), g_bFoundMirc, g_pApp, KviApplication::getGlobalKvircDirectory(), KviConfigurationFile::hasGroup(), i, KVI_DEFAULT_INCOMING_SUBDIRECTORY_NAME, KVI_LOCAL_KVIRC_SUBDIRECTORY_NAME, KVI_OPTION_BOOL, KVI_OPTION_STRING, KVI_PATH_SEPARATOR_CHAR, KviOption_boolShowChannelsJoinOnIrc, KviOption_boolShowServersConnectDialogOnStart, KviOption_stringCtcpUserInfoAge, KviOption_stringCtcpUserInfoGender, KviOption_stringCtcpUserInfoLanguages, KviOption_stringCtcpUserInfoLocation, KviOption_stringNickname1, KviOption_stringNickname2, KviOption_stringRealname, KviOption_stringUsername, l, KviApplication::License, KviStringSelector::lineEdit(), KviFileUtils::loadFile(), m_pAgeCombo, m_pCreateDesktopShortcut, m_pCreateUrlHandlers, m_pDataPathEdit, m_pDesktopIntegration, m_pDirButtonGroup, m_pDirectory, m_pDirUseNew, m_pDirUsePrev, m_pGenderCombo, m_pIdentity, m_pIncomingPathEdit, m_pLabelPixmap, m_pLanguagesSelector, m_pLicense, m_pLocationSelector, m_pNewIncomingBox, m_pNewPathBox, m_pNickSelector, m_pOldDataPathEdit, m_pOldPathBox, m_pRealNameSelector, SetupPage::m_pTextLabel, m_pTheme, m_pThemeButtonGroup, m_pThemeHiRes, m_pThemeLoRes, m_pThemeNone, SetupPage::m_pVBox, m_pWelcome, newDataTextChanged(), newDirClicked(), newIncomingTextChanged(), nickSelectorTextChanged(), oldDataTextChanged(), oldDirClicked(), KviApplication::Pics, portableClicked(), KviConfigurationFile::Read, KviConfigurationFile::readBoolEntry(), KviConfigurationFile::readEntry(), KviConfigurationFile::readIntEntry(), KviTalWizard::setBackEnabled(), KviTalWizard::setFinishEnabled(), KviConfigurationFile::setGroup(), KviTalWizard::setHelpEnabled(), KviTalHBox::setMargin(), KviStringSelector::setMinimumLabelWidth(), KviTalWizard::setPageEnabled(), KviTalHBox::setSpacing(), KviTalVBox::setStretchFactor(), KviTalHBox::setStretchFactor(), KviStringSelector::setText(), KviStringSelector::setValidator(), szMircIni, and v.

SetupWizard::~SetupWizard ( )

References m_pLabelPixmap.

Member Function Documentation

void SetupWizard::accept ( )
virtualslot
void SetupWizard::chooseDataPath ( )
slot
void SetupWizard::chooseIncomingPath ( )
slot
void SetupWizard::chooseOldDataPath ( )
slot
void SetupWizard::enableOrDisableIdentityPageNextButton ( )
protected
void SetupWizard::makeLink ( )
protected
void SetupWizard::newDataTextChanged ( const QString &  str)
slot
void SetupWizard::newDirClicked ( )
slot
void SetupWizard::newIncomingTextChanged ( const QString &  str)
slot
void SetupWizard::nickSelectorTextChanged ( const QString &  str)
slot
void SetupWizard::oldDataTextChanged ( const QString &  str)
slot
void SetupWizard::oldDirClicked ( )
slot
void SetupWizard::portableClicked ( )
slot
void SetupWizard::reject ( )
virtualslot
void SetupWizard::setUrlHandlers ( )
protected
void SetupWizard::showEvent ( QShowEvent *  e)
protectedvirtual

Displays the first page if no other page is shown yet.

Reimplemented from KviTalWizard.

References g_pApp, h, r, KviTalWizard::showEvent(), and w.

Member Data Documentation

QComboBox* SetupWizard::m_pAgeCombo

Referenced by accept(), and SetupWizard().

QCheckBox* SetupWizard::m_pCreateDesktopShortcut

Referenced by accept(), and SetupWizard().

QCheckBox* SetupWizard::m_pCreateUrlHandlers

Referenced by accept(), and SetupWizard().

QLineEdit* SetupWizard::m_pDataPathEdit
SetupPage* SetupWizard::m_pDesktopIntegration

Referenced by SetupWizard().

KviTalGroupBox* SetupWizard::m_pDirButtonGroup

Referenced by SetupWizard().

SetupPage* SetupWizard::m_pDirectory
QRadioButton* SetupWizard::m_pDirUseNew

Referenced by accept(), and SetupWizard().

QRadioButton* SetupWizard::m_pDirUsePrev

Referenced by accept(), and SetupWizard().

QComboBox* SetupWizard::m_pGenderCombo

Referenced by accept(), and SetupWizard().

SetupPage* SetupWizard::m_pIdentity
QLineEdit* SetupWizard::m_pIncomingPathEdit
QPixmap* SetupWizard::m_pLabelPixmap
KviStringSelector* SetupWizard::m_pLanguagesSelector

Referenced by accept(), and SetupWizard().

SetupPage* SetupWizard::m_pLicense

Referenced by SetupWizard().

KviStringSelector* SetupWizard::m_pLocationSelector

Referenced by accept(), and SetupWizard().

KviTalHBox* SetupWizard::m_pNewIncomingBox
KviTalHBox* SetupWizard::m_pNewPathBox
KviStringSelector* SetupWizard::m_pNickSelector
QLineEdit* SetupWizard::m_pOldDataPathEdit
KviTalHBox* SetupWizard::m_pOldPathBox
KviStringSelector* SetupWizard::m_pRealNameSelector

Referenced by accept(), and SetupWizard().

KviStringSelector* SetupWizard::m_pServerHostSelector
KviUIntSelector* SetupWizard::m_pServerPortSelector
SetupPage* SetupWizard::m_pServers
KviStringSelector* SetupWizard::m_pServerUrlSelector
SetupPage* SetupWizard::m_pTheme
QGroupBox* SetupWizard::m_pThemeButtonGroup

Referenced by SetupWizard().

QRadioButton* SetupWizard::m_pThemeHiRes

Referenced by accept(), and SetupWizard().

QRadioButton* SetupWizard::m_pThemeLoRes

Referenced by accept(), and SetupWizard().

QRadioButton* SetupWizard::m_pThemeNone

Referenced by SetupWizard().

SetupPage* SetupWizard::m_pWelcome

Referenced by SetupWizard().

QString SetupWizard::m_szServerConfigFile
QString SetupWizard::m_szServerHost
QString SetupWizard::m_szServerUrl
unsigned int SetupWizard::m_uServerPort

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