Qt 4.8
|
#include <qdeclarativepixmapcache_p.h>
Public Types | |
enum | Option { Asynchronous = 0x00000001, Cache = 0x00000002 } |
enum | Status { Null, Ready, Error, Loading } |
Public Functions | |
void | clear () |
void | clear (QObject *) |
bool | connectDownloadProgress (QObject *, const char *) |
bool | connectDownloadProgress (QObject *, int) |
bool | connectFinished (QObject *, const char *) |
bool | connectFinished (QObject *, int) |
QString | error () const |
int | height () const |
const QSize & | implicitSize () const |
bool | isError () const |
bool | isLoading () const |
bool | isNull () const |
bool | isReady () const |
void | load (QDeclarativeEngine *, const QUrl &) |
void | load (QDeclarativeEngine *, const QUrl &, QDeclarativePixmap::Options options) |
void | load (QDeclarativeEngine *, const QUrl &, const QSize &) |
void | load (QDeclarativeEngine *, const QUrl &, const QSize &, QDeclarativePixmap::Options options) |
operator const QPixmap & () const | |
const QPixmap & | pixmap () const |
QDeclarativePixmap () | |
QDeclarativePixmap (QDeclarativeEngine *, const QUrl &) | |
QDeclarativePixmap (QDeclarativeEngine *, const QUrl &, const QSize &) | |
QRect | rect () const |
const QSize & | requestSize () const |
void | setPixmap (const QPixmap &) |
Status | status () const |
const QUrl & | url () const |
int | width () const |
~QDeclarativePixmap () | |
Static Public Functions | |
static void | flushCache () |
Properties | |
QDeclarativePixmapData * | d |
Definition at line 58 of file qdeclarativepixmapcache_p.h.
QDeclarativePixmap::QDeclarativePixmap | ( | ) |
Definition at line 869 of file qdeclarativepixmapcache.cpp.
QDeclarativePixmap::QDeclarativePixmap | ( | QDeclarativeEngine * | engine, |
const QUrl & | url | ||
) |
Definition at line 874 of file qdeclarativepixmapcache.cpp.
QDeclarativePixmap::QDeclarativePixmap | ( | QDeclarativeEngine * | engine, |
const QUrl & | url, | ||
const QSize & | size | ||
) |
Definition at line 880 of file qdeclarativepixmapcache.cpp.
QDeclarativePixmap::~QDeclarativePixmap | ( | ) |
void QDeclarativePixmap::clear | ( | ) |
void QDeclarativePixmap::clear | ( | QObject * | obj | ) |
Definition at line 1062 of file qdeclarativepixmapcache.cpp.
bool QDeclarativePixmap::connectDownloadProgress | ( | QObject * | object, |
const char * | method | ||
) |
Definition at line 1092 of file qdeclarativepixmapcache.cpp.
bool QDeclarativePixmap::connectDownloadProgress | ( | QObject * | object, |
int | method | ||
) |
Definition at line 1102 of file qdeclarativepixmapcache.cpp.
bool QDeclarativePixmap::connectFinished | ( | QObject * | object, |
const char * | method | ||
) |
Definition at line 1072 of file qdeclarativepixmapcache.cpp.
Referenced by QTextDocumentWithImageResources::loadResource().
bool QDeclarativePixmap::connectFinished | ( | QObject * | object, |
int | method | ||
) |
Definition at line 1082 of file qdeclarativepixmapcache.cpp.
QString QDeclarativePixmap::error | ( | ) | const |
Definition at line 914 of file qdeclarativepixmapcache.cpp.
Referenced by QTextDocumentWithImageResources::loadResource().
|
static |
Definition at line 1112 of file qdeclarativepixmapcache.cpp.
int QDeclarativePixmap::height | ( | ) | const |
Definition at line 978 of file qdeclarativepixmapcache.cpp.
const QSize & QDeclarativePixmap::implicitSize | ( | ) | const |
Definition at line 938 of file qdeclarativepixmapcache.cpp.
bool QDeclarativePixmap::isError | ( | ) | const |
Definition at line 904 of file qdeclarativepixmapcache.cpp.
Referenced by QTextDocumentWithImageResources::loadResource().
bool QDeclarativePixmap::isLoading | ( | ) | const |
Definition at line 909 of file qdeclarativepixmapcache.cpp.
Referenced by QTextDocumentWithImageResources::loadResource().
bool QDeclarativePixmap::isNull | ( | ) | const |
Definition at line 894 of file qdeclarativepixmapcache.cpp.
bool QDeclarativePixmap::isReady | ( | ) | const |
Definition at line 899 of file qdeclarativepixmapcache.cpp.
Referenced by QTextDocumentWithImageResources::loadResource().
void QDeclarativePixmap::load | ( | QDeclarativeEngine * | engine, |
const QUrl & | url | ||
) |
Definition at line 994 of file qdeclarativepixmapcache.cpp.
Referenced by load(), and QDeclarativePixmap().
void QDeclarativePixmap::load | ( | QDeclarativeEngine * | engine, |
const QUrl & | url, | ||
QDeclarativePixmap::Options | options | ||
) |
Definition at line 999 of file qdeclarativepixmapcache.cpp.
void QDeclarativePixmap::load | ( | QDeclarativeEngine * | engine, |
const QUrl & | url, | ||
const QSize & | size | ||
) |
Definition at line 1004 of file qdeclarativepixmapcache.cpp.
void QDeclarativePixmap::load | ( | QDeclarativeEngine * | engine, |
const QUrl & | url, | ||
const QSize & | requestSize, | ||
QDeclarativePixmap::Options | options | ||
) |
Definition at line 1009 of file qdeclarativepixmapcache.cpp.
|
inline |
Definition at line 113 of file qdeclarativepixmapcache_p.h.
const QPixmap & QDeclarativePixmap::pixmap | ( | ) | const |
Definition at line 954 of file qdeclarativepixmapcache.cpp.
Referenced by QTextDocumentWithImageResources::loadResource().
QRect QDeclarativePixmap::rect | ( | ) | const |
Definition at line 986 of file qdeclarativepixmapcache.cpp.
const QSize & QDeclarativePixmap::requestSize | ( | ) | const |
Definition at line 946 of file qdeclarativepixmapcache.cpp.
void QDeclarativePixmap::setPixmap | ( | const QPixmap & | p | ) |
Definition at line 962 of file qdeclarativepixmapcache.cpp.
QDeclarativePixmap::Status QDeclarativePixmap::status | ( | ) | const |
Definition at line 922 of file qdeclarativepixmapcache.cpp.
Referenced by isError(), isLoading(), and isReady().
const QUrl & QDeclarativePixmap::url | ( | ) | const |
int QDeclarativePixmap::width | ( | ) | const |
Definition at line 970 of file qdeclarativepixmapcache.cpp.
|
private |
Definition at line 110 of file qdeclarativepixmapcache_p.h.
Referenced by clear(), connectDownloadProgress(), connectFinished(), error(), height(), implicitSize(), isNull(), load(), pixmap(), rect(), requestSize(), setPixmap(), status(), url(), width(), and ~QDeclarativePixmap().