#include <QtCore/QResource>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QResource


Protected Attributes Index

QScopedPointer< QResourcePrivate >d_ptr

Public Functions Index

QResource (const QString &file=QString(), const QLocale &locale=QLocale())
~QResource ()
QStringabsoluteFilePath () const
const uchar *data () const
QStringfileName () const
boolisCompressed () const
boolisValid () const
QLocalelocale () const
voidsetFileName (const QString &file)
voidsetLocale (const QLocale &locale)
qint64size () const

Static Public Functions Index

voidaddSearchPath (const QString &path)
boolregisterResource (const QString &rccFilename, const QString &resourceRoot=QString())
boolregisterResource (const uchar *rccData, const QString &resourceRoot=QString())
QStringListsearchPaths ()
boolunregisterResource (const QString &rccFilename, const QString &resourceRoot=QString())
boolunregisterResource (const uchar *rccData, const QString &resourceRoot=QString())

Protected Functions Index

QStringListchildren () const
boolisDir () const
boolisFile () const

Protected Attributes

QScopedPointer< QResourcePrivate > d_ptr ()

Public Functions

QResource (

~QResource ()


QString absoluteFilePath ()

const uchar * data ()

QString fileName ()

bool isCompressed ()

bool isValid ()

QLocale locale ()

void setFileName (

void setLocale (

qint64 size ()

Static Public Functions

void addSearchPath (

bool registerResource (

bool registerResource (
  • const uchar *rccData,
  • const QString &resourceRoot )

QStringList searchPaths ()

bool unregisterResource (

bool unregisterResource (
  • const uchar *rccData,
  • const QString &resourceRoot )

Protected Functions

QStringList children ()

bool isDir ()

bool isFile ()

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus