Search for usage in LXR

khtml::CachedSound Class Reference

#include <loader.h>

Inheritance diagram for khtml::CachedSound:

Public Member Functions

 CachedSound (DocLoader *dl, const DOM::DOMString &url, KIO::CacheControl cachePolicy, const char *accept)
void checkNotify ()
void data (QBuffer &buffer, bool eof) override
void error (int err, const char *text) override
bool isLoaded () const
void ref (CachedObjectClient *consumer) override
QByteArray sound () const
- Public Member Functions inherited from khtml::CachedObject
 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
QTextCodeccodecForBuffer (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)
virtual void setCharset (const QString &)
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::DOMStringurl () const

Protected Attributes

QByteArray m_sound
- Protected Attributes inherited from khtml::CachedObject
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
int m_size
Status m_status
Type m_type
DOM::DOMString m_url
bool m_wasBlocked: 1

Additional Inherited Members

- Public Types inherited from khtml::CachedObject
enum  PreloadResult { PreloadNotReferenced = 0, PreloadReferenced, PreloadReferencedWhileLoading, PreloadReferencedWhileComplete }
enum  Status {
  Unknown, New, Pending, Persistent,
enum  Type {
  Image, CSSStyleSheet, Script, Sound,
- Protected Member Functions inherited from khtml::CachedObject
void setSize (int size)

Detailed Description

a cached sound

Definition at line 465 of file loader.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Aug 11 2022 03:57:30 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.