aboutsummaryrefslogtreecommitdiff
path: root/src/server
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/server
parentee218192f6c25eba0c8f041ca2e53b7222881aa0 (diff)
Add a .clang-format somewhat close to the current style
Diffstat (limited to 'src/server')
-rw-r--r--src/server/QXmppDialback.h8
-rw-r--r--src/server/QXmppIncomingClient.h2
-rw-r--r--src/server/QXmppIncomingServer.h2
-rw-r--r--src/server/QXmppOutgoingServer.h2
-rw-r--r--src/server/QXmppServer.h6
-rw-r--r--src/server/QXmppServerExtension.h2
6 files changed, 11 insertions, 11 deletions
diff --git a/src/server/QXmppDialback.h b/src/server/QXmppDialback.h
index 5166df51..81bf54c8 100644
--- a/src/server/QXmppDialback.h
+++ b/src/server/QXmppDialback.h
@@ -36,10 +36,10 @@ class QXMPP_EXPORT QXmppDialback : public QXmppStanza
public:
/// This enum is used to describe a dialback command.
enum Command {
- Result, ///< A dialback command between the originating server
- ///< and the receiving server.
- Verify ///< A dialback command between the receiving server
- ///< and the authoritative server.
+ Result, ///< A dialback command between the originating server
+ ///< and the receiving server.
+ Verify ///< A dialback command between the receiving server
+ ///< and the authoritative server.
};
QXmppDialback();
diff --git a/src/server/QXmppIncomingClient.h b/src/server/QXmppIncomingClient.h
index 374fabd4..d6c92a60 100644
--- a/src/server/QXmppIncomingClient.h
+++ b/src/server/QXmppIncomingClient.h
@@ -68,7 +68,7 @@ private slots:
private:
Q_DISABLE_COPY(QXmppIncomingClient)
- QXmppIncomingClientPrivate* d;
+ QXmppIncomingClientPrivate *d;
friend class QXmppIncomingClientPrivate;
};
diff --git a/src/server/QXmppIncomingServer.h b/src/server/QXmppIncomingServer.h
index 883d9f01..065d7169 100644
--- a/src/server/QXmppIncomingServer.h
+++ b/src/server/QXmppIncomingServer.h
@@ -64,7 +64,7 @@ private slots:
private:
Q_DISABLE_COPY(QXmppIncomingServer)
- QXmppIncomingServerPrivate* d;
+ QXmppIncomingServerPrivate *d;
friend class QXmppIncomingServerPrivate;
};
diff --git a/src/server/QXmppOutgoingServer.h b/src/server/QXmppOutgoingServer.h
index 139a2f22..e1105fe5 100644
--- a/src/server/QXmppOutgoingServer.h
+++ b/src/server/QXmppOutgoingServer.h
@@ -77,7 +77,7 @@ private slots:
private:
Q_DISABLE_COPY(QXmppOutgoingServer)
- QXmppOutgoingServerPrivate* const d;
+ QXmppOutgoingServerPrivate *const d;
};
#endif
diff --git a/src/server/QXmppServer.h b/src/server/QXmppServer.h
index 2f9bca8e..83fca691 100644
--- a/src/server/QXmppServer.h
+++ b/src/server/QXmppServer.h
@@ -59,14 +59,14 @@ class QXmppStream;
class QXMPP_EXPORT QXmppServer : public QXmppLoggable
{
Q_OBJECT
- Q_PROPERTY(QXmppLogger* logger READ logger WRITE setLogger NOTIFY loggerChanged)
+ Q_PROPERTY(QXmppLogger *logger READ logger WRITE setLogger NOTIFY loggerChanged)
public:
QXmppServer(QObject *parent = nullptr);
~QXmppServer() override;
void addExtension(QXmppServerExtension *extension);
- QList<QXmppServerExtension*> extensions();
+ QList<QXmppServerExtension *> extensions();
QString domain() const;
void setDomain(const QString &domain);
@@ -144,7 +144,7 @@ signals:
private:
void incomingConnection(qintptr socketDescriptor) override;
- QXmppSslServerPrivate * const d;
+ QXmppSslServerPrivate *const d;
};
#endif
diff --git a/src/server/QXmppServerExtension.h b/src/server/QXmppServerExtension.h
index bfdde5d8..25fd04e8 100644
--- a/src/server/QXmppServerExtension.h
+++ b/src/server/QXmppServerExtension.h
@@ -69,7 +69,7 @@ protected:
private:
void setServer(QXmppServer *server);
- QXmppServerExtensionPrivate * const d;
+ QXmppServerExtensionPrivate *const d;
friend class QXmppServer;
};