KHtml

loader_client.h
1 #ifndef LOADER_CLIENT_H
2 #define LOADER_CLIENT_H
3 
4 #include <QPixmap>
5 #include "dom/dom_string.h"
6 
7 namespace khtml
8 {
9 class CachedObject;
10 class CachedImage;
11 
19 class KHTML_EXPORT CachedObjectClient
20 {
21 public:
22  virtual ~CachedObjectClient();
23  // clipped pixmap (if it is not yet completely loaded,
24  // size of the complete (finished loading) pixmap
25  // rectangle of the part that has been loaded very recently
26  // pointer to us
27  // return whether we need manual update
28  // don't ref() or deref() elements in setPixmap!!
29  virtual void updatePixmap(const QRect &, CachedImage *);
30  virtual void setStyleSheet(const DOM::DOMString &/*url*/, const DOM::DOMString &/*sheet*/, const DOM::DOMString &/*charset*/, const DOM::DOMString &/*mimetype*/);
31  virtual void notifyFinished(CachedObject * /*finishedObj*/);
32  virtual void error(int err, const QString &text);
33 };
34 }
35 
36 #endif
This file is part of the HTML rendering engine for KDE.
a cached image
Definition: loader.h:359
This class implements the basic string we use in the DOM.
Definition: dom_string.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat Aug 8 2020 22:44:56 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.