blob: 9852301ee56e0248ec642401da9cceeb2dcec8cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef PYSIDE_SLOT_P_H
#define PYSIDE_SLOT_P_H
#include <sbkpython.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qlist.h>
namespace PySide::Slot {
struct Data {
QByteArray signature;
QByteArray resultType;
QByteArray tag; // QMetaMethod::tag()
};
// This list is set as an attribute named PySide::PySideMagicName::slot_list_attr()
// by the decorator for usage by MetaObjectBuilder.
using DataList = QList<Data>;
DataList *dataListFromCapsule(PyObject *capsule);
void init(PyObject* module);
} // namespace PySide::Slot
#endif // PYSIDE_SLOT_P_H
|