- void createAccount();
- void removeAccount();
- void accountChanged(const QString & = "");
- void setAccountEditEnabled(bool);
- void autoConnectToggled(bool);
- bool checkInputValid();
- void hostEditChanged(QString);
- void hostSelected();
- void doConnect();
-
- void coreConnected();
- void coreConnectionError(QString);
- //void coreConnectionMsg(const QString &);
- //void coreConnectionProgress(uint partial, uint total);
- void updateProgressBar(uint partial, uint total);
- void recvCoreState(QVariant);
-
- void showConfigWizard(const QVariantMap &coredata);
+
+ /*** Phase Null: Accounts ***/
+ void restartPhaseNull();
+
+ void on_accountList_itemSelectionChanged();
+ void on_autoConnect_clicked(bool);
+
+ void on_addAccount_clicked();
+ void on_editAccount_clicked();
+ void on_deleteAccount_clicked();
+
+ void on_accountList_itemDoubleClicked(QListWidgetItem *item);
+ void on_accountButtonBox_accepted();
+
+ void setAccountWidgetStates();
+
+ /*** Phase One: Connection ***/
+ void connectToCore();
+
+ void initPhaseError(const QString &error);
+ void initPhaseMsg(const QString &msg);
+ void initPhaseSocketState(QAbstractSocket::SocketState);
+
+ /*** Phase Two: Login ***/
+ void startLogin();
+ void doLogin();
+ void doLogin(const QVariantMap &loginData);
+ void loginFailed(const QString &);
+ void startCoreConfig(const QVariantList &backends);
+ void configWizardAccepted();
+ void configWizardRejected();
+ void on_launchCoreConfigWizard_clicked();
+
+ void setLoginWidgetStates();
+
+ /*** Phase Three: Sync ***/
+ void startSync();
+ void syncFinished();
+
+ void coreSessionProgress(quint32, quint32);
+ void coreNetworksProgress(quint32, quint32);
+ void coreChannelsProgress(quint32, quint32);
+ void coreIrcUsersProgress(quint32, quint32);