summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/components/formeditor/formwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/src/components/formeditor/formwindow.cpp')
-rw-r--r--tools/designer/src/components/formeditor/formwindow.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/designer/src/components/formeditor/formwindow.cpp b/tools/designer/src/components/formeditor/formwindow.cpp
index 631ca7c58b..15775f611e 100644
--- a/tools/designer/src/components/formeditor/formwindow.cpp
+++ b/tools/designer/src/components/formeditor/formwindow.cpp
@@ -1436,6 +1436,14 @@ struct ArrowKeyOperation {
int arrowKey;
};
+} // namespace
+
+QT_END_NAMESPACE
+Q_DECLARE_METATYPE(qdesigner_internal::ArrowKeyOperation)
+QT_BEGIN_NAMESPACE
+
+namespace qdesigner_internal {
+
QRect ArrowKeyOperation::apply(const QRect &rect) const
{
QRect r = rect;
@@ -2964,4 +2972,3 @@ QUndoStack *FormWindow::commandHistory() const
QT_END_NAMESPACE
-Q_DECLARE_METATYPE(qdesigner_internal::ArrowKeyOperation)