Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisDocument.h
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | |||||
59 | class KoOdfReadStore; | 59 | class KoOdfReadStore; | ||
60 | class KoDocumentInfo; | 60 | class KoDocumentInfo; | ||
61 | class KoDocumentInfoDlg; | 61 | class KoDocumentInfoDlg; | ||
62 | class KisImportExportManager; | 62 | class KisImportExportManager; | ||
63 | class KisUndoStore; | 63 | class KisUndoStore; | ||
64 | class KisPart; | 64 | class KisPart; | ||
65 | class KisGridConfig; | 65 | class KisGridConfig; | ||
66 | class KisGuidesConfig; | 66 | class KisGuidesConfig; | ||
67 | class KisMirrorAxisConfig; | ||||
67 | class QDomDocument; | 68 | class QDomDocument; | ||
68 | class KisReferenceImagesLayer; | 69 | class KisReferenceImagesLayer; | ||
69 | 70 | | |||
70 | #define KIS_MIME_TYPE "application/x-krita" | 71 | #define KIS_MIME_TYPE "application/x-krita" | ||
71 | 72 | | |||
72 | /** | 73 | /** | ||
73 | * The %Calligra document class | 74 | * The %Calligra document class | ||
74 | * | 75 | * | ||
▲ Show 20 Lines • Show All 270 Lines • ▼ Show 20 Line(s) | 274 | /** | |||
345 | 346 | | |||
346 | KisGridConfig gridConfig() const; | 347 | KisGridConfig gridConfig() const; | ||
347 | void setGridConfig(const KisGridConfig &config); | 348 | void setGridConfig(const KisGridConfig &config); | ||
348 | 349 | | |||
349 | /// returns the guides data for this document. | 350 | /// returns the guides data for this document. | ||
350 | const KisGuidesConfig& guidesConfig() const; | 351 | const KisGuidesConfig& guidesConfig() const; | ||
351 | void setGuidesConfig(const KisGuidesConfig &data); | 352 | void setGuidesConfig(const KisGuidesConfig &data); | ||
352 | 353 | | |||
354 | const KisMirrorAxisConfig& mirrorAxisConfig() const; | ||||
355 | void setMirrorAxisConfig(const KisMirrorAxisConfig& config); | ||||
356 | | ||||
353 | QList<KoColorSet *> &paletteList(); | 357 | QList<KoColorSet *> &paletteList(); | ||
354 | void setPaletteList(const QList<KoColorSet *> &paletteList); | 358 | void setPaletteList(const QList<KoColorSet *> &paletteList); | ||
355 | 359 | | |||
356 | void clearUndoHistory(); | 360 | void clearUndoHistory(); | ||
357 | 361 | | |||
358 | 362 | | |||
359 | /** | 363 | /** | ||
360 | * Sets the modified flag on the document. This means that it has | 364 | * Sets the modified flag on the document. This means that it has | ||
▲ Show 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | 419 | Q_SIGNALS: | |||
447 | void sigGuidesConfigChanged(const KisGuidesConfig &config); | 451 | void sigGuidesConfigChanged(const KisGuidesConfig &config); | ||
448 | 452 | | |||
449 | void sigBackgroundSavingFinished(KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | 453 | void sigBackgroundSavingFinished(KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | ||
450 | 454 | | |||
451 | void sigCompleteBackgroundSaving(const KritaUtils::ExportFileJob &job, KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | 455 | void sigCompleteBackgroundSaving(const KritaUtils::ExportFileJob &job, KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | ||
452 | 456 | | |||
453 | void sigReferenceImagesChanged(); | 457 | void sigReferenceImagesChanged(); | ||
454 | 458 | | |||
459 | void sigMirrorAxisConfigChanged(); | ||||
460 | | ||||
455 | private Q_SLOTS: | 461 | private Q_SLOTS: | ||
456 | void finishExportInBackground(); | 462 | void finishExportInBackground(); | ||
457 | void slotChildCompletedSavingInBackground(KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | 463 | void slotChildCompletedSavingInBackground(KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | ||
458 | void slotCompleteAutoSaving(const KritaUtils::ExportFileJob &job, KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | 464 | void slotCompleteAutoSaving(const KritaUtils::ExportFileJob &job, KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | ||
459 | 465 | | |||
460 | void slotCompleteSavingDocument(const KritaUtils::ExportFileJob &job, KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | 466 | void slotCompleteSavingDocument(const KritaUtils::ExportFileJob &job, KisImportExportFilter::ConversionStatus status, const QString &errorMessage); | ||
461 | 467 | | |||
462 | void slotInitiateAsyncAutosaving(KisDocument *clonedDocument); | 468 | void slotInitiateAsyncAutosaving(KisDocument *clonedDocument); | ||
▲ Show 20 Lines • Show All 194 Lines • Show Last 20 Lines |