Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmlobjectorgadget.cpp
Go to the documentation of this file.
1
// Copyright (C) 2019 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant
4
5
#
include
"qqmlobjectorgadget_p.h"
6
7
QT_BEGIN_NAMESPACE
8
9
void
QQmlObjectOrGadget::metacall(QMetaObject::Call type,
int
index,
void
**argv)
const
10
{
11
if
(ptr.isNull()) {
12
_m->d.static_metacall(
nullptr
, type, index, argv);
13
}
14
else
if
(ptr.isT1()) {
15
QMetaObject::metacall(ptr.asT1(), type, index, argv);
16
}
17
else
{
18
const
QMetaObject *metaObject = _m;
19
QQmlMetaObject::resolveGadgetMethodOrPropertyIndex(type, &metaObject, &index);
20
metaObject->d.static_metacall(
reinterpret_cast
<QObject*>(ptr.asT2()), type, index, argv);
21
}
22
}
23
24
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
qml
qml
qqmlobjectorgadget.cpp
Generated on
for Qt by
1.18.0