X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fsessionthread.h;h=9a4a1b6b851818c73585da5bc3a8f1ac189ae10d;hb=b5e38970ffd55e2dd9f706ce75af9a8d7730b1b8;hp=aacefcebaf0764f5d296ff9f28733927ddcfd1f5;hpb=0e1b154f362e13c2c9009f842e3fd6d8e7c346fc;p=quassel.git diff --git a/src/core/sessionthread.h b/src/core/sessionthread.h index aacefceb..9a4a1b6b 100644 --- a/src/core/sessionthread.h +++ b/src/core/sessionthread.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -27,8 +27,8 @@ #include "types.h" class CoreSession; -class InternalConnection; -class RemoteConnection; +class InternalPeer; +class RemotePeer; class QIODevice; class SessionThread : public QThread @@ -54,8 +54,10 @@ signals: void initialized(); void shutdown(); - void addRemoteClient(RemoteConnection *); - void addInternalClient(InternalConnection *); + void addRemoteClient(RemotePeer *peer); + void addInternalClient(InternalPeer *peer); + + void passwordChangeRequested(UserId user, QString newPassword); private: CoreSession *_session; @@ -66,8 +68,8 @@ private: bool isSessionInitialized(); void addClientToSession(QObject *peer); - void addRemoteClientToSession(RemoteConnection *connection); - void addInternalClientToSession(InternalConnection *client); + void addRemoteClientToSession(RemotePeer *remotePeer); + void addInternalClientToSession(InternalPeer *internalPeer); };