aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppOutgoingClient.h
diff options
context:
space:
mode:
author0xd34df00d <0xd34df00d@gmail.com>2019-12-22 19:46:13 -0500
committerLNJ <lnj@kaidan.im>2019-12-23 19:04:55 +0100
commite148045e90eb2ac12bb6ba426052606d5ac38c40 (patch)
tree3ceedcc9997d4c25ec8b14bafecd5faad8cb4ed1 /src/client/QXmppOutgoingClient.h
parentee218192f6c25eba0c8f041ca2e53b7222881aa0 (diff)
downloadqxmpp-e148045e90eb2ac12bb6ba426052606d5ac38c40.tar.gz
Add a .clang-format somewhat close to the current style
Diffstat (limited to 'src/client/QXmppOutgoingClient.h')
-rw-r--r--src/client/QXmppOutgoingClient.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/client/QXmppOutgoingClient.h b/src/client/QXmppOutgoingClient.h
index 52dae4a1..06bd0854 100644
--- a/src/client/QXmppOutgoingClient.h
+++ b/src/client/QXmppOutgoingClient.h
@@ -22,7 +22,6 @@
*
*/
-
#ifndef QXMPPOUTGOINGCLIENT_H
#define QXMPPOUTGOINGCLIENT_H
@@ -60,7 +59,7 @@ public:
QSslSocket *socket() const { return QXmppStream::socket(); };
QXmppStanza::Error::Condition xmppStreamError();
- QXmppConfiguration& configuration();
+ QXmppConfiguration &configuration();
signals:
/// This signal is emitted when an error is encountered.
@@ -70,13 +69,13 @@ signals:
void elementReceived(const QDomElement &element, bool &handled);
/// This signal is emitted when a presence is received.
- void presenceReceived(const QXmppPresence&);
+ void presenceReceived(const QXmppPresence &);
/// This signal is emitted when a message is received.
- void messageReceived(const QXmppMessage&);
+ void messageReceived(const QXmppMessage &);
/// This signal is emitted when an IQ is received.
- void iqReceived(const QXmppIq&);
+ void iqReceived(const QXmppIq &);
/// This signal is emitted when SSL errors are encountered.
void sslErrors(const QList<QSslError> &errors);
@@ -96,7 +95,7 @@ private slots:
void _q_dnsLookupFinished();
void _q_socketDisconnected();
void socketError(QAbstractSocket::SocketError);
- void socketSslErrors(const QList<QSslError>&);
+ void socketSslErrors(const QList<QSslError> &);
void pingStart();
void pingStop();
@@ -105,7 +104,7 @@ private slots:
private:
friend class QXmppOutgoingClientPrivate;
- QXmppOutgoingClientPrivate * const d;
+ QXmppOutgoingClientPrivate *const d;
};
-#endif // QXMPPOUTGOINGCLIENT_H
+#endif // QXMPPOUTGOINGCLIENT_H