okular
Okular::PixmapRequest Class Reference
#include <generator.h>
Detailed Description
Describes a pixmap type request.Definition at line 455 of file generator.h.
Public Member Functions | |
| PixmapRequest (int id, int pageNumber, int width, int height, int priority, bool asynchronous) | |
| ~PixmapRequest () | |
| int | id () const |
| int | pageNumber () const |
| int | width () const |
| int | height () const |
| int | priority () const |
| bool | asynchronous () const |
| Page * | page () const |
Friends | |
| class | Document |
| class | DocumentPrivate |
| class | PixmapRequestPrivate |
Constructor & Destructor Documentation
| PixmapRequest::PixmapRequest | ( | int | id, | |
| int | pageNumber, | |||
| int | width, | |||
| int | height, | |||
| int | priority, | |||
| bool | asynchronous | |||
| ) |
Creates a new pixmap request.
- Parameters:
-
id The observer id. pageNumber The page number. width The width of the page. height The height of the page. priority The priority of the request. asynchronous The mode of generation.
Definition at line 361 of file generator.cpp.
| PixmapRequest::~PixmapRequest | ( | ) |
Member Function Documentation
| int PixmapRequest::id | ( | ) | const |
| int PixmapRequest::pageNumber | ( | ) | const |
| int PixmapRequest::width | ( | ) | const |
| int PixmapRequest::height | ( | ) | const |
| int PixmapRequest::priority | ( | ) | const |
Returns the priority (less it better, 0 is maximum) of the request.
Definition at line 397 of file generator.cpp.
| bool PixmapRequest::asynchronous | ( | ) | const |
Returns whether the generation should be done synchronous or asynchronous.
If asynchronous, the pixmap is created in a thread and the observer is notified when the job is done.
Definition at line 402 of file generator.cpp.
| Page * PixmapRequest::page | ( | ) | const |
Returns a pointer to the page where the pixmap shall be generated for.
Definition at line 407 of file generator.cpp.
Friends And Related Function Documentation
friend class Document [friend] |
Definition at line 457 of file generator.h.
friend class DocumentPrivate [friend] |
Definition at line 458 of file generator.h.
friend class PixmapRequestPrivate [friend] |
Definition at line 521 of file generator.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference