aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/TextEdit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r--src/ui/widgets/TextEdit.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h
index d37e01ce..f994cb1a 100644
--- a/src/ui/widgets/TextEdit.h
+++ b/src/ui/widgets/TextEdit.h
@@ -193,11 +193,23 @@ class TextEdit : public QWidget {
void SlotNewHelpTab(const QString& title, const QString& path) const;
/**
+ * @brief
+ *
+ */
+ void SlotNewDefaultFileBrowserTab();
+
+ /**
* New File Tab to do file operation
*/
void SlotNewFileBrowserTab();
/**
+ * @brief
+ *
+ */
+ void SlotNewFileBrowserTabWithDirectory();
+
+ /**
* @details put a * in front of current tabs title, if current textedit is
* modified
*/
@@ -312,7 +324,15 @@ class TextEdit : public QWidget {
*/
void slot_remove_tab(int index);
+ /**
+ * @brief
+ *
+ */
+ void slot_restore_unsaved_tabs();
+
private:
+ TextEditTabWidget* tab_widget_; ///< widget containing the tabs of the editor
+
/**
* @details return just a filename stripped of a whole path
*
@@ -327,8 +347,6 @@ class TextEdit : public QWidget {
* @param askToSave
*/
auto maybe_save_current_tab(bool askToSave) -> bool;
-
- TextEditTabWidget* tab_widget_; ///< widget containing the tabs of the editor
};
} // namespace GpgFrontend::UI