Quassel IRC  Pre-Release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
CoreConfigWizard Class Reference

#include </tmp/quassel/src/qtui/coreconfigwizard.h>

Collaboration diagram for CoreConfigWizard:

Public Types

enum  {
  IntroPage, AdminUserPage, StorageSelectionPage, SyncPage,
  SyncRelayPage, StorageDetailsPage, ConclusionPage
}

Public Slots

void loginSuccess ()
void syncFinished ()

Signals

void setupCore (const QVariant &setupData)
void loginToCore (const QString &user, const QString &password, bool rememberPassword)

Public Member Functions

 CoreConfigWizard (CoreConnection *connection, const QList< QVariant > &backends, QWidget *parent=0)
QHash< QString, QVariant > backends () const
CoreConnectioncoreConnection () const

Private Slots

void prepareCoreSetup (const QString &backend, const QVariantMap &connectionProperties)
void coreSetupSuccess ()
void coreSetupFailed (const QString &)
void startOver ()

Private Attributes

QHash< QString, QVariant > _backends
CoreConfigWizardPages::SyncPagesyncPage
CoreConfigWizardPages::SyncRelayPagesyncRelayPage
CoreConnection_connection

Detailed Description

Definition at line 40 of file coreconfigwizard.h.

Member Enumeration Documentation

anonymous enum
Enumerator:
IntroPage 
AdminUserPage 
StorageSelectionPage 
SyncPage 
SyncRelayPage 
StorageDetailsPage 
ConclusionPage 

Definition at line 45 of file coreconfigwizard.h.

Constructor & Destructor Documentation

CoreConfigWizard ( CoreConnection connection,
const QList< QVariant > &  backends,
QWidget *  parent = 0 
)

Member Function Documentation

QHash< QString, QVariant > backends ( ) const

Definition at line 80 of file coreconfigwizard.cpp.

References _backends.

CoreConnection* coreConnection ( ) const
inline

Definition at line 58 of file coreconfigwizard.h.

References _connection.

Referenced by coreSetupSuccess(), and prepareCoreSetup().

void setupCore ( const QVariant &  setupData)
signal

Referenced by CoreConfigWizard().

void loginToCore ( const QString &  user,
const QString &  password,
bool  rememberPassword 
)
signal
void loginSuccess ( )
slot

Definition at line 124 of file coreconfigwizard.cpp.

References SyncPage::setComplete(), SyncPage::setStatus(), and syncPage.

void syncFinished ( )
slot

Definition at line 133 of file coreconfigwizard.cpp.

Referenced by CoreConfigWizard().

void prepareCoreSetup ( const QString &  backend,
const QVariantMap &  connectionProperties 
)
privateslot

Definition at line 86 of file coreconfigwizard.cpp.

References coreConnection(), and CoreConnection::setupCore().

Referenced by CoreConfigWizard().

void coreSetupFailed ( const QString &  error)
privateslot
void startOver ( )
privateslot

Definition at line 116 of file coreconfigwizard.cpp.

References AdminUserPage.

Referenced by CoreConfigWizard().

Member Data Documentation

QHash<QString, QVariant> _backends
private

Definition at line 75 of file coreconfigwizard.h.

Referenced by backends(), and CoreConfigWizard().

CoreConfigWizardPages::SyncRelayPage* syncRelayPage
private

Definition at line 77 of file coreconfigwizard.h.

Referenced by CoreConfigWizard(), coreSetupFailed(), and coreSetupSuccess().

CoreConnection* _connection
private

Definition at line 79 of file coreconfigwizard.h.

Referenced by coreConnection().


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