Commit 16993019 authored by Jesper Pedersen's avatar Jesper Pedersen
Browse files

Include moc files in all .cpp files

This speed up recompilation, when all you do is edit a single header file
which has a Q_OBJECT in it.
parent 8c808511
Pipeline #195311 failed with stage
in 10 minutes and 14 seconds
......@@ -49,3 +49,5 @@ bool CategoryModel::hasData() const
{
return rowCount(QModelIndex()) != 0;
}
#include "moc_CategoryModel.cpp"
......@@ -53,3 +53,5 @@ void Client::disconnect()
m_socket = nullptr;
emit disconnected();
}
#include "moc_Client.cpp"
......@@ -60,3 +60,5 @@ void DiscoveryModel::resetImages()
}
} // namespace RemoteControl
#include "moc_DiscoveryModel.cpp"
......@@ -56,3 +56,5 @@ QString ImageDetails::age(const QString &category, const QString &item)
return (*res).age;
}
} // namespace RemoteControl
#include "moc_ImageDetails.cpp"
......@@ -91,3 +91,5 @@ void ImageStore::clientDeleted()
}
} // namespace RemoteControl
#include "moc_ImageStore.cpp"
......@@ -42,3 +42,5 @@ void MyImage::setImage(const QImage &image)
emit imageHeightChanged();
}
}
#include "moc_MyImage.cpp"
......@@ -101,3 +101,5 @@ void RemoteConnection::dataReceived()
}
}
}
#include "moc_RemoteConnection.cpp"
......@@ -90,3 +90,5 @@ void RemoteImage::requestImage()
}
update();
}
#include "moc_RemoteImage.cpp"
......@@ -277,3 +277,5 @@ void RemoteInterface::gotSearchResult(const SearchResult &result)
m_categoryItems->setImages(result.result);
}
}
#include "moc_RemoteInterface.cpp"
......@@ -112,3 +112,5 @@ int ScreenInfo::overviewSpacing() const
}
} // namespace RemoteControl
#include "moc_ScreenInfo.cpp"
......@@ -64,3 +64,5 @@ void Settings::setOverviewIconSize(double size)
}
} // namespace RemoteControl
#include "moc_Settings.cpp"
......@@ -44,3 +44,5 @@ int ThumbnailModel::indexOf(int imageId)
}
} // namespace RemoteControl
#include "moc_ThumbnailModel.cpp"
......@@ -116,3 +116,5 @@ void AnnotationDialog::AreaTagSelectDialog::moveToArea(QPoint areaTopLeft)
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_AreaTagSelectDialog.cpp"
......@@ -346,3 +346,5 @@ void AnnotationDialog::DateEdit::slotTextChanged(const QString &)
m_TextChanged = true;
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_DateEdit.cpp"
......@@ -25,3 +25,5 @@ void AnnotationDialog::DescriptionEdit::keyPressEvent(QKeyEvent *event)
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_DescriptionEdit.cpp"
......@@ -1763,3 +1763,5 @@ void AnnotationDialog::Dialog::mapLoadingFinished(bool mapHasImages, bool allIma
#endif
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_Dialog.cpp"
......@@ -562,3 +562,5 @@ float ImagePreview::distance(QPoint point1, QPoint point2)
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_ImagePreview.cpp"
......@@ -356,3 +356,5 @@ void AnnotationDialog::ImagePreviewWidget::showEvent(QShowEvent *)
setToolTip(m_delBut, i18nc("@info:tooltip", "Delete image"), "annotationdialog-delete-image");
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_ImagePreviewWidget.cpp"
......@@ -909,3 +909,5 @@ void AnnotationDialog::ListSelect::deselectTag(QString tag)
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_ListSelect.cpp"
......@@ -525,3 +525,5 @@ bool AnnotationDialog::ResizableFrame::isTidied() const
}
// vi:expandtab:tabstop=4 shiftwidth=4:
#include "moc_ResizableFrame.cpp"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment