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
QMimeBinaryProvider::CacheFile Struct Reference
Collaboration diagram for QMimeBinaryProvider::CacheFile:

Public Member Functions

 CacheFile (const QString &fileName)
 ~CacheFile ()
bool isValid () const
quint16 getUint16 (int offset) const
quint32 getUint32 (int offset) const
const char * getCharStar (int offset) const
bool load ()
bool reload ()
 CacheFile (const QString &fileName)
 ~CacheFile ()
bool isValid () const
quint16 getUint16 (int offset) const
quint32 getUint32 (int offset) const
const char * getCharStar (int offset) const
bool load ()
bool reload ()

Public Attributes

QFile file
uchardata
QDateTime m_mtime
bool m_valid

Detailed Description

Definition at line 54 of file qmimeprovider.cpp.

Constructor & Destructor Documentation

◆ CacheFile() [1/2]

QMimeBinaryProvider::CacheFile::CacheFile ( const QString & fileName)

Definition at line 118 of file qmimeprovider.cpp.

References CacheFile(), load(), and m_valid.

Referenced by CacheFile().

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

◆ ~CacheFile() [1/2]

QMimeBinaryProvider::CacheFile::~CacheFile ( )

Definition at line 124 of file qmimeprovider.cpp.

◆ CacheFile() [2/2]

QMimeBinaryProvider::CacheFile::CacheFile ( const QString & fileName)

◆ ~CacheFile() [2/2]

QMimeBinaryProvider::CacheFile::~CacheFile ( )

Member Function Documentation

◆ getCharStar() [1/2]

const char * QMimeBinaryProvider::CacheFile::getCharStar ( int offset) const
inline

Definition at line 68 of file qmimeprovider.cpp.

◆ getCharStar() [2/2]

const char * QMimeBinaryProvider::CacheFile::getCharStar ( int offset) const
inline

Definition at line 68 of file qmimeprovider.cpp.

◆ getUint16() [1/2]

quint16 QMimeBinaryProvider::CacheFile::getUint16 ( int offset) const
inline

Definition at line 60 of file qmimeprovider.cpp.

◆ getUint16() [2/2]

quint16 QMimeBinaryProvider::CacheFile::getUint16 ( int offset) const
inline

Definition at line 60 of file qmimeprovider.cpp.

◆ getUint32() [1/2]

quint32 QMimeBinaryProvider::CacheFile::getUint32 ( int offset) const
inline

Definition at line 64 of file qmimeprovider.cpp.

◆ getUint32() [2/2]

quint32 QMimeBinaryProvider::CacheFile::getUint32 ( int offset) const
inline

Definition at line 64 of file qmimeprovider.cpp.

◆ isValid() [1/2]

bool QMimeBinaryProvider::CacheFile::isValid ( ) const
inline

Definition at line 59 of file qmimeprovider.cpp.

References m_valid.

◆ isValid() [2/2]

bool QMimeBinaryProvider::CacheFile::isValid ( ) const
inline

Definition at line 59 of file qmimeprovider.cpp.

◆ load() [1/2]

bool QMimeBinaryProvider::CacheFile::load ( )

Definition at line 128 of file qmimeprovider.cpp.

References m_valid.

Referenced by CacheFile(), and reload().

Here is the caller graph for this function:

◆ load() [2/2]

bool QMimeBinaryProvider::CacheFile::load ( )

◆ reload() [1/2]

bool QMimeBinaryProvider::CacheFile::reload ( )

Definition at line 142 of file qmimeprovider.cpp.

References load(), and m_valid.

Here is the call graph for this function:

◆ reload() [2/2]

bool QMimeBinaryProvider::CacheFile::reload ( )

Member Data Documentation

◆ data

uchar * QMimeBinaryProvider::CacheFile::data

Definition at line 76 of file qmimeprovider.cpp.

◆ file

QFile QMimeBinaryProvider::CacheFile::file

Definition at line 75 of file qmimeprovider.cpp.

◆ m_mtime

QDateTime QMimeBinaryProvider::CacheFile::m_mtime

Definition at line 77 of file qmimeprovider.cpp.

◆ m_valid

bool QMimeBinaryProvider::CacheFile::m_valid

Definition at line 78 of file qmimeprovider.cpp.

Referenced by CacheFile(), isValid(), load(), and reload().


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