mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #43: Save question
This commit is contained in:
@ -255,7 +255,7 @@ public:
|
||||
Q_DECLARE_FLAGS(Features, Feature)
|
||||
|
||||
void openDocument(const QString& fileName);
|
||||
void setDocument(pdf::PDFModifiedDocument document);
|
||||
void setDocument(pdf::PDFModifiedDocument document, bool isCurrentSaved);
|
||||
void closeDocument();
|
||||
|
||||
pdf::PDFWidget* getPdfWidget() const { return m_pdfWidget; }
|
||||
@ -287,6 +287,7 @@ public:
|
||||
void setIsBusy(bool isBusy);
|
||||
|
||||
bool canClose() const;
|
||||
bool askForSaveDocumentBeforeClose();
|
||||
|
||||
virtual QString getOriginalFileName() const override;
|
||||
virtual pdf::PDFTextSelection getSelectedText() const override;
|
||||
|
Reference in New Issue
Block a user