![]() |
Qt 6.x
The Qt SDK
|
#include "qresource.h"#include "qresource_p.h"#include "qresource_iterator_p.h"#include "qset.h"#include <private/qlocking_p.h>#include "qdebug.h"#include "qlocale.h"#include "qglobal.h"#include "qlist.h"#include "qdatetime.h"#include "qbytearray.h"#include "qstringlist.h"#include "qendian.h"#include <qshareddata.h>#include <qplatformdefs.h>#include "private/qabstractfileengine_p.h"#include "private/qduplicatetracker_p.h"#include "private/qnumeric_p.h"#include "private/qsimd_p.h"#include "private/qtools_p.h"#include "private/qsystemerror_p.h"#include <zconf.h>#include <zlib.h>
Include dependency graph for qresource.cpp:Go to the source code of this file.
Classes | |
| class | QStringSplitter |
| class | QResourceRoot |
| struct | QResourceGlobalData |
| class | QResourcePrivate |
| class | QDynamicBufferResourceRoot |
| class | QDynamicFileResourceRoot |
| class | QResourceFileEnginePrivate |
Macros | |
| #define | RCC_FEATURE_SYMBOL(feature) Q_CORE_EXPORT quint8 qResourceFeature ## feature() { return 0; } |
| #define | MAP_FILE 0 |
| #define | MAP_FAILED reinterpret_cast<void *>(-1) |
Typedefs | |
| typedef QList< QResourceRoot * > | ResourceList |
Functions | |
| static QString | cleanPath (const QString &_path) |
| Q_DECLARE_TYPEINFO (QResourceRoot, Q_RELOCATABLE_TYPE) | |
| static QRecursiveMutex & | resourceMutex () |
| static ResourceList * | resourceList () |
| Q_CORE_EXPORT bool | qRegisterResourceData (int version, const unsigned char *tree, const unsigned char *name, const unsigned char *data) |
| Q_CORE_EXPORT bool | qUnregisterResourceData (int version, const unsigned char *tree, const unsigned char *name, const unsigned char *data) |
| static QString | qt_resource_fixResourceRoot (QString r) |
| #define MAP_FAILED reinterpret_cast<void *>(-1) |
Definition at line 1126 of file qresource.cpp.
| #define MAP_FILE 0 |
Definition at line 1123 of file qresource.cpp.
| #define RCC_FEATURE_SYMBOL | ( | feature | ) | Q_CORE_EXPORT quint8 qResourceFeature ## feature() { return 0; } |
Definition at line 55 of file qresource.cpp.
| typedef QList<QResourceRoot*> ResourceList |
Definition at line 165 of file qresource.cpp.
Definition at line 153 of file qresource.cpp.
References QDir::cleanPath().
Referenced by QResourcePrivate::ensureChildren(), QStandardPaths::findExecutable(), and QResourcePrivate::load().
Here is the call graph for this function:
Here is the caller graph for this function:| Q_DECLARE_TYPEINFO | ( | QResourceRoot | , |
| Q_RELOCATABLE_TYPE | |||
| ) |
| Q_CORE_EXPORT bool qRegisterResourceData | ( | int | version, |
| const unsigned char * | tree, | ||
| const unsigned char * | name, | ||
| const unsigned char * | data | ||
| ) |
Definition at line 971 of file qresource.cpp.
References QList< T >::append(), QList< T >::at(), i, list, QResourceRoot::ref, QBasicAtomicInteger< T >::ref(), resourceList(), resourceMutex(), and QList< T >::size().
Here is the call graph for this function:Definition at line 1184 of file qresource.cpp.
References QDir::cleanPath(), and QString::mid().
Referenced by QResource::registerResource(), QResource::registerResource(), QResource::unregisterResource(), and QResource::unregisterResource().
Here is the call graph for this function:
Here is the caller graph for this function:| Q_CORE_EXPORT bool qUnregisterResourceData | ( | int | version, |
| const unsigned char * | tree, | ||
| const unsigned char * | name, | ||
| const unsigned char * | data | ||
| ) |
Definition at line 997 of file qresource.cpp.
References QList< T >::at(), QBasicAtomicInteger< T >::deref(), i, list, QResourceRoot::ref, resourceList(), resourceMutex(), QList< T >::size(), and QList< T >::takeAt().
Here is the call graph for this function:
|
inlinestatic |
Definition at line 176 of file qresource.cpp.
Referenced by QResourcePrivate::load(), qRegisterResourceData(), qUnregisterResourceData(), QResource::registerResource(), QResource::registerResource(), QResource::unregisterResource(), and QResource::unregisterResource().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 173 of file qresource.cpp.
Referenced by QResourcePrivate::load(), qRegisterResourceData(), qUnregisterResourceData(), QResource::registerResource(), QResource::registerResource(), QResource::unregisterResource(), and QResource::unregisterResource().
Here is the caller graph for this function: