#include <qresource.h>
Definition at line 58 of file qresource.h.
Public Member Functions | |
QResource (const QString &file=QString(), const QLocale &locale=QLocale()) | |
~QResource () | |
void | setFileName (const QString &file) |
QString | fileName () const |
QString | absoluteFilePath () const |
void | setLocale (const QLocale &locale) |
QLocale | locale () const |
bool | isValid () const |
bool | isCompressed () const |
qint64 | size () const |
const uchar * | data () const |
Static Public Member Functions | |
static void | addSearchPath (const QString &path) |
static QStringList | searchPaths () |
static bool | registerResource (const QString &rccFilename, const QString &resourceRoot=QString()) |
static bool | unregisterResource (const QString &rccFilename, const QString &resourceRoot=QString()) |
static bool | registerResource (const uchar *rccData, const QString &resourceRoot=QString()) |
static bool | unregisterResource (const uchar *rccData, const QString &resourceRoot=QString()) |
Protected Member Functions | |
bool | isDir () const |
bool | isFile () const |
QStringList | children () const |
Protected Attributes | |
QScopedPointer< QResourcePrivate > | d_ptr |
Friends | |
class | QResourceFileEngine |
class | QResourceFileEngineIterator |
~QResource | ( | ) |
QString fileName | ( | ) | const |
QString absoluteFilePath | ( | ) | const |
QLocale locale | ( | ) | const |
bool isValid | ( | ) | const |
bool isCompressed | ( | ) | const |
const uchar* data | ( | ) | const |
|
static |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
inlineprotected |
Definition at line 90 of file qresource.h.
|
protected |
|
friend |
Definition at line 87 of file qresource.h.
|
friend |
Definition at line 88 of file qresource.h.
|
protected |
Definition at line 94 of file qresource.h.