Definition at line 58 of file qresource.h.
#include <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 | ( | ) |
| 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 void addSearchPath | ( | const QString & | path | ) | [static] |
| static QStringList searchPaths | ( | ) | [static] |
| bool isDir | ( | ) | const [protected] |
| bool isFile | ( | ) | const [inline, protected] |
| QStringList children | ( | ) | const [protected] |
friend class QResourceFileEngine
[friend] |
Definition at line 87 of file qresource.h.
friend class QResourceFileEngineIterator
[friend] |
Definition at line 88 of file qresource.h.
QScopedPointer<QResourcePrivate>
d_ptr
[protected] |
Definition at line 94 of file qresource.h.