Appended _p to the names of internal files
authorKurt Pattyn <pattyn.kurt@gmail.com>
Thu, 22 Aug 2013 18:53:58 +0000 (20:53 +0200)
committerKurt Pattyn <pattyn.kurt@gmail.com>
Thu, 22 Aug 2013 18:53:58 +0000 (20:53 +0200)
source/dataprocessor_p.cpp [moved from source/dataprocessor.cpp with 99% similarity]
source/dataprocessor_p.h [moved from source/dataprocessor.h with 94% similarity]
source/handshakerequest_p.cpp [moved from source/handshakerequest.cpp with 99% similarity]
source/handshakerequest_p.h [moved from source/handshakerequest.h with 92% similarity]
source/handshakeresponse_p.cpp [moved from source/handshakeresponse.cpp with 98% similarity]
source/handshakeresponse_p.h [moved from source/handshakeresponse.h with 93% similarity]
source/websocket.cpp
source/websocket.h
source/websocket.pri
source/websocketserver.cpp

similarity index 99%
rename from source/dataprocessor.cpp
rename to source/dataprocessor_p.cpp
index b399d7f..a45cfad 100644 (file)
@@ -1,4 +1,4 @@
-#include "dataprocessor.h"
+#include "dataprocessor_p.h"
 #include "websocketprotocol.h"
 #include <QTcpSocket>
 #include <QtEndian>
similarity index 94%
rename from source/dataprocessor.h
rename to source/dataprocessor_p.h
index cb3a832..f184f35 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef DATAPROCESSOR_H
-#define DATAPROCESSOR_H
+#ifndef DATAPROCESSOR_P_H
+#define DATAPROCESSOR_P_H
 
 #include <QObject>
 #include <QByteArray>
@@ -57,4 +57,4 @@ private:
        QTextCodec *m_pTextCodec;
 };
 
-#endif // DATAPROCESSOR_H
+#endif // DATAPROCESSOR_P_H
similarity index 99%
rename from source/handshakerequest.cpp
rename to source/handshakerequest_p.cpp
index e90e8e5..c297217 100644 (file)
@@ -1,4 +1,4 @@
-#include "handshakerequest.h"
+#include "handshakerequest_p.h"
 #include <QString>
 #include <QMap>
 #include <QTextStream>
similarity index 92%
rename from source/handshakerequest.h
rename to source/handshakerequest_p.h
index 894992e..708950a 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HANDSHAKEREQUEST_H
-#define HANDSHAKEREQUEST_H
+#ifndef HANDSHAKEREQUEST_P_H
+#define HANDSHAKEREQUEST_P_H
 
 #include <QObject>
 #include <QMap>
@@ -51,4 +51,4 @@ private:
 
 QTextStream &operator >>(QTextStream &stream, HandshakeRequest &request);
 
-#endif // HANDSHAKEREQUEST_H
+#endif // HANDSHAKEREQUEST_P_H
similarity index 98%
rename from source/handshakeresponse.cpp
rename to source/handshakeresponse_p.cpp
index 5996836..93f21b9 100644 (file)
@@ -1,5 +1,5 @@
-#include "handshakeresponse.h"
-#include "handshakerequest.h"
+#include "handshakeresponse_p.h"
+#include "handshakerequest_p.h"
 #include <QString>
 #include <QTextStream>
 #include <QByteArray>
similarity index 93%
rename from source/handshakeresponse.h
rename to source/handshakeresponse_p.h
index f5a1161..c1adf43 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HANDSHAKERESPONSE_H
-#define HANDSHAKERESPONSE_H
+#ifndef HANDSHAKERESPONSE_P_H
+#define HANDSHAKERESPONSE_P_H
 
 #include <QObject>
 #include "websocketprotocol.h"
@@ -48,4 +48,4 @@ private:
        friend QTextStream &operator <<(QTextStream &stream, const HandshakeResponse &response);
 };
 
-#endif // HANDSHAKERESPONSE_H
+#endif // HANDSHAKERESPONSE_P_H
index 8e64f6c..bae98f5 100644 (file)
@@ -1,6 +1,6 @@
 #include "websocket.h"
-#include "handshakerequest.h"
-#include "handshakeresponse.h"
+#include "handshakerequest_p.h"
+#include "handshakeresponse_p.h"
 #include <QUrl>
 #include <QTcpSocket>
 #include <QByteArray>
index 0175ce2..10e9676 100644 (file)
@@ -15,7 +15,7 @@
 #include <QAbstractSocket>
 #include <QHostAddress>
 #include "websocketprotocol.h"
-#include "dataprocessor.h"
+#include "dataprocessor_p.h"
 #include <QNetworkProxy>
 #include <QTime>
 
index 94f0ccd..f70a1d0 100644 (file)
@@ -3,16 +3,16 @@ QT       *= network
 SOURCES += $$PWD/websocket.cpp \
        $$PWD/websocketserver.cpp \
        $$PWD/websocketprotocol.cpp \
-       $$PWD/handshakerequest.cpp \
-       $$PWD/handshakeresponse.cpp \
-       $$PWD/dataprocessor.cpp
+       $$PWD/handshakerequest_p.cpp \
+       $$PWD/handshakeresponse_p.cpp \
+       $$PWD/dataprocessor_p.cpp
 
 HEADERS += $$PWD/websocket.h \
        $$PWD/websocketserver.h \
        $$PWD/websocketprotocol.h \
-       $$PWD/handshakerequest.h \
-       $$PWD/handshakeresponse.h \
-       $$PWD/dataprocessor.h
+       $$PWD/handshakerequest_p.h \
+       $$PWD/handshakeresponse_p.h \
+       $$PWD/dataprocessor_p.h
 
 INCLUDEPATH += $$PWD
 DEPENDPATH += $$PWD
index e5fc7b7..0b42206 100644 (file)
@@ -3,8 +3,8 @@
 #include <QTcpSocket>
 #include <QNetworkProxy>
 #include "websocketprotocol.h"
-#include "handshakerequest.h"
-#include "handshakeresponse.h"
+#include "handshakerequest_p.h"
+#include "handshakeresponse_p.h"
 #include "websocket.h"
 
 /*!