All: Reformat according to new standard
This commit is contained in:
committed by
Kacper Donat
parent
ef997f2259
commit
9fe130cd73
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user