summaryrefslogtreecommitdiff
path: root/src/websockets/qmaskgenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/websockets/qmaskgenerator.cpp')
-rw-r--r--src/websockets/qmaskgenerator.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/websockets/qmaskgenerator.cpp b/src/websockets/qmaskgenerator.cpp
index aa78f77..04f5e1e 100644
--- a/src/websockets/qmaskgenerator.cpp
+++ b/src/websockets/qmaskgenerator.cpp
@@ -41,7 +41,10 @@
/*!
\class QMaskGenerator
- The QMaskGenerator class provides an abstract base for custom 32-bit mask generators.
+
+ \inmodule QtWebSockets
+
+ \brief The QMaskGenerator class provides an abstract base for custom 32-bit mask generators.
The WebSockets specification as outlined in {http://tools.ietf.org/html/rfc6455}{RFC 6455}
requires that all communication from client to server must be masked. This is to prevent
@@ -61,6 +64,7 @@
Initializes the QMaskGenerator by seeding the randomizer.
When seed() is not called, it depends on the specific implementation of a subclass if
a default seed is used or no seed is used at all.
+ Returns \e true if seeding succeeds, otherwise false.
*/
/*!
@@ -75,7 +79,7 @@
QT_BEGIN_NAMESPACE
/*!
- Creates a new QMaskGenerator object.
+ Creates a new QMaskGenerator object with the given optional QObject \a parent.
*/
QMaskGenerator::QMaskGenerator(QObject *parent) :
QObject(parent)