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
QPkmHandler Class Reference

#include <qpkmhandler_p.h>

+ Inheritance diagram for QPkmHandler:
+ Collaboration diagram for QPkmHandler:

Public Member Functions

 ~QPkmHandler () override
 
QTextureFileData read () override
 
 QTextureFileHandler (QIODevice *device, const QByteArray &logName=QByteArray())
 
- Public Member Functions inherited from QTextureFileHandler
 QTextureFileHandler (QIODevice *device, const QByteArray &logName=QByteArray())
 
virtual ~QTextureFileHandler ()
 
QIODevicedevice () const
 
QByteArray logName () const
 

Static Public Member Functions

static bool canRead (const QByteArray &suffix, const QByteArray &block)
 

Detailed Description

Definition at line 22 of file qpkmhandler_p.h.

Constructor & Destructor Documentation

◆ ~QPkmHandler()

QPkmHandler::~QPkmHandler ( )
overridedefault

Member Function Documentation

◆ canRead()

bool QPkmHandler::canRead ( const QByteArray & suffix,
const QByteArray & block )
static

Definition at line 34 of file qpkmhandler.cpp.

References Q_UNUSED, and QByteArray::startsWith().

Referenced by QTextureFileReader::canRead(), and read().

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

◆ QTextureFileHandler()

QTextureFileHandler::QTextureFileHandler ( QIODevice * device,
const QByteArray & logName = QByteArray() )
inline

Definition at line 25 of file qtexturefilehandler_p.h.

◆ read()

QTextureFileData QPkmHandler::read ( )
overridevirtual

Implements QTextureFileHandler.

Definition at line 41 of file qpkmhandler.cpp.

References canRead(), QByteArray::constData(), QTextureFileHandler::device(), QTextureFileHandler::logName(), QByteArray(), qCDebug, qDebug, qpkmh_headerSize, QIODevice::readAll(), QByteArray::size(), and typeMap.

+ Here is the call graph for this function:

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