API reference - Class QTextStreamNotation used in Ruby API documentation Description: Binding of QTextStream Class hierarchy: QTextStream Sub-classes: FieldAlignment, NumberFlag, RealNumberNotation, Status
Public constructors
Public methods
Public static methods and constants
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[static,const] new QTextStream_FieldAlignment ptr AlignAccountingStyleDescription: Enum constant QTextStream::AlignAccountingStyle [static,const] new QTextStream_FieldAlignment ptr AlignCenterDescription: Enum constant QTextStream::AlignCenter [static,const] new QTextStream_FieldAlignment ptr AlignLeftDescription: Enum constant QTextStream::AlignLeft [static,const] new QTextStream_FieldAlignment ptr AlignRightDescription: Enum constant QTextStream::AlignRight [static,const] new QTextStream_RealNumberNotation ptr FixedNotationDescription: Enum constant QTextStream::FixedNotation [static,const] new QTextStream_NumberFlag ptr ForcePointDescription: Enum constant QTextStream::ForcePoint [static,const] new QTextStream_NumberFlag ptr ForceSignDescription: Enum constant QTextStream::ForceSign [static,const] new QTextStream_Status ptr OkDescription: Enum constant QTextStream::Ok [static,const] new QTextStream_Status ptr ReadCorruptDataDescription: Enum constant QTextStream::ReadCorruptData [static,const] new QTextStream_Status ptr ReadPastEndDescription: Enum constant QTextStream::ReadPastEnd [static,const] new QTextStream_RealNumberNotation ptr ScientificNotationDescription: Enum constant QTextStream::ScientificNotation [static,const] new QTextStream_NumberFlag ptr ShowBaseDescription: Enum constant QTextStream::ShowBase [static,const] new QTextStream_RealNumberNotation ptr SmartNotationDescription: Enum constant QTextStream::SmartNotation [static,const] new QTextStream_NumberFlag ptr UppercaseBaseDescription: Enum constant QTextStream::UppercaseBase [static,const] new QTextStream_NumberFlag ptr UppercaseDigitsDescription: Enum constant QTextStream::UppercaseDigits void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [const] bool atEndDescription: Method bool QTextStream::atEnd() [const] bool autoDetectUnicodeDescription: Method bool QTextStream::autoDetectUnicode() Python specific notes:The object exposes a readable attribute 'autoDetectUnicode'. This is the getter. void autoDetectUnicode=(bool enabled)Description: Method void QTextStream::setAutoDetectUnicode(bool enabled) Python specific notes:The object exposes a writable attribute 'autoDetectUnicode'. This is the setter. [const] QTextCodec ptr codecDescription: Method QTextCodec *QTextStream::codec() Python specific notes:The object exposes a readable attribute 'codec'. This is the getter. void codec=(QTextCodec ptr codec)Description: Method void QTextStream::setCodec(QTextCodec *codec) Python specific notes:The object exposes a writable attribute 'codec'. This is the setter. void codec=(string codecName)Description: Method void QTextStream::setCodec(const char *codecName) Python specific notes:The object exposes a writable attribute 'codec'. This is the setter. void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [const] QIODevice ptr deviceDescription: Method QIODevice *QTextStream::device() Python specific notes:The object exposes a readable attribute 'device'. This is the getter. void device=(QIODevice ptr device)Description: Method void QTextStream::setDevice(QIODevice *device) Python specific notes:The object exposes a writable attribute 'device'. This is the setter. [const] QTextStream_FieldAlignment fieldAlignmentDescription: Method QTextStream::FieldAlignment QTextStream::fieldAlignment() Python specific notes:The object exposes a readable attribute 'fieldAlignment'. This is the getter. void fieldAlignment=(const QTextStream_FieldAlignment alignment)Description: Method void QTextStream::setFieldAlignment(QTextStream::FieldAlignment alignment) Python specific notes:The object exposes a writable attribute 'fieldAlignment'. This is the setter. [const] int fieldWidthDescription: Method int QTextStream::fieldWidth() Python specific notes:The object exposes a readable attribute 'fieldWidth'. This is the getter. void fieldWidth=(int width)Description: Method void QTextStream::setFieldWidth(int width) Python specific notes:The object exposes a writable attribute 'fieldWidth'. This is the setter. void flushDescription: Method void QTextStream::flush() [const] bool generateByteOrderMarkDescription: Method bool QTextStream::generateByteOrderMark() Python specific notes:The object exposes a readable attribute 'generateByteOrderMark'. This is the getter. void generateByteOrderMark=(bool generate)Description: Method void QTextStream::setGenerateByteOrderMark(bool generate) Python specific notes:The object exposes a writable attribute 'generateByteOrderMark'. This is the setter. [const] int integerBaseDescription: Method int QTextStream::integerBase() Python specific notes:The object exposes a readable attribute 'integerBase'. This is the getter. void integerBase=(int base)Description: Method void QTextStream::setIntegerBase(int base) Python specific notes:The object exposes a writable attribute 'integerBase'. This is the setter. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [const] QLocale localeDescription: Method QLocale QTextStream::locale() Python specific notes:The object exposes a readable attribute 'locale'. This is the getter. void locale=(const QLocale locale)Description: Method void QTextStream::setLocale(const QLocale &locale) Python specific notes:The object exposes a writable attribute 'locale'. This is the setter. [static] new QTextStream newDescription: Constructor QTextStream::QTextStream() This method creates an object of class QTextStream. Python specific notes:This method is the default initializer of the object [static] new QTextStream new(QIODevice ptr device)Description: Constructor QTextStream::QTextStream(QIODevice *device) This method creates an object of class QTextStream. Python specific notes:This method is the default initializer of the object [static] new QTextStream new(string ptr string,const QIODevice_QFlags_OpenModeFlag openMode = QIODevice::ReadWrite)Description: Constructor QTextStream::QTextStream(QString *string, QFlags<QIODevice::OpenModeFlag> openMode) This method creates an object of class QTextStream. Python specific notes:This method is the default initializer of the object [const] QTextStream_QFlags_NumberFlag numberFlagsDescription: Method QFlags<QTextStream::NumberFlag> QTextStream::numberFlags() Python specific notes:The object exposes a readable attribute 'numberFlags'. This is the getter. void numberFlags=(const QTextStream_QFlags_NumberFlag flags)Description: Method void QTextStream::setNumberFlags(QFlags<QTextStream::NumberFlag> flags) Python specific notes:The object exposes a writable attribute 'numberFlags'. This is the setter. [const] unsigned int padCharDescription: Method QChar QTextStream::padChar() Python specific notes:The object exposes a readable attribute 'padChar'. This is the getter. void padChar=(unsigned int ch)Description: Method void QTextStream::setPadChar(QChar ch) Python specific notes:The object exposes a writable attribute 'padChar'. This is the setter. [const] long long posDescription: Method qint64 QTextStream::pos() QTextStream ptr put_ba(string arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_d(double arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_f(float arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_i(int arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_ll(long long arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_qc(unsigned int arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_s(short arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_s(string arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_ui(unsigned int arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_ull(unsigned long long arg1)Description: Unambiguous adaptation of the corresponding operator<< QTextStream ptr put_us(unsigned short arg1)Description: Unambiguous adaptation of the corresponding operator<< string read(long long maxlen)Description: Method QString QTextStream::read(qint64 maxlen) string readAllDescription: Method QString QTextStream::readAll() string readLine(long long maxlen = 0)Description: Method QString QTextStream::readLine(qint64 maxlen) string read_baDescription: Unambiguous adaptation of the corresponding operator>> double read_dDescription: Unambiguous adaptation of the corresponding operator>> float read_fDescription: Unambiguous adaptation of the corresponding operator>> int read_iDescription: Unambiguous adaptation of the corresponding operator>> long long read_llDescription: Unambiguous adaptation of the corresponding operator>> unsigned int read_qcDescription: Unambiguous adaptation of the corresponding operator>> short read_sDescription: Unambiguous adaptation of the corresponding operator>> string read_sDescription: Unambiguous adaptation of the corresponding operator>> unsigned int read_uiDescription: Unambiguous adaptation of the corresponding operator>> unsigned long long read_ullDescription: Unambiguous adaptation of the corresponding operator>> unsigned short read_usDescription: Unambiguous adaptation of the corresponding operator>> [const] QTextStream_RealNumberNotation realNumberNotationDescription: Method QTextStream::RealNumberNotation QTextStream::realNumberNotation() Python specific notes:The object exposes a readable attribute 'realNumberNotation'. This is the getter. void realNumberNotation=(const QTextStream_RealNumberNotation notation)Description: Method void QTextStream::setRealNumberNotation(QTextStream::RealNumberNotation notation) Python specific notes:The object exposes a writable attribute 'realNumberNotation'. This is the setter. [const] int realNumberPrecisionDescription: Method int QTextStream::realNumberPrecision() Python specific notes:The object exposes a readable attribute 'realNumberPrecision'. This is the getter. void realNumberPrecision=(int precision)Description: Method void QTextStream::setRealNumberPrecision(int precision) Python specific notes:The object exposes a writable attribute 'realNumberPrecision'. This is the setter. void resetDescription: Method void QTextStream::reset() void resetStatusDescription: Method void QTextStream::resetStatus() bool seek(long long pos)Description: Method bool QTextStream::seek(qint64 pos) void setAutoDetectUnicode(bool enabled)Description: Method void QTextStream::setAutoDetectUnicode(bool enabled) Python specific notes:The object exposes a writable attribute 'autoDetectUnicode'. This is the setter. void setCodec(QTextCodec ptr codec)Description: Method void QTextStream::setCodec(QTextCodec *codec) Python specific notes:The object exposes a writable attribute 'codec'. This is the setter. void setCodec(string codecName)Description: Method void QTextStream::setCodec(const char *codecName) Python specific notes:The object exposes a writable attribute 'codec'. This is the setter. void setDevice(QIODevice ptr device)Description: Method void QTextStream::setDevice(QIODevice *device) Python specific notes:The object exposes a writable attribute 'device'. This is the setter. void setFieldAlignment(const QTextStream_FieldAlignment alignment)Description: Method void QTextStream::setFieldAlignment(QTextStream::FieldAlignment alignment) Python specific notes:The object exposes a writable attribute 'fieldAlignment'. This is the setter. void setFieldWidth(int width)Description: Method void QTextStream::setFieldWidth(int width) Python specific notes:The object exposes a writable attribute 'fieldWidth'. This is the setter. void setGenerateByteOrderMark(bool generate)Description: Method void QTextStream::setGenerateByteOrderMark(bool generate) Python specific notes:The object exposes a writable attribute 'generateByteOrderMark'. This is the setter. void setIntegerBase(int base)Description: Method void QTextStream::setIntegerBase(int base) Python specific notes:The object exposes a writable attribute 'integerBase'. This is the setter. void setLocale(const QLocale locale)Description: Method void QTextStream::setLocale(const QLocale &locale) Python specific notes:The object exposes a writable attribute 'locale'. This is the setter. void setNumberFlags(const QTextStream_QFlags_NumberFlag flags)Description: Method void QTextStream::setNumberFlags(QFlags<QTextStream::NumberFlag> flags) Python specific notes:The object exposes a writable attribute 'numberFlags'. This is the setter. void setPadChar(unsigned int ch)Description: Method void QTextStream::setPadChar(QChar ch) Python specific notes:The object exposes a writable attribute 'padChar'. This is the setter. void setRealNumberNotation(const QTextStream_RealNumberNotation notation)Description: Method void QTextStream::setRealNumberNotation(QTextStream::RealNumberNotation notation) Python specific notes:The object exposes a writable attribute 'realNumberNotation'. This is the setter. void setRealNumberPrecision(int precision)Description: Method void QTextStream::setRealNumberPrecision(int precision) Python specific notes:The object exposes a writable attribute 'realNumberPrecision'. This is the setter. void setStatus(const QTextStream_Status status)Description: Method void QTextStream::setStatus(QTextStream::Status status) Python specific notes:The object exposes a writable attribute 'status'. This is the setter. void setString(string ptr string,const QIODevice_QFlags_OpenModeFlag openMode = QIODevice::ReadWrite)Description: Method void QTextStream::setString(QString *string, QFlags<QIODevice::OpenModeFlag> openMode) void skipWhiteSpaceDescription: Method void QTextStream::skipWhiteSpace() [const] QTextStream_Status statusDescription: Method QTextStream::Status QTextStream::status() Python specific notes:The object exposes a readable attribute 'status'. This is the getter. void status=(const QTextStream_Status status)Description: Method void QTextStream::setStatus(QTextStream::Status status) Python specific notes:The object exposes a writable attribute 'status'. This is the setter. [const] string ptr stringDescription: Method QString *QTextStream::string() Python specific notes:The object exposes a readable attribute 'string'. This is the getter. |