All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent ef997f2259
commit 9fe130cd73
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -40,7 +40,8 @@ class QPrinter;
class QWidget;
QT_END_NAMESPACE
namespace Gui {
namespace Gui
{
class GuiExport PythonWrapper
{
@@ -64,18 +65,18 @@ public:
Py::Object fromQAction(QAction*);
Py::Object fromQPrinter(QPrinter*);
Py::Object fromQObject(QObject*, const char* className=nullptr);
Py::Object fromQWidget(QWidget*, const char* className=nullptr);
Py::Object fromQObject(QObject*, const char* className = nullptr);
Py::Object fromQWidget(QWidget*, const char* className = nullptr);
const char* getWrapperName(QObject*) const;
Py::Object fromQImage(const QImage&);
QImage *toQImage(PyObject *pyobj);
QImage* toQImage(PyObject* pyobj);
/*!
Create a Python wrapper for the icon. The icon must be created on the heap
and the Python wrapper takes ownership of it.
*/
Py::Object fromQIcon(const QIcon*);
QIcon *toQIcon(PyObject *pyobj);
QIcon* toQIcon(PyObject* pyobj);
Py::Object fromQDir(const QDir&);
QDir* toQDir(PyObject* pyobj);
static void createChildrenNameAttributes(PyObject* root, QObject* object);
@@ -86,6 +87,6 @@ private:
Py::Object tryToStandardButton(qsizetype value);
};
} // namespace Gui
} // namespace Gui
#endif // GUI_PYTHONWRAPPER_H
#endif // GUI_PYTHONWRAPPER_H