Move examples into 'websockets' folder
authorKai Koehne <kai.koehne@digia.com>
Wed, 19 Mar 2014 15:45:42 +0000 (16:45 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 19 Mar 2014 16:52:08 +0000 (17:52 +0100)
In the packaging process the content of all 'examples' folders are
copied together into one folder ... so modules are supposed to have
their submodule name as a sub-folder of 'examples'.

Change-Id: I9981b914e8268c932ca5a3d1c9fa73f8db0b6a5b
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
38 files changed:
examples/examples.pro
examples/websockets/doc/echoclient.qdoc [moved from examples/doc/echoclient.qdoc with 100% similarity]
examples/websockets/doc/echoserver.qdoc [moved from examples/doc/echoserver.qdoc with 100% similarity]
examples/websockets/doc/examples.qdoc [moved from examples/doc/examples.qdoc with 100% similarity]
examples/websockets/doc/qmlwebsocketclient.qdoc [moved from examples/doc/qmlwebsocketclient.qdoc with 100% similarity]
examples/websockets/doc/simplechat.qdoc [moved from examples/doc/simplechat.qdoc with 100% similarity]
examples/websockets/doc/sslechoclient.qdoc [moved from examples/doc/sslechoclient.qdoc with 100% similarity]
examples/websockets/doc/sslechoserver.qdoc [moved from examples/doc/sslechoserver.qdoc with 100% similarity]
examples/websockets/echoclient/echoclient.cpp [moved from examples/echoclient/echoclient.cpp with 100% similarity]
examples/websockets/echoclient/echoclient.h [moved from examples/echoclient/echoclient.h with 100% similarity]
examples/websockets/echoclient/echoclient.pro [moved from examples/echoclient/echoclient.pro with 100% similarity]
examples/websockets/echoclient/main.cpp [moved from examples/echoclient/main.cpp with 100% similarity]
examples/websockets/echoserver/echoclient.html [moved from examples/echoserver/echoclient.html with 100% similarity]
examples/websockets/echoserver/echoserver.cpp [moved from examples/echoserver/echoserver.cpp with 100% similarity]
examples/websockets/echoserver/echoserver.h [moved from examples/echoserver/echoserver.h with 100% similarity]
examples/websockets/echoserver/echoserver.pro [moved from examples/echoserver/echoserver.pro with 100% similarity]
examples/websockets/echoserver/main.cpp [moved from examples/echoserver/main.cpp with 100% similarity]
examples/websockets/qmlwebsocketclient/data.qrc [moved from examples/qmlwebsocketclient/data.qrc with 100% similarity]
examples/websockets/qmlwebsocketclient/main.cpp [moved from examples/qmlwebsocketclient/main.cpp with 100% similarity]
examples/websockets/qmlwebsocketclient/qml/qmlwebsocketclient/main.qml [moved from examples/qmlwebsocketclient/qml/qmlwebsocketclient/main.qml with 100% similarity]
examples/websockets/qmlwebsocketclient/qmlwebsocketclient.pro [moved from examples/qmlwebsocketclient/qmlwebsocketclient.pro with 100% similarity]
examples/websockets/simplechat/chatclient.html [moved from examples/simplechat/chatclient.html with 100% similarity]
examples/websockets/simplechat/chatserver.cpp [moved from examples/simplechat/chatserver.cpp with 100% similarity]
examples/websockets/simplechat/chatserver.h [moved from examples/simplechat/chatserver.h with 100% similarity]
examples/websockets/simplechat/main.cpp [moved from examples/simplechat/main.cpp with 100% similarity]
examples/websockets/simplechat/simplechat.pro [moved from examples/simplechat/simplechat.pro with 100% similarity]
examples/websockets/sslechoclient/main.cpp [moved from examples/sslechoclient/main.cpp with 100% similarity]
examples/websockets/sslechoclient/sslechoclient.cpp [moved from examples/sslechoclient/sslechoclient.cpp with 100% similarity]
examples/websockets/sslechoclient/sslechoclient.h [moved from examples/sslechoclient/sslechoclient.h with 100% similarity]
examples/websockets/sslechoclient/sslechoclient.pro [moved from examples/sslechoclient/sslechoclient.pro with 100% similarity]
examples/websockets/sslechoserver/localhost.cert [moved from examples/sslechoserver/localhost.cert with 100% similarity]
examples/websockets/sslechoserver/localhost.key [moved from examples/sslechoserver/localhost.key with 100% similarity]
examples/websockets/sslechoserver/main.cpp [moved from examples/sslechoserver/main.cpp with 100% similarity]
examples/websockets/sslechoserver/sslechoclient.html [moved from examples/sslechoserver/sslechoclient.html with 100% similarity]
examples/websockets/sslechoserver/sslechoserver.cpp [moved from examples/sslechoserver/sslechoserver.cpp with 100% similarity]
examples/websockets/sslechoserver/sslechoserver.h [moved from examples/sslechoserver/sslechoserver.h with 100% similarity]
examples/websockets/sslechoserver/sslechoserver.pro [moved from examples/sslechoserver/sslechoserver.pro with 100% similarity]
examples/websockets/websockets.pro [new file with mode: 0644]

index 76a0e9f..158e1ce 100644 (file)
@@ -1,12 +1,3 @@
 TEMPLATE = subdirs
 
-SUBDIRS = echoclient \
-          echoserver \
-          simplechat
-qtHaveModule(quick): SUBDIRS += qmlwebsocketclient
-
-contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
-SUBDIRS +=  \
-            sslechoserver \
-            sslechoclient
-}
+SUBDIRS = websockets
\ No newline at end of file
diff --git a/examples/websockets/websockets.pro b/examples/websockets/websockets.pro
new file mode 100644 (file)
index 0000000..76a0e9f
--- /dev/null
@@ -0,0 +1,12 @@
+TEMPLATE = subdirs
+
+SUBDIRS = echoclient \
+          echoserver \
+          simplechat
+qtHaveModule(quick): SUBDIRS += qmlwebsocketclient
+
+contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) {
+SUBDIRS +=  \
+            sslechoserver \
+            sslechoclient
+}