- 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 loginFailed(const QString &);
-
- void setLoginWidgetStates();
-
- /*** Phase Three: Sync ***/
- void startSync();
-
- void coreSessionProgress(quint32, quint32);
- void coreNetworksProgress(quint32, quint32);
- void coreChannelsProgress(quint32, quint32);
- void coreIrcUsersProgress(quint32, quint32);
-
- private:
- Ui::CoreConnectDlg ui;
-
- QString autoConnectAccount;
- QHash<QString, QVariantMap> accounts;
- QVariantMap account;
- QString accountName;
-
- bool doingAutoConnect;
-
- ClientSyncer *clientSyncer;