Replace Q_REGISTER_METATYPE in QAbstractSocket::stateChanged doc.
authorMitch Curtis <mitch.curtis@nokia.com>
Mon, 23 Jul 2012 14:06:38 +0000 (16:06 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Jul 2012 20:02:18 +0000 (22:02 +0200)
Should be Q_DECLARE_METATYPE.

Task-number: QTBUG-24692
Change-Id: I9c8b8d503fba254661e8f0d72855758d5d03ada1
Reviewed-by: Geir Vattekar <geir.vattekar@nokia.com>
src/network/socket/qabstractsocket.cpp

index c9f9bd2..6b4e48f 100644 (file)
     The \a socketState parameter is the new state.
 
     QAbstractSocket::SocketState is not a registered metatype, so for queued
-    connections, you will have to register it with Q_REGISTER_METATYPE() and
+    connections, you will have to register it with Q_DECLARE_METATYPE() and
     qRegisterMetaType().
 
     \sa state(), {Creating Custom Qt Types}