added more cpp files for faster compile speeds

removed many obsolte elements
many improvements and fixes
This commit is contained in:
2018-07-20 15:00:43 +02:00
parent 7ee4e122e8
commit 5d002c3f2b
43 changed files with 1257 additions and 1361 deletions

View File

@@ -15,11 +15,13 @@ void MetaEditModel::setSource(Floorplan::Meta* meta) {
endResetModel();
}
int MetaEditModel::rowCount(const QModelIndex &parent) const {
int MetaEditModel::rowCount(const QModelIndex& parent) const {
(void) parent;
return (meta) ? (meta->size()) : (0);
}
int MetaEditModel::columnCount(const QModelIndex &parent) const {
int MetaEditModel::columnCount(const QModelIndex& parent) const {
(void) parent;
return 2;
}