okular
Okular::PixmapRequest Class Reference
#include <generator.h>
Detailed Description
Describes a pixmap type request.Definition at line 482 of file generator.h.
Public Member Functions | |
| bool | asynchronous () const |
| int | height () const |
| int | id () const |
| Page * | page () const |
| int | pageNumber () const |
| PixmapRequest (int id, int pageNumber, int width, int height, int priority, bool asynchronous) | |
| int | priority () const |
| int | width () const |
| ~PixmapRequest () | |
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 415 of file generator.cpp.
| PixmapRequest::~PixmapRequest | ( | ) |
Member Function Documentation
| 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 457 of file generator.cpp.
| int PixmapRequest::height | ( | ) | const |
| int PixmapRequest::id | ( | ) | const |
| Page * PixmapRequest::page | ( | ) | const |
Returns a pointer to the page where the pixmap shall be generated for.
Definition at line 462 of file generator.cpp.
| int PixmapRequest::pageNumber | ( | ) | const |
| int PixmapRequest::priority | ( | ) | const |
Returns the priority (less it better, 0 is maximum) of the request.
Definition at line 452 of file generator.cpp.
| int PixmapRequest::width | ( | ) | const |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference