#include "PythonQtWrapper_QTextStream.h" #include #include #include #include #include #include #include #include QTextStream* PythonQtWrapper_QTextStream::new_QTextStream() { return new PythonQtShell_QTextStream(); } QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(QIODevice* device) { return new PythonQtShell_QTextStream(device); } QTextStream* PythonQtWrapper_QTextStream::new_QTextStream(const QByteArray& array, QIODevice::OpenMode openMode) { return new PythonQtShell_QTextStream(array, openMode); } QTextCodec* PythonQtWrapper_QTextStream::codec(QTextStream* theWrappedObject) const { return ( theWrappedObject->codec()); } void PythonQtWrapper_QTextStream::skipWhiteSpace(QTextStream* theWrappedObject) { ( theWrappedObject->skipWhiteSpace()); } bool PythonQtWrapper_QTextStream::generateByteOrderMark(QTextStream* theWrappedObject) const { return ( theWrappedObject->generateByteOrderMark()); } void PythonQtWrapper_QTextStream::setFieldAlignment(QTextStream* theWrappedObject, QTextStream::FieldAlignment alignment) { ( theWrappedObject->setFieldAlignment(alignment)); } void PythonQtWrapper_QTextStream::setGenerateByteOrderMark(QTextStream* theWrappedObject, bool generate) { ( theWrappedObject->setGenerateByteOrderMark(generate)); } QTextStream* PythonQtWrapper_QTextStream::readShort(QTextStream* theWrappedObject, signed short& i) { return &( (*theWrappedObject) >>i); } int PythonQtWrapper_QTextStream::fieldWidth(QTextStream* theWrappedObject) const { return ( theWrappedObject->fieldWidth()); } QTextStream* PythonQtWrapper_QTextStream::writeFloat(QTextStream* theWrappedObject, float f) { return &( (*theWrappedObject) <seek(pos)); } bool PythonQtWrapper_QTextStream::autoDetectUnicode(QTextStream* theWrappedObject) const { return ( theWrappedObject->autoDetectUnicode()); } QTextStream::FieldAlignment PythonQtWrapper_QTextStream::fieldAlignment(QTextStream* theWrappedObject) const { return ( theWrappedObject->fieldAlignment()); } void PythonQtWrapper_QTextStream::setNumberFlags(QTextStream* theWrappedObject, QTextStream::NumberFlags flags) { ( theWrappedObject->setNumberFlags(flags)); } void PythonQtWrapper_QTextStream::setPadChar(QTextStream* theWrappedObject, QChar ch) { ( theWrappedObject->setPadChar(ch)); } int PythonQtWrapper_QTextStream::integerBase(QTextStream* theWrappedObject) const { return ( theWrappedObject->integerBase()); } bool PythonQtWrapper_QTextStream::atEnd(QTextStream* theWrappedObject) const { return ( theWrappedObject->atEnd()); } QTextStream* PythonQtWrapper_QTextStream::writeShort(QTextStream* theWrappedObject, signed short i) { return &( (*theWrappedObject) <read(maxlen)); } QTextStream* PythonQtWrapper_QTextStream::writeBoolean(QTextStream* theWrappedObject, QBool b) { return &( (*theWrappedObject) <readLine(maxlen)); } QTextStream* PythonQtWrapper_QTextStream::readUShort(QTextStream* theWrappedObject, unsigned short& i) { return &( (*theWrappedObject) >>i); } void PythonQtWrapper_QTextStream::resetStatus(QTextStream* theWrappedObject) { ( theWrappedObject->resetStatus()); } QIODevice* PythonQtWrapper_QTextStream::device(QTextStream* theWrappedObject) const { return ( theWrappedObject->device()); } QTextStream* PythonQtWrapper_QTextStream::readLongLong(QTextStream* theWrappedObject, qlonglong& i) { return &( (*theWrappedObject) >>i); } QChar PythonQtWrapper_QTextStream::padChar(QTextStream* theWrappedObject) const { return ( theWrappedObject->padChar()); } QTextStream* PythonQtWrapper_QTextStream::writeInt(QTextStream* theWrappedObject, signed int i) { return &( (*theWrappedObject) <setFieldWidth(width)); } QTextStream* PythonQtWrapper_QTextStream::writeString(QTextStream* theWrappedObject, const QString& s) { return &( (*theWrappedObject) <flush()); } QString PythonQtWrapper_QTextStream::readAll(QTextStream* theWrappedObject) { return ( theWrappedObject->readAll()); } QTextStream* PythonQtWrapper_QTextStream::writeByte(QTextStream* theWrappedObject, char ch) { return &( (*theWrappedObject) <numberFlags()); } QTextStream* PythonQtWrapper_QTextStream::readUInt(QTextStream* theWrappedObject, unsigned int& i) { return &( (*theWrappedObject) >>i); } void PythonQtWrapper_QTextStream::setIntegerBase(QTextStream* theWrappedObject, int base) { ( theWrappedObject->setIntegerBase(base)); } QTextStream::RealNumberNotation PythonQtWrapper_QTextStream::realNumberNotation(QTextStream* theWrappedObject) const { return ( theWrappedObject->realNumberNotation()); } void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, QTextCodec* codec) { ( theWrappedObject->setCodec(codec)); } int PythonQtWrapper_QTextStream::realNumberPrecision(QTextStream* theWrappedObject) const { return ( theWrappedObject->realNumberPrecision()); } void PythonQtWrapper_QTextStream::setCodec(QTextStream* theWrappedObject, const char* codecName) { ( theWrappedObject->setCodec(codecName)); } QTextStream* PythonQtWrapper_QTextStream::writeByteArray(QTextStream* theWrappedObject, const QByteArray& array) { return &( (*theWrappedObject) <>f); } void PythonQtWrapper_QTextStream::setStatus(QTextStream* theWrappedObject, QTextStream::Status status) { ( theWrappedObject->setStatus(status)); } QTextStream* PythonQtWrapper_QTextStream::writeDouble(QTextStream* theWrappedObject, double f) { return &( (*theWrappedObject) <pos()); } void PythonQtWrapper_QTextStream::setDevice(QTextStream* theWrappedObject, QIODevice* device) { ( theWrappedObject->setDevice(device)); } QTextStream* PythonQtWrapper_QTextStream::readFloat(QTextStream* theWrappedObject, float& f) { return &( (*theWrappedObject) >>f); } QTextStream::Status PythonQtWrapper_QTextStream::status(QTextStream* theWrappedObject) const { return ( theWrappedObject->status()); } void PythonQtWrapper_QTextStream::setAutoDetectUnicode(QTextStream* theWrappedObject, bool enabled) { ( theWrappedObject->setAutoDetectUnicode(enabled)); } void PythonQtWrapper_QTextStream::setRealNumberNotation(QTextStream* theWrappedObject, QTextStream::RealNumberNotation notation) { ( theWrappedObject->setRealNumberNotation(notation)); } QTextStream* PythonQtWrapper_QTextStream::readInt(QTextStream* theWrappedObject, signed int& i) { return &( (*theWrappedObject) >>i); } void PythonQtWrapper_QTextStream::reset(QTextStream* theWrappedObject) { ( theWrappedObject->reset()); } void PythonQtWrapper_QTextStream::setRealNumberPrecision(QTextStream* theWrappedObject, int precision) { ( theWrappedObject->setRealNumberPrecision(precision)); } QTextStream* PythonQtWrapper_QTextStream::readByte(QTextStream* theWrappedObject, char& ch) { return &( (*theWrappedObject) >>ch); }