Changeset View
Changeset View
Standalone View
Standalone View
lib/document/document.h
Show First 20 Lines • Show All 191 Lines • ▼ Show 20 Line(s) | 73 | public: | |||
---|---|---|---|---|---|
192 | 192 | | |||
193 | /** | 193 | /** | ||
194 | * Stops animation. Only sensible if isAnimated() returns true. | 194 | * Stops animation. Only sensible if isAnimated() returns true. | ||
195 | */ | 195 | */ | ||
196 | void stopAnimation(); | 196 | void stopAnimation(); | ||
197 | 197 | | |||
198 | void enqueueJob(DocumentJob*); | 198 | void enqueueJob(DocumentJob*); | ||
199 | 199 | | |||
200 | void imageOperationCompleted(); | ||||
201 | | ||||
200 | /** | 202 | /** | ||
201 | * Returns true if there are queued tasks for this document. | 203 | * Returns true if there are queued tasks for this document. | ||
202 | */ | 204 | */ | ||
203 | bool isBusy() const; | 205 | bool isBusy() const; | ||
204 | 206 | | |||
205 | Q_SIGNALS: | 207 | Q_SIGNALS: | ||
206 | void downSampledImageReady(); | 208 | void downSampledImageReady(); | ||
207 | void imageRectUpdated(const QRect&); | 209 | void imageRectUpdated(const QRect&); | ||
208 | void kindDetermined(const QUrl&); | 210 | void kindDetermined(const QUrl&); | ||
209 | void metaInfoLoaded(const QUrl&); | 211 | void metaInfoLoaded(const QUrl&); | ||
210 | void loaded(const QUrl&); | 212 | void loaded(const QUrl&); | ||
211 | void loadingFailed(const QUrl&); | 213 | void loadingFailed(const QUrl&); | ||
212 | void saved(const QUrl &oldUrl, const QUrl& newUrl); | 214 | void saved(const QUrl &oldUrl, const QUrl& newUrl); | ||
213 | void modified(const QUrl&); | 215 | void modified(const QUrl&); | ||
214 | void metaInfoUpdated(); | 216 | void metaInfoUpdated(); | ||
215 | void isAnimatedUpdated(); | 217 | void isAnimatedUpdated(); | ||
216 | void busyChanged(const QUrl&, bool); | 218 | void busyChanged(const QUrl&, bool); | ||
217 | void allTasksDone(); | 219 | void allTasksDone(); | ||
218 | 220 | | |||
219 | private Q_SLOTS: | 221 | private Q_SLOTS: | ||
220 | void emitMetaInfoLoaded(); | 222 | void emitMetaInfoLoaded(); | ||
221 | void emitLoaded(); | 223 | void emitLoaded(); | ||
222 | void emitLoadingFailed(); | 224 | void emitLoadingFailed(); | ||
223 | void slotUndoIndexChanged(); | | |||
224 | void slotSaveResult(KJob*); | 225 | void slotSaveResult(KJob*); | ||
225 | void slotJobFinished(KJob*); | 226 | void slotJobFinished(KJob*); | ||
226 | 227 | | |||
227 | private: | 228 | private: | ||
228 | friend class AbstractDocumentImpl; | 229 | friend class AbstractDocumentImpl; | ||
229 | friend class DocumentFactory; | 230 | friend class DocumentFactory; | ||
230 | friend struct DocumentPrivate; | 231 | friend struct DocumentPrivate; | ||
231 | friend class DownSamplingJob; | 232 | friend class DownSamplingJob; | ||
Show All 18 Lines |