Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QResourcePrivate Class Reference
Collaboration diagram for QResourcePrivate:

Public Member Functions

 QResourcePrivate (QResource *_q)
 ~QResourcePrivate ()
void ensureInitialized () const
void ensureChildren () const
Q_DECL_PURE_FUNCTION qint64 uncompressedSize () const
qsizetype decompress (char *buffer, qsizetype bufferSize) const
bool load (const QString &file)
void clear ()
 QResourcePrivate (QResource *_q)
 ~QResourcePrivate ()
void ensureInitialized () const
void ensureChildren () const
Q_DECL_PURE_FUNCTION qint64 uncompressedSize () const
qsizetype decompress (char *buffer, qsizetype bufferSize) const
bool load (const QString &file)
void clear ()

Static Public Member Functions

static bool mayRemapData (const QResource &resource)
static bool mayRemapData (const QResource &resource)

Public Attributes

QLocale locale
QString fileName
QString absoluteFilePath
QList< QResourceRoot * > related
qint64 size
qint64 lastModified
const uchardata
QStringList children
quint8 compressionAlgo
bool container
QResourceq_ptr

Detailed Description

Definition at line 284 of file qresource.cpp.

Constructor & Destructor Documentation

◆ QResourcePrivate() [1/2]

QResourcePrivate::QResourcePrivate ( QResource * _q)
inline

Definition at line 286 of file qresource.cpp.

References clear().

Here is the call graph for this function:

◆ ~QResourcePrivate() [1/2]

QResourcePrivate::~QResourcePrivate ( )
inline

Definition at line 287 of file qresource.cpp.

References clear().

Here is the call graph for this function:

◆ QResourcePrivate() [2/2]

QResourcePrivate::QResourcePrivate ( QResource * _q)
inline

Definition at line 286 of file qresource.cpp.

◆ ~QResourcePrivate() [2/2]

QResourcePrivate::~QResourcePrivate ( )
inline

Definition at line 287 of file qresource.cpp.

Member Function Documentation

◆ clear() [1/2]

void QResourcePrivate::clear ( )

Definition at line 314 of file qresource.cpp.

References container.

Referenced by QResourcePrivate(), and ~QResourcePrivate().

Here is the caller graph for this function:

◆ clear() [2/2]

void QResourcePrivate::clear ( )

◆ decompress() [1/2]

qsizetype QResourcePrivate::decompress ( char * buffer,
qsizetype bufferSize ) const

Definition at line 458 of file qresource.cpp.

◆ decompress() [2/2]

qsizetype QResourcePrivate::decompress ( char * buffer,
qsizetype bufferSize ) const

◆ ensureChildren() [1/2]

void QResourcePrivate::ensureChildren ( ) const

Definition at line 398 of file qresource.cpp.

References ensureInitialized().

Here is the call graph for this function:

◆ ensureChildren() [2/2]

void QResourcePrivate::ensureChildren ( ) const

◆ ensureInitialized() [1/2]

void QResourcePrivate::ensureInitialized ( ) const

Definition at line 371 of file qresource.cpp.

References load().

Referenced by ensureChildren().

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

◆ ensureInitialized() [2/2]

void QResourcePrivate::ensureInitialized ( ) const

◆ load() [1/2]

bool QResourcePrivate::load ( const QString & file)

Definition at line 331 of file qresource.cpp.

References container, and resourceList().

Referenced by ensureInitialized().

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

◆ load() [2/2]

bool QResourcePrivate::load ( const QString & file)

◆ mayRemapData() [1/2]

bool QResourcePrivate::mayRemapData ( const QResource & resource)
static

◆ mayRemapData() [2/2]

bool QResourcePrivate::mayRemapData ( const QResource & resource)
static

◆ uncompressedSize() [1/2]

qint64 QResourcePrivate::uncompressedSize ( ) const

Definition at line 428 of file qresource.cpp.

◆ uncompressedSize() [2/2]

Q_DECL_PURE_FUNCTION qint64 QResourcePrivate::uncompressedSize ( ) const

Member Data Documentation

◆ absoluteFilePath

QString QResourcePrivate::absoluteFilePath

Definition at line 300 of file qresource.cpp.

◆ children

QStringList QResourcePrivate::children
mutable

Definition at line 305 of file qresource.cpp.

◆ compressionAlgo

quint8 QResourcePrivate::compressionAlgo

Definition at line 306 of file qresource.cpp.

◆ container

bool QResourcePrivate::container

Definition at line 307 of file qresource.cpp.

Referenced by clear(), and load().

◆ data

const uchar * QResourcePrivate::data

Definition at line 304 of file qresource.cpp.

◆ fileName

QString QResourcePrivate::fileName

Definition at line 300 of file qresource.cpp.

◆ lastModified

qint64 QResourcePrivate::lastModified

Definition at line 303 of file qresource.cpp.

◆ locale

QLocale QResourcePrivate::locale

Definition at line 299 of file qresource.cpp.

◆ q_ptr

QResource * QResourcePrivate::q_ptr

Definition at line 310 of file qresource.cpp.

◆ related

QList< QResourceRoot * > QResourcePrivate::related

Definition at line 301 of file qresource.cpp.

◆ size

qint64 QResourcePrivate::size

Definition at line 302 of file qresource.cpp.


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