PythonQtWrapper_QBitArray.h
47 lines
| 2.0 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QBITARRAY_H | ||
#define PYTHONQTWRAPPER_QBITARRAY_H | ||||
#include <qbitarray.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbitarray.h> | ||||
#include <qdatastream.h> | ||||
class PythonQtWrapper_QBitArray : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QBitArray* new_QBitArray(); | ||||
QBitArray* new_QBitArray(const QBitArray& other); | ||||
QBitArray* new_QBitArray(int size, bool val = false); | ||||
void delete_QBitArray(QBitArray* obj) { delete obj; } | ||||
florianlink
|
r24 | void resize(QBitArray* theWrappedObject, int size); | ||
florianlink
|
r73 | void clear(QBitArray* theWrappedObject); | ||
florianlink
|
r28 | QBitArray operator_negate(QBitArray* theWrappedObject) const; | ||
florianlink
|
r73 | void clearBit(QBitArray* theWrappedObject, int i); | ||
void writeTo(QBitArray* theWrappedObject, QDataStream& arg__1); | ||||
bool operator_equal(QBitArray* theWrappedObject, const QBitArray& a) const; | ||||
florianlink
|
r24 | bool at(QBitArray* theWrappedObject, int i) const; | ||
florianlink
|
r73 | QBitArray* operator_xor_assign(QBitArray* theWrappedObject, const QBitArray& arg__1); | ||
void readFrom(QBitArray* theWrappedObject, QDataStream& arg__1); | ||||
void truncate(QBitArray* theWrappedObject, int pos); | ||||
bool toggleBit(QBitArray* theWrappedObject, int i); | ||||
QBitArray* operator_assign(QBitArray* theWrappedObject, const QBitArray& other); | ||||
QBitArray* operator_or_assign(QBitArray* theWrappedObject, const QBitArray& arg__1); | ||||
florianlink
|
r28 | int size(QBitArray* theWrappedObject) const; | ||
bool fill(QBitArray* theWrappedObject, bool val, int size = -1); | ||||
florianlink
|
r73 | int count(QBitArray* theWrappedObject, bool on) const; | ||
florianlink
|
r28 | bool isEmpty(QBitArray* theWrappedObject) const; | ||
florianlink
|
r24 | int count(QBitArray* theWrappedObject) const; | ||
florianlink
|
r73 | QBitArray* operator_and_assign(QBitArray* theWrappedObject, const QBitArray& arg__1); | ||
florianlink
|
r28 | bool isNull(QBitArray* theWrappedObject) const; | ||
void setBit(QBitArray* theWrappedObject, int i, bool val); | ||||
void setBit(QBitArray* theWrappedObject, int i); | ||||
florianlink
|
r73 | bool testBit(QBitArray* theWrappedObject, int i) const; | ||
florianlink
|
r24 | void fill(QBitArray* theWrappedObject, bool val, int first, int last); | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QBITARRAY_H | ||||