Initial commit

This commit is contained in:
2026-04-29 07:19:21 +03:00
commit 9a8cdfa08a
5964 changed files with 1194660 additions and 0 deletions
@@ -0,0 +1,40 @@
// Copyright (C) 2024 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 PYSIDEQSLOTOBJECT_P_H
#define PYSIDEQSLOTOBJECT_P_H
#include "pysidemacros.h"
#include <sbkpython.h>
#include <QtCore/qobject.h>
#include <QtCore/qobjectdefs.h>
#include <memory>
namespace PySide
{
class DynamicSlot;
class PySideQSlotObject : public QtPrivate::QSlotObjectBase
{
Q_DISABLE_COPY_MOVE(PySideQSlotObject)
public:
explicit PySideQSlotObject(PyObject *callable, const QByteArrayList &parameterTypes,
const char *returnType = nullptr);
~PySideQSlotObject();
private:
static void impl(int which, QSlotObjectBase *this_, QObject *receiver, void **args, bool *ret);
void call(void **args);
std::unique_ptr<DynamicSlot> m_dynamicSlot;
const QByteArrayList m_parameterTypes;
const char *m_returnType;
};
} // namespace PySide
#endif // PYSIDEQSLOTOBJECT_P_H