Improve the integration of QtWebsockets into general Qt docs v5.4.0-beta1
authorAlex Blasche <alexander.blasche@digia.com>
Fri, 26 Sep 2014 10:06:10 +0000 (12:06 +0200)
committerAlex Blasche <alexander.blasche@digia.com>
Sun, 28 Sep 2014 17:52:58 +0000 (19:52 +0200)
1.) The websocket qml types page is now hooked into Qt's QML Type by Module
page.

2.) Correct incorrectly documented import statement for Qt.WebSockets
module in QML.

3.) Add missing \since tags (see QTBUG-36775).

Change-Id: I1321db70215fcd16cfbd77dd71a459244241d8a3
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
src/imports/qmlwebsockets/qqmlwebsocket.cpp
src/imports/qmlwebsockets/qqmlwebsocketserver.cpp
src/websockets/doc/src/qtwebsockets-module.qdoc
src/websockets/qmaskgenerator.cpp
src/websockets/qwebsocket.cpp
src/websockets/qwebsocketcorsauthenticator.cpp
src/websockets/qwebsocketprotocol.cpp
src/websockets/qwebsocketserver.cpp

index edd48c4..08d39f6 100644 (file)
@@ -34,6 +34,7 @@
 /*!
     \qmltype WebSocket
     \instantiates QQmlWebSocket
+    \since 5.3
 
     \inqmlmodule Qt.WebSockets
     \ingroup websockets-qml
index e5b2b0f..6425fe2 100644 (file)
@@ -39,6 +39,7 @@ QT_USE_NAMESPACE
 /*!
     \qmltype WebSocketServer
     \instantiates QQmlWebSocketServer
+    \since 5.3
 
     \inqmlmodule Qt.WebSockets
     \ingroup websockets-qml
index 02d31d1..dc7009b 100644 (file)
 */
 
 /*!
-    \page qtwebsockets-qml-types.html
+    \qmlmodule Qt.WebSockets 1.0
     \title Qt WebSockets QML Types
-    \brief List of QML types that provide WebSockets communication.
+    \ingroup qmlmodules
+    \brief Provides QML types for WebSockets communication.
 
     \annotatedlist websockets-qml
 
     The QML types are accessed by using:
     \code
-    import QtWebSockets 1.0
+    import Qt.WebSockets 1.0
     \endcode
 */
index 1715709..b6c0d34 100644 (file)
@@ -35,6 +35,7 @@
     \class QMaskGenerator
 
     \inmodule QtWebSockets
+    \since 5.3
 
     \brief The QMaskGenerator class provides an abstract base for custom 32-bit mask generators.
 
index 051c776..9cd0ff4 100644 (file)
@@ -35,6 +35,7 @@
     \class QWebSocket
 
     \inmodule QtWebSockets
+    \since 5.3
     \brief Implements a TCP socket that talks the WebSocket protocol.
 
     WebSockets is a web technology providing full-duplex communications channels over
index ec2537c..68c626e 100644 (file)
@@ -35,6 +35,7 @@
     \class QWebSocketCorsAuthenticator
 
     \inmodule QtWebSockets
+    \since 5.3
     \brief The QWebSocketCorsAuthenticator class provides an authenticator object for
     Cross Origin Requests (CORS).
 
index 697f16f..210a805 100644 (file)
@@ -42,6 +42,7 @@ QT_BEGIN_NAMESPACE
   \namespace QWebSocketProtocol
   \inmodule QtWebSockets
   \brief Contains constants related to the WebSocket standard.
+  \since 5.3
 */
 
 /*!
index 6c70d8e..59cfd89 100644 (file)
@@ -35,6 +35,7 @@
     \class QWebSocketServer
 
     \inmodule QtWebSockets
+    \since 5.3
 
     \brief Implements a WebSocket-based server.