modernize: Reformat ALL the source... again!
[quassel.git] / src / core / identserver.h
index 3723c25..f9f26a7 100644 (file)
@@ -39,27 +39,36 @@ struct Request
     qint64 transactionId;
     qint64 requestId;
 
-    friend bool operator==(const Request &a, const Request &b);
+    friend bool operator==(const Request& a, const Request& b);
 
-    void respondSuccess(const QString &user);
-    void respondError(const QString &error);
+    void respondSuccess(const QStringuser);
+    void respondError(const QStringerror);
 };
 
-
 class IdentServer : public QObject
 {
     Q_OBJECT
 
 public:
-    IdentServer(QObject *parent = nullptr);
+    IdentServer(QObjectparent = nullptr);
 
     bool startListening();
-    void stopListening(const QString &msg);
+    void stopListening(const QStringmsg);
     qint64 addWaitingSocket();
 
 public slots:
-    void addSocket(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort, qint64 socketId);
-    void removeSocket(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort, qint64 socketId);
+    void addSocket(const CoreIdentity* identity,
+                   const QHostAddress& localAddress,
+                   quint16 localPort,
+                   const QHostAddress& peerAddress,
+                   quint16 peerPort,
+                   qint64 socketId);
+    void removeSocket(const CoreIdentity* identity,
+                      const QHostAddress& localAddress,
+                      quint16 localPort,
+                      const QHostAddress& peerAddress,
+                      quint16 peerPort,
+                      qint64 socketId);
 
 private slots:
     void incomingConnection();