##// 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_QTextStream.h
96 lines | 5.3 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QTEXTSTREAM_H
#define PYTHONQTWRAPPER_QTEXTSTREAM_H
#include <qtextstream.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 <qbytearray.h>
#include <qiodevice.h>
#include <qtextcodec.h>
#include <qtextstream.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QTextStream : public QTextStream
{
public:
PythonQtShell_QTextStream():QTextStream(),_wrapper(NULL) {};
PythonQtShell_QTextStream(QIODevice* device):QTextStream(device),_wrapper(NULL) {};
PythonQtShell_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly):QTextStream(array, openMode),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QTextStream : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RealNumberNotation NumberFlag FieldAlignment Status )
enum RealNumberNotation{
SmartNotation = QTextStream::SmartNotation, FixedNotation = QTextStream::FixedNotation, ScientificNotation = QTextStream::ScientificNotation};
enum NumberFlag{
ShowBase = QTextStream::ShowBase, ForcePoint = QTextStream::ForcePoint, ForceSign = QTextStream::ForceSign, UppercaseBase = QTextStream::UppercaseBase, UppercaseDigits = QTextStream::UppercaseDigits};
enum FieldAlignment{
AlignLeft = QTextStream::AlignLeft, AlignRight = QTextStream::AlignRight, AlignCenter = QTextStream::AlignCenter, AlignAccountingStyle = QTextStream::AlignAccountingStyle};
enum Status{
Ok = QTextStream::Ok, ReadPastEnd = QTextStream::ReadPastEnd, ReadCorruptData = QTextStream::ReadCorruptData};
public slots:
QTextStream* new_QTextStream();
QTextStream* new_QTextStream(QIODevice* device);
QTextStream* new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode = QIODevice::ReadOnly);
void delete_QTextStream(QTextStream* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& writeShort(QTextStream* theWrappedObject, signed short i);
QString read(QTextStream* theWrappedObject, qint64 maxlen);
void flush(QTextStream* theWrappedObject);
void setIntegerBase(QTextStream* theWrappedObject, int base);
QTextStream::NumberFlags numberFlags(QTextStream* theWrappedObject) const;
QTextStream& writeDouble(QTextStream* theWrappedObject, double f);
void setPadChar(QTextStream* theWrappedObject, QChar ch);
void setRealNumberPrecision(QTextStream* theWrappedObject, int precision);
QTextStream& readLongLong(QTextStream* theWrappedObject, qlonglong& i);
void setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation);
QTextStream& readFloat(QTextStream* theWrappedObject, float& f);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTextStream::RealNumberNotation realNumberNotation(QTextStream* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& writeByteArray(QTextStream* theWrappedObject, const QByteArray& array);
QTextStream& readUInt(QTextStream* theWrappedObject, unsigned int& i);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setCodec(QTextStream* theWrappedObject, QTextCodec* codec);
florianlink
upgraded wrappers to current generator version...
r28 void setDevice(QTextStream* theWrappedObject, QIODevice* device);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setCodec(QTextStream* theWrappedObject, const char* codecName);
florianlink
upgraded wrappers to current generator version...
r28 void setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 qint64 pos(QTextStream* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& writeInt(QTextStream* theWrappedObject, signed int i);
void setStatus(QTextStream* theWrappedObject, QTextStream::Status status);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTextStream::Status status(QTextStream* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QIODevice* device(QTextStream* theWrappedObject) const;
bool atEnd(QTextStream* theWrappedObject) const;
QTextStream& writeBoolean(QTextStream* theWrappedObject, QBool b);
void reset(QTextStream* theWrappedObject);
void setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool generateByteOrderMark(QTextStream* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& writeFloat(QTextStream* theWrappedObject, float f);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTextCodec* codec(QTextStream* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& readDouble(QTextStream* theWrappedObject, double& f);
void skipWhiteSpace(QTextStream* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int integerBase(QTextStream* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& readByte(QTextStream* theWrappedObject, char& ch);
QTextStream& readShort(QTextStream* theWrappedObject, signed short& i);
QString readLine(QTextStream* theWrappedObject, qint64 maxlen = 0);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTextStream& writeString(QTextStream* theWrappedObject, const QString& s);
florianlink
upgraded wrappers to current generator version...
r28 int realNumberPrecision(QTextStream* theWrappedObject) const;
int fieldWidth(QTextStream* theWrappedObject) const;
bool seek(QTextStream* theWrappedObject, qint64 pos);
bool autoDetectUnicode(QTextStream* theWrappedObject) const;
QTextStream::FieldAlignment fieldAlignment(QTextStream* theWrappedObject) const;
QChar padChar(QTextStream* theWrappedObject) const;
void resetStatus(QTextStream* theWrappedObject);
void setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QTextStream& readInt(QTextStream* theWrappedObject, signed int& i);
florianlink
upgraded wrappers to current generator version...
r28 QTextStream& writeByte(QTextStream* theWrappedObject, char ch);
QTextStream& readUShort(QTextStream* theWrappedObject, unsigned short& i);
QString readAll(QTextStream* theWrappedObject);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment);
void setFieldWidth(QTextStream* theWrappedObject, int width);
};
#endif // PYTHONQTWRAPPER_QTEXTSTREAM_H