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:
parent
7209a58dfd
commit
d005e3d7e5
@ -431,3 +431,5 @@ void QPrintDialog::open(QObject *receiver, const char *member)
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qabstractprintdialog.cpp"
|
||||
|
@ -752,4 +752,6 @@ int QPageSetupDialog::exec()
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qpagesetupdialog_unix_p.cpp"
|
||||
|
||||
#include "moc_qpagesetupdialog.cpp"
|
||||
|
@ -107,4 +107,6 @@ QPlatformPrinterSupport *QPlatformPrinterSupportPlugin::get()
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qplatformprintplugin.cpp"
|
||||
|
||||
#endif
|
||||
|
@ -261,3 +261,5 @@ QCUPSSupport::BannerPage QCupsJobWidget::endBannerPage() const
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#include "moc_qcupsjobwidget_p.cpp"
|
||||
|
Loading…
Reference in New Issue
Block a user