##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QLine.h
48 lines | 1.7 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QLINE_H
#define PYTHONQTWRAPPER_QLINE_H
#include <qline.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qdatastream.h>
#include <qline.h>
#include <qpoint.h>
class PythonQtWrapper_QLine : public QObject
{ Q_OBJECT
public:
public slots:
QLine* new_QLine();
QLine* new_QLine(const QPoint& pt1, const QPoint& pt2);
QLine* new_QLine(int x1, int y1, int x2, int y2);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QLine* new_QLine(const QLine& other) {
QLine* a = new QLine();
*((QLine*)a) = other;
return a; }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QLine(QLine* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int y1(QLine* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void translate(QLine* theWrappedObject, const QPoint& p);
florianlink
upgraded wrappers to current generator version...
r28 QLine translated(QLine* theWrappedObject, const QPoint& p) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setP2(QLine* theWrappedObject, const QPoint& p2);
bool isNull(QLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 void setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int dy(QLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QPoint p2(QLine* theWrappedObject) const;
int y2(QLine* theWrappedObject) const;
int dx(QLine* theWrappedObject) const;
void setP1(QLine* theWrappedObject, const QPoint& p1);
QLine translated(QLine* theWrappedObject, int dx, int dy) const;
void setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void writeTo(QLine* theWrappedObject, QDataStream& arg__1);
florianlink
upgraded wrappers to current generator version...
r28 void translate(QLine* theWrappedObject, int dx, int dy);
int x1(QLine* theWrappedObject) const;
void readFrom(QLine* theWrappedObject, QDataStream& arg__1);
int x2(QLine* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPoint p1(QLine* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool operator_equal(QLine* theWrappedObject, const QLine& d) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QLINE_H