@@ -80,7 +80,7 @@ void QHttpConnection::socketDisconnected()
80
80
return ;
81
81
82
82
m_request->setSuccessful (false );
83
- emit m_request->end ();
83
+ Q_EMIT m_request->end ();
84
84
}
85
85
}
86
86
@@ -94,7 +94,7 @@ void QHttpConnection::updateWriteCount(qint64 count)
94
94
{
95
95
m_transmitLen = 0 ;
96
96
m_transmitPos = 0 ;
97
- emit allBytesWritten ();
97
+ Q_EMIT allBytesWritten ();
98
98
}
99
99
}
100
100
@@ -219,7 +219,7 @@ int QHttpConnection::HeadersComplete(http_parser *parser)
219
219
connect (response, SIGNAL (done ()), theConnection, SLOT (responseDone ()));
220
220
221
221
// we are good to go!
222
- emit theConnection->newRequest (theConnection->m_request , response);
222
+ Q_EMIT theConnection->newRequest (theConnection->m_request , response);
223
223
return 0 ;
224
224
}
225
225
@@ -230,7 +230,7 @@ int QHttpConnection::MessageComplete(http_parser *parser)
230
230
Q_ASSERT (theConnection->m_request );
231
231
232
232
theConnection->m_request ->setSuccessful (true );
233
- emit theConnection->m_request ->end ();
233
+ Q_EMIT theConnection->m_request ->end ();
234
234
return 0 ;
235
235
}
236
236
@@ -282,7 +282,7 @@ int QHttpConnection::Body(http_parser *parser, const char *at, size_t length)
282
282
QHttpConnection *theConnection = static_cast <QHttpConnection *>(parser->data );
283
283
Q_ASSERT (theConnection->m_request );
284
284
285
- emit theConnection->m_request ->data (QByteArray (at, length));
285
+ Q_EMIT theConnection->m_request ->data (QByteArray (at, length));
286
286
return 0 ;
287
287
}
288
288
0 commit comments