akregator/src/librss
RSS::Image Class Reference
#include <image.h>
Detailed Description
Represents an image as stored in a RSS file.You don't have to instantiate one of these yourself, the common way to access instances is via Document::image().
- See also:
- Document::image()
Definition at line 34 of file image.h.
Signals | |
| void | gotPixmap (const QPixmap &pixmap) |
Public Member Functions | |
| Image () | |
| Image (const Image &other) | |
| Image (const QDomNode &node) | |
| Image & | operator= (const Image &other) |
| bool | operator== (const Image &other) const |
| bool | operator!= (const Image &other) const |
| virtual | ~Image () |
| QString | title () const |
| const KURL & | url () const |
| const KURL & | link () const |
| QString | description () const |
| unsigned int | height () const |
| unsigned int | width () const |
| void | getPixmap () |
| void | abort () |
Constructor & Destructor Documentation
|
|
Default constructor.
|
|
|
Copy constructor.
|
|
|
Constructs an Image from a piece of RSS markup.
|
|
|
Destructor.
|
Member Function Documentation
|
|
RSS 0.91 and upwards.
|
|
|
Makes the image download the image data as referenced by the URL returned by url(). You have to connect to the signal gotPixmap() first and then call getPixmap(). |
|
|
Emitted when this Image is done downloading the actual graphics data as referenced by the URL returned by url(). You can trigger this download by calling getPixmap().
|
|
|
RSS 0.91 and upwards.
|
|
|
RSS 0.90 and upwards.
|
|
|
Convenience method. Simply calls !operator==().
|
|
|
Assignment operator.
|
|
|
Compares two images. Two images are considered identical if their properties (title, description, link etc.) are identical. Note that this does not include the actual pixmap data!
|
|
|
RSS 0.90 and upwards.
|
|
|
RSS 0.90 and upwards.
|
|
|
RSS 0.91 and upwards.
|
The documentation for this class was generated from the following file:

