• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdegraphics
  • Sitemap
  • Contact Us
 

okular

Okular::PixmapRequest

Okular::PixmapRequest Class Reference

#include <generator.h>

List of all members.


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 (  ) 

Destroys the pixmap request.

Definition at line 372 of file generator.cpp.


Member Function Documentation

int PixmapRequest::id (  )  const

Returns the observer id of the request.

Definition at line 377 of file generator.cpp.

int PixmapRequest::pageNumber (  )  const

Returns the page number of the request.

Definition at line 382 of file generator.cpp.

int PixmapRequest::width (  )  const

Returns the page width of the requested pixmap.

Definition at line 387 of file generator.cpp.

int PixmapRequest::height (  )  const

Returns the page height of the requested pixmap.

Definition at line 392 of file generator.cpp.

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:
  • generator.h
  • generator.cpp

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdegraphics

Skip menu "kdegraphics"
  • okular
Generated for kdegraphics by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal