##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QPoint.h
39 lines | 1.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QPOINT_H
#define PYTHONQTWRAPPER_QPOINT_H
#include <qpoint.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdatastream.h>
#include <qpoint.h>
class PythonQtWrapper_QPoint : public QObject
{ Q_OBJECT
public:
public slots:
QPoint* new_QPoint();
QPoint* new_QPoint(int xpos, int ypos);
QPoint* new_QPoint(const QPoint& other) {
QPoint* a = new QPoint();
*((QPoint*)a) = other;
return a; }
void delete_QPoint(QPoint* obj) { delete obj; }
QPoint& operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p);
void setX(QPoint* theWrappedObject, int x);
QPoint& operator_add_assign(QPoint* theWrappedObject, const QPoint& p);
int x(QPoint* theWrappedObject) const;
QPoint& operator_multiply_assign(QPoint* theWrappedObject, qreal c);
void setY(QPoint* theWrappedObject, int y);
bool isNull(QPoint* theWrappedObject) const;
void writeTo(QPoint* theWrappedObject, QDataStream& arg__1);
int y(QPoint* theWrappedObject) const;
bool operator_equal(QPoint* theWrappedObject, const QPoint& p2);
QPoint& operator_divide_assign(QPoint* theWrappedObject, qreal c);
void readFrom(QPoint* theWrappedObject, QDataStream& arg__1);
int manhattanLength(QPoint* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QPOINT_H