From d499d04a17b75fa391832e6595f717b0f815a901 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Mon, 23 Jul 2012 16:06:38 +0200 Subject: Replace Q_REGISTER_METATYPE in QAbstractSocket::stateChanged doc. Should be Q_DECLARE_METATYPE. Task-number: QTBUG-24692 Change-Id: I9c8b8d503fba254661e8f0d72855758d5d03ada1 Reviewed-by: Geir Vattekar --- src/network/socket/qabstractsocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network') diff --git a/src/network/socket/qabstractsocket.cpp b/src/network/socket/qabstractsocket.cpp index c9f9bd2b42..6b4e48fe62 100644 --- a/src/network/socket/qabstractsocket.cpp +++ b/src/network/socket/qabstractsocket.cpp @@ -223,7 +223,7 @@ 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} -- cgit v1.2.3