QtPrintSupport: 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: Ic8ceebfa270d0831a8598f98aa255acfc17e953b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Marc Mutz 2022-04-27 20:21:26 +02:00
parent 7209a58dfd
commit d005e3d7e5
4 changed files with 8 additions and 0 deletions

View File

@ -431,3 +431,5 @@ void QPrintDialog::open(QObject *receiver, const char *member)
}
QT_END_NAMESPACE
#include "moc_qabstractprintdialog.cpp"

View File

@ -752,4 +752,6 @@ int QPageSetupDialog::exec()
QT_END_NAMESPACE
#include "moc_qpagesetupdialog_unix_p.cpp"
#include "moc_qpagesetupdialog.cpp"

View File

@ -107,4 +107,6 @@ QPlatformPrinterSupport *QPlatformPrinterSupportPlugin::get()
QT_END_NAMESPACE
#include "moc_qplatformprintplugin.cpp"
#endif

View File

@ -261,3 +261,5 @@ QCUPSSupport::BannerPage QCupsJobWidget::endBannerPage() const
}
QT_END_NAMESPACE
#include "moc_qcupsjobwidget_p.cpp"