Qt:Документация 4.3.2/datastreamformat
Материал из Wiki.crossplatform.ru
(Различия между версиями)
Root (Обсуждение | вклад)
(Новая: {{Qt4.3.2_header}} =Format of the QDataStream Operators<br />= The QDataStream allows you to serialize some of the Qt data types. Th...)
(Новая: {{Qt4.3.2_header}} =Format of the QDataStream Operators<br />= The QDataStream allows you to serialize some of the Qt data types. Th...)
Текущая версия на 09:13, 14 ноября 2008
![]() | Внимание: Актуальная версия перевода документации находится здесь |
__NOTOC__
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции |
[править] Format of the QDataStream Operators
The QDataStream allows you to serialize some of the Qt data types. The table below lists the data types that QDataStream can serialize and how they are represented. The format described below is version 8.
It is always best to cast integers to a Qt integer type, such as qint16 or quint32, when reading and writing. This ensures that you always know exactly what size integers you are reading and writing, no matter what the underlying platform and architecture the application happens to be running on.
qint8 |
|
qint16 |
|
qint32 |
|
qint64 |
|
quint8 |
|
quint16 |
|
quint32 |
|
quint64 |
|
float |
|
double |
|
const char * |
|
QBitArray |
|
QBrush | |
QByteArray |
|
QColor |
|
QCursor | |
QDate |
|
QDateTime |
|
QFont |
|
QHash<Key, T> |
|
QIcon |
|
QImage | |
QKeySequence |
|
QLinkedList<T> |
|
QList<T> |
|
QMap<Key, T> |
|
QMatrix |
|
QPair<T1, T2> |
|
QPalette | The disabled, active, and inactive color groups, each of which consists of the following: |
QPen |
|
QPicture |
|
QPixmap |
|
QPoint |
|
QRect |
|
QRegExp |
|
QRegion |
|
QSize |
|
QString |
|
QTime |
|
QVariant |
|
QVector<T> |
|
Copyright © 2007 Trolltech | Trademarks | Qt 4.3.2
|