aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppStun.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/base/QXmppStun.h
parentee218192f6c25eba0c8f041ca2e53b7222881aa0 (diff)
downloadqxmpp-e148045e90eb2ac12bb6ba426052606d5ac38c40.tar.gz
Add a .clang-format somewhat close to the current style
Diffstat (limited to 'src/base/QXmppStun.h')
-rw-r--r--src/base/QXmppStun.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/base/QXmppStun.h b/src/base/QXmppStun.h
index deabdcb1..3ca7cb99 100644
--- a/src/base/QXmppStun.h
+++ b/src/base/QXmppStun.h
@@ -46,21 +46,21 @@ class QXMPP_EXPORT QXmppStunMessage
{
public:
enum MethodType {
- Binding = 0x1,
+ Binding = 0x1,
SharedSecret = 0x2,
- Allocate = 0x3,
- Refresh = 0x4,
- Send = 0x6,
- Data = 0x7,
+ Allocate = 0x3,
+ Refresh = 0x4,
+ Send = 0x6,
+ Data = 0x7,
CreatePermission = 0x8,
- ChannelBind = 0x9
+ ChannelBind = 0x9
};
enum ClassType {
- Request = 0x000,
+ Request = 0x000,
Indication = 0x010,
- Response = 0x100,
- Error = 0x110
+ Response = 0x100,
+ Error = 0x110
};
QXmppStunMessage();
@@ -174,7 +174,7 @@ public:
QList<QXmppJingleCandidate> localCandidates() const;
static QList<QHostAddress> discoverAddresses();
- static QList<QUdpSocket*> reservePorts(const QList<QHostAddress> &addresses, int count, QObject *parent = nullptr);
+ static QList<QUdpSocket *> reservePorts(const QList<QHostAddress> &addresses, int count, QObject *parent = nullptr);
public slots:
void close();
@@ -203,7 +203,7 @@ signals:
void localCandidatesChanged();
private:
- QXmppIceComponent(int component, QXmppIcePrivate *config, QObject *parent=nullptr);
+ QXmppIceComponent(int component, QXmppIcePrivate *config, QObject *parent = nullptr);
QXmppIceComponentPrivate *d;
friend class QXmppIceComponentPrivate;