45 #include <QtCore/qstring.h> 46 #include <QtCore/qlocale.h> 47 #include <QtCore/qstringlist.h> 48 #include <QtCore/qlist.h> 64 void setFileName(
const QString &file);
66 QString absoluteFilePath()
const;
68 void setLocale(
const QLocale &locale);
73 bool isCompressed()
const;
77 static void addSearchPath(
const QString &path);
84 static bool unregisterResource(
const uchar *rccData,
const QString &resourceRoot=
QString());
90 inline bool isFile()
const {
return !isDir(); }
104 #endif // QRESOURCE_H #define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
QScopedPointer< QResourcePrivate > d_ptr
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QResource class provides an interface for reading directly from resources.
The QStringList class provides a list of strings.
static const char * data(const QByteArray &arr)
#define Q_DECLARE_PRIVATE(Class)
static QString fileName(const QString &fileUrl)
bool isFile() const
Returns true if the resource represents a file and thus has data backing it, false if it represents a...