QtSql: 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: Id758d672710ba998595824645e3e16e00537781d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
82cf06fc21
commit
e21df99708
@ -844,3 +844,5 @@ int QSqlDriver::maximumIdentifierLength(QSqlDriver::IdentifierType type) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#include "moc_qsqldriver.cpp"
|
||||||
|
@ -100,3 +100,5 @@ QSqlDriverPlugin::~QSqlDriverPlugin()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#include "moc_qsqldriverplugin.cpp"
|
||||||
|
@ -721,3 +721,5 @@ QModelIndex QSqlQueryModel::indexInQuery(const QModelIndex &item) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#include "moc_qsqlquerymodel.cpp"
|
||||||
|
@ -792,3 +792,5 @@ bool QSqlRelationalTableModel::removeColumns(int column, int count, const QModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#include "moc_qsqlrelationaltablemodel.cpp"
|
||||||
|
@ -1464,3 +1464,5 @@ QSqlRecord QSqlTableModel::primaryValues(int row) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
|
#include "moc_qsqltablemodel.cpp"
|
||||||
|
Loading…
Reference in New Issue
Block a user