pysidemetafunction_p.h 580 B

12345678910111213141516171819202122232425
  1. // Copyright (C) 2016 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. #ifndef PYSIDE_METAFUNCTION_P_H
  4. #define PYSIDE_METAFUNCTION_P_H
  5. #include <sbkpython.h>
  6. #include <QtCore/qtconfigmacros.h>
  7. QT_BEGIN_NAMESPACE
  8. class QObject;
  9. QT_END_NAMESPACE
  10. namespace PySide::MetaFunction {
  11. void init(PyObject *module);
  12. /**
  13. * Does a Qt metacall on a QObject
  14. */
  15. bool call(QObject *self, int methodIndex, PyObject *args, PyObject **retVal = nullptr);
  16. } //namespace PySide::MetaFunction
  17. #endif