QtNetwork: includemocs

Including moc files directly into their classes' TU tends to improve
codegen and enables extended compiler warnings, e.g. about unused
private functions or fields.

Pick-to: 6.3 6.2 5.15
Task-number: QTBUG-102886
Change-Id: Ie027419956d98c971429f2b4c7ae6f8f56c094f6
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Marc Mutz 2022-04-27 20:21:26 +02:00
parent d792e8d90b
commit c038fa9e77
4 changed files with 8 additions and 0 deletions

View File

@ -1129,3 +1129,5 @@ QDebug operator<<(QDebug s, const QNetworkCookie &cookie)
#endif
QT_END_NAMESPACE
#include "moc_qnetworkcookie.cpp"

View File

@ -1370,3 +1370,5 @@ QDataStream &operator>>(QDataStream &in, QHostAddress &address)
#endif //QT_NO_DATASTREAM
QT_END_NAMESPACE
#include "moc_qhostaddress.cpp"

View File

@ -1614,4 +1614,6 @@ QDebug operator<<(QDebug debug, const QNetworkProxyQuery &proxyQuery)
QT_END_NAMESPACE
#include "moc_qnetworkproxy.cpp"
#endif // QT_NO_NETWORKPROXY

View File

@ -395,3 +395,5 @@ QDebug operator<<(QDebug debug, const QSslError::SslError &error)
#endif
QT_END_NAMESPACE
#include "moc_qsslerror.cpp"