Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
WBMPReader Class Reference
+ Collaboration diagram for WBMPReader:

Public Member Functions

 WBMPReader (QIODevice *iodevice)
 
QImage readImage ()
 
bool writeImage (QImage image)
 

Static Public Member Functions

static bool canRead (QIODevice *iodevice)
 

Detailed Description

Definition at line 138 of file qwbmphandler.cpp.

Constructor & Destructor Documentation

◆ WBMPReader()

WBMPReader::WBMPReader ( QIODevice * iodevice)

Definition at line 154 of file qwbmphandler.cpp.

Member Function Documentation

◆ canRead()

bool WBMPReader::canRead ( QIODevice * iodevice)
static

Definition at line 200 of file qwbmphandler.cpp.

References device, WBMPHeader::format, WBMPHeader::height, readWBMPHeader(), WBMPHeader::type, and WBMPHeader::width.

Referenced by QWbmpHandler::canRead().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ readImage()

QImage WBMPReader::readImage ( )

Definition at line 159 of file qwbmphandler.cpp.

References QImageIOHandler::allocateImage(), QImage::Format_Mono, WBMPHeader::height, readWBMPData(), readWBMPHeader(), and WBMPHeader::width.

Referenced by QWbmpHandler::read().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ writeImage()

bool WBMPReader::writeImage ( QImage image)

Definition at line 173 of file qwbmphandler.cpp.

References WBMPHeader::format, QImage::Format_Mono, WBMPHeader::height, qGray(), WBMPHeader::type, WBMPHeader::width, writeWBMPData(), and writeWBMPHeader().

Referenced by QWbmpHandler::write().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: