diff options
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r-- | src/ui/widgets/TextEdit.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h index 6398cf34..2e2f949d 100644 --- a/src/ui/widgets/TextEdit.h +++ b/src/ui/widgets/TextEdit.h @@ -172,7 +172,7 @@ class TextEdit : public QWidget { * @details put a * in front of current tabs title, if current textedit is * modified */ - void SlotShowModified() const; + void SlotShowModified(bool) const; /** * @details close the current tab and decrease TabWidget->count by \a 1 @@ -193,6 +193,8 @@ class TextEdit : public QWidget { void SlotSwitchTabDown() const; private: + uint text_page_data_modified_count_ = 0; ///< + /** * @details return just a filename stripped of a whole path * @@ -221,6 +223,13 @@ class TextEdit : public QWidget { */ void slot_remove_tab(int index); + /** + * @brief + * + * @param index + */ + void slot_save_status_to_cache_for_revovery(); + public slots: /** |