aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/TextEdit.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-07-13 09:32:04 +0000
committerSaturneric <[email protected]>2023-07-13 09:32:04 +0000
commita20527f4ba85b462f936f4ee54d93752f9c70ebe (patch)
tree95ac504aca96ce4da4e84a700fc0c48869ecaccd /src/ui/widgets/TextEdit.h
parentfix: update ui file of KeyList (diff)
downloadGpgFrontend-a20527f4ba85b462f936f4ee54d93752f9c70ebe.tar.gz
GpgFrontend-a20527f4ba85b462f936f4ee54d93752f9c70ebe.zip
feat: support resotring unsaved pages after a crash
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r--src/ui/widgets/TextEdit.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h
index 2e2f949d..f69bda4c 100644
--- a/src/ui/widgets/TextEdit.h
+++ b/src/ui/widgets/TextEdit.h
@@ -151,6 +151,12 @@ class TextEdit : public QWidget {
void SlotNewTab();
/**
+ * @details
+ *
+ */
+ void SlotNewTabWithContent(std::string title, const std::string& content);
+
+ /**
* @details Adds a new tab with opening file by path
*/
void SlotOpenFile(const QString& path);