Changeset View
Changeset View
Standalone View
Standalone View
core/generator.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | |||||
56 | class Page; | 56 | class Page; | ||
57 | class PixmapRequest; | 57 | class PixmapRequest; | ||
58 | class PixmapRequestPrivate; | 58 | class PixmapRequestPrivate; | ||
59 | class TextPage; | 59 | class TextPage; | ||
60 | class TextRequest; | 60 | class TextRequest; | ||
61 | class TextRequestPrivate; | 61 | class TextRequestPrivate; | ||
62 | class NormalizedRect; | 62 | class NormalizedRect; | ||
63 | class SourceReference; | 63 | class SourceReference; | ||
64 | class SignatureInfo; | ||||
64 | 65 | | |||
65 | /* Note: on contents generation and asynchronous queries. | 66 | /* Note: on contents generation and asynchronous queries. | ||
66 | * Many observers may want to request data syncronously or asynchronously. | 67 | * Many observers may want to request data syncronously or asynchronously. | ||
67 | * - Sync requests. These should be done in-place. | 68 | * - Sync requests. These should be done in-place. | ||
68 | * - Async request must be done in real background. That usually means a | 69 | * - Async request must be done in real background. That usually means a | ||
69 | * thread, such as QThread derived classes. | 70 | * thread, such as QThread derived classes. | ||
70 | * Once contents are available, they must be immediately stored in the | 71 | * Once contents are available, they must be immediately stored in the | ||
71 | * Page they refer to, and a signal is emitted as soon as storing | 72 | * Page they refer to, and a signal is emitted as soon as storing | ||
▲ Show 20 Lines • Show All 517 Lines • ▼ Show 20 Line(s) | 501 | protected: | |||
589 | void updatePageBoundingBox( int page, const NormalizedRect & boundingBox ); | 590 | void updatePageBoundingBox( int page, const NormalizedRect & boundingBox ); | ||
590 | 591 | | |||
591 | /** | 592 | /** | ||
592 | * Returns DPI, previously set via setDPI() | 593 | * Returns DPI, previously set via setDPI() | ||
593 | * @since 0.19 (KDE 4.13) | 594 | * @since 0.19 (KDE 4.13) | ||
594 | */ | 595 | */ | ||
595 | QSizeF dpi() const; | 596 | QSizeF dpi() const; | ||
596 | 597 | | |||
598 | /** | ||||
599 | * Creates a signed revision using information from @p info and stores the data | ||||
600 | * in @p buffer. | ||||
601 | * @since 1.4 | ||||
602 | */ | ||||
603 | virtual void requestSignedRevisionData( SignatureInfo *info, QByteArray *buffer ); | ||||
604 | | ||||
597 | protected Q_SLOTS: | 605 | protected Q_SLOTS: | ||
598 | /** | 606 | /** | ||
599 | * Gets the font data for the given font | 607 | * Gets the font data for the given font | ||
600 | * | 608 | * | ||
601 | * @since 0.8 (KDE 4.1) | 609 | * @since 0.8 (KDE 4.1) | ||
602 | */ | 610 | */ | ||
603 | void requestFontData(const Okular::FontInfo &font, QByteArray *data); | 611 | void requestFontData(const Okular::FontInfo &font, QByteArray *data); | ||
604 | 612 | | |||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |