• Skip to content
  • Skip to link menu
KDE 4.2 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 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 (  ) 

Destroys the pixmap request.

Definition at line 427 of file generator.cpp.


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

Returns the page height of the requested pixmap.

Definition at line 447 of file generator.cpp.

int PixmapRequest::id (  )  const

Returns the observer id of the request.

Definition at line 432 of file generator.cpp.

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

Returns the page number of the request.

Definition at line 437 of file generator.cpp.

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

Returns the page width of the requested pixmap.

Definition at line 442 of file generator.cpp.


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