![]() |
Qt 6.x
The Qt SDK
|
#include "qicohandler.h"
#include <QtCore/qendian.h>
#include <private/qendian_p.h>
#include <QtGui/QImage>
#include <QtCore/QBuffer>
#include <QtCore/QFile>
#include <QtCore/QLoggingCategory>
#include <qvariant.h>
Go to the source code of this file.
Classes | |
struct | QT_BEGIN_NAMESPACE::ICONDIRENTRY |
struct | QT_BEGIN_NAMESPACE::ICONDIR |
struct | QT_BEGIN_NAMESPACE::BMP_INFOHDR |
class | ICOReader |
Namespaces | |
namespace | QT_BEGIN_NAMESPACE |
Combined button and popup list for selecting options. | |
Macros | |
#define | ICONDIRENTRY_SIZE 16 |
#define | ICONDIR_SIZE 6 |
#define | BMP_INFOHDR_SIZE 40 |
Typedefs | |
typedef struct QT_BEGIN_NAMESPACE::ICONDIRENTRY * | QT_BEGIN_NAMESPACE::LPICONDIRENTRY |
typedef struct QT_BEGIN_NAMESPACE::ICONDIR * | QT_BEGIN_NAMESPACE::LPICONDIR |
typedef struct QT_BEGIN_NAMESPACE::BMP_INFOHDR * | QT_BEGIN_NAMESPACE::LPBMP_INFOHDR |
Functions | |
static bool | readIconDirEntry (QIODevice *iodev, ICONDIRENTRY *iconDirEntry) |
static bool | writeIconDirEntry (QIODevice *iodev, const ICONDIRENTRY &iconEntry) |
static bool | readIconDir (QIODevice *iodev, ICONDIR *iconDir) |
static bool | writeIconDir (QIODevice *iodev, const ICONDIR &iconDir) |
static bool | readBMPInfoHeader (QIODevice *iodev, BMP_INFOHDR *pHeader) |
static bool | writeBMPInfoHeader (QIODevice *iodev, const BMP_INFOHDR &header) |
Variables | |
static const char | icoOrigDepthKey [] = "_q_icoOrigDepth" |
#define BMP_INFOHDR_SIZE 40 |
Definition at line 65 of file qicohandler.cpp.
#define ICONDIR_SIZE 6 |
Definition at line 50 of file qicohandler.cpp.
#define ICONDIRENTRY_SIZE 16 |
Definition at line 41 of file qicohandler.cpp.
|
static |
Definition at line 141 of file qicohandler.cpp.
References BMP_INFOHDR_SIZE, and QIODevice::read().
|
static |
Definition at line 127 of file qicohandler.cpp.
References ICONDIR_SIZE, and QIODevice::read().
Referenced by ICOReader::canRead().
|
static |
Definition at line 113 of file qicohandler.cpp.
References ICONDIRENTRY_SIZE, and QIODevice::read().
Referenced by ICOReader::canRead(), and ICOReader::readIconEntry().
|
static |
Definition at line 148 of file qicohandler.cpp.
References BMP_INFOHDR_SIZE, header(), and QIODevice::write().
Referenced by ICOReader::write().
|
static |
Definition at line 134 of file qicohandler.cpp.
References QIODevice::write().
Referenced by ICOReader::write().
|
static |
Definition at line 120 of file qicohandler.cpp.
References ICONDIRENTRY_SIZE, and QIODevice::write().
Referenced by ICOReader::write().
|
static |
Definition at line 424 of file qicohandler.cpp.
Referenced by ICOReader::iconAt().