X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fcoreconnection.h;h=69b4c9e56dbead99f52b4dfce127e29565e5e33f;hb=48dda5f3e963e13e36300ddaef262660bf169672;hp=ba33f178041064115a23024061d60ccb80596451;hpb=a8dd070641e70ff96fc2077df63cc5fabe3f7785;p=quassel.git diff --git a/src/client/coreconnection.h b/src/client/coreconnection.h index ba33f178..69b4c9e5 100644 --- a/src/client/coreconnection.h +++ b/src/client/coreconnection.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -73,7 +73,7 @@ public: //! Check if we consider the last connect as reconnect bool wasReconnect() const { return _wasReconnect; } - QPointer peer() { return _peer; } + QPointer peer() const; public slots: bool connectToCore(AccountId = 0); @@ -97,12 +97,11 @@ signals: void progressValueChanged(int value); void progressTextChanged(const QString &); - void startCoreSetup(const QVariantList &backendInfo); + void startCoreSetup(const QVariantList &backendInfo, const QVariantList &authenticatorInfo); void coreSetupSuccess(); void coreSetupFailed(const QString &error); - void startInternalCore(); - void connectToInternalCore(InternalPeer *connection); + void connectToInternalCore(QPointer connection); // These signals MUST be handled synchronously! void userAuthenticationRequired(CoreAccount *, bool *valid, const QString &errorMessage = QString());