summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2019-08-11 08:59:07 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-08-22 11:21:24 +0200
commitd97009a9f147af7f9785afb53df49e874aadd969 (patch)
treeeb110f800f8fd64b3461c94dc1fb90676059b9f8 /src/corelib/kernel/qobject.cpp
parent62015adadd17a46c32e350c657f244d8a7515863 (diff)
Remove obsolete API after qtdeclarative migrated
This is a follow-up to commit b7d073e9905bf9812ba96cecdcf6871a95517d30, which refactored memory allocation of QMetaCallEvent. Change-Id: I363256c80ee941b545e6f9c659c65556fff5c907 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
-rw-r--r--src/corelib/kernel/qobject.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp
index 4a26e9cdc0..9251a3c05f 100644
--- a/src/corelib/kernel/qobject.cpp
+++ b/src/corelib/kernel/qobject.cpp
@@ -527,28 +527,6 @@ inline void QMetaCallEvent::allocArgs()
/*!
\internal
- Only used by QtDeclarative - to be removed when migrated.
- */
-QMetaCallEvent::QMetaCallEvent(ushort method_offset, ushort method_relative,
- QObjectPrivate::StaticMetaCallFunction callFunction,
- const QObject *sender, int signalId,
- int nargs, int *types_, void **args_)
- : QAbstractMetaCallEvent(sender, signalId),
- d({nullptr, nullptr, callFunction, nargs, method_offset, method_relative}),
- prealloc_()
-{
- allocArgs();
- for (int arg = 0; arg < nargs; ++arg) {
- types()[arg] = types_[arg];
- args()[arg] = args_[arg];
- }
- free(types_);
- free(args_);
-}
-
-/*!
- \internal
-
Used for blocking queued connections, just passes \a args through without
allocating any memory.
*/