khtml::CachedCSSStyleSheet
khtml::CachedCSSStyleSheet Class Reference
#include <loader.h>
Inheritance diagram for khtml::CachedCSSStyleSheet:

Public Member Functions | |
CachedCSSStyleSheet (const DOM::DOMString &url, const QString &stylesheet_data) | |
CachedCSSStyleSheet (DocLoader *dl, const DOM::DOMString &url, KIO::CacheControl cachePolicy, const char *accept) | |
QString | checkCharset (const QByteArray &buffer) const |
void | data (QBuffer &buffer, bool eof) override |
void | error (int err, const char *text) override |
void | ref (CachedObjectClient *consumer) override |
void | setCharset (const QString &charset) override |
void | setCharsetHint (const QString &charset) |
const DOM::DOMString & | sheet () const |
![]() | |
CachedObject (const DOM::DOMString &url, Type type, KIO::CacheControl _cachePolicy, int size) | |
QString | accept () const |
int | accessCount () const |
KIO::CacheControl | cachePolicy () const |
bool | canDelete () const |
QTextCodec * | codecForBuffer (const QString &charset, const QByteArray &buffer) const |
int | count () const |
void | decreasePreloadCount () |
virtual void | deref (CachedObjectClient *consumer) |
virtual void | finish () |
bool | free () const |
bool | hadError () const |
void | increasePreloadCount () |
bool | isExpired () const |
bool | isLoaded () const |
bool | isPreloaded () const |
QString | mimetype () const |
PreloadResult | preloadResult () const |
void | setAccept (const QString &_accept) |
void | setExpireDate (const QDateTime &_expireDate) |
void | setProspectiveRequest () |
void | setRequest (Request *_request) |
void | setStatus (Status s) |
int | size () const |
Status | status () const |
Type | type () const |
const DOM::DOMString & | url () const |
Protected Member Functions | |
void | checkNotify () |
![]() | |
void | setSize (int size) |
Protected Attributes | |
QString | m_charset |
QString | m_charsetHint |
int | m_err |
QString | m_errText |
DOM::DOMString | m_sheet |
![]() | |
QString | m_accept |
int | m_accessCount |
KIO::CacheControl | m_cachePolicy |
QHash< CachedObjectClient *, CachedObjectClient * > | m_clients |
bool | m_deleted: 1 |
QDateTime | m_expireDate |
bool | m_free: 1 |
bool | m_hadError: 1 |
bool | m_loading: 1 |
QString | m_mimetype |
unsigned | m_preloadCount |
PreloadResult | m_preloadResult: 3 |
bool | m_prospectiveRequest: 1 |
Request * | m_request |
int | m_size |
Status | m_status |
Type | m_type |
DOM::DOMString | m_url |
bool | m_wasBlocked: 1 |
Additional Inherited Members | |
![]() | |
enum | PreloadResult { PreloadNotReferenced = 0, PreloadReferenced, PreloadReferencedWhileLoading, PreloadReferencedWhileComplete } |
enum | Status { Unknown, New, Pending, Persistent, Cached } |
enum | Type { Image, CSSStyleSheet, Script, Sound, Font } |
Detailed Description
a cached style sheet.
also used for loading xml documents.
rename to CachedTextDoc or something since it's more generic than just for css
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:06:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Dec 11 2023 04:06:53 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.