diff options
author | saturneric <[email protected]> | 2024-12-02 17:10:01 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-12-02 19:32:59 +0000 |
commit | 0b5131cd895f6c4f7fc21af6740d03952a2463af (patch) | |
tree | 18d3eeac659e18346aa1477a318c47fecc094c0c /src/ui/widgets/TextEdit.h | |
parent | translations: update zh_CN and de_DE (diff) | |
download | GpgFrontend-0b5131cd895f6c4f7fc21af6740d03952a2463af.tar.gz GpgFrontend-0b5131cd895f6c4f7fc21af6740d03952a2463af.zip |
fix: qt5 build issues
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r-- | src/ui/widgets/TextEdit.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h index 68b648e5..d37e01ce 100644 --- a/src/ui/widgets/TextEdit.h +++ b/src/ui/widgets/TextEdit.h @@ -28,7 +28,6 @@ #pragma once -#include "ui/dialog/QuitDialog.h" #include "ui/widgets/EMailEditorPage.h" #include "ui/widgets/FilePage.h" #include "ui/widgets/PlainTextEditorPage.h" @@ -110,19 +109,19 @@ class TextEdit : public QWidget { */ [[nodiscard]] auto TabWidget() const -> QTabWidget*; - public slots: - /** * @details Return pointer to the currently activated text edit tab page. * */ - [[nodiscard]] auto SlotCurPageTextEdit() const -> PlainTextEditorPage*; + [[nodiscard]] auto CurPageTextEdit() const -> PlainTextEditorPage*; /** * @details Return pointer to the currently activated file tree view tab page. * */ - [[nodiscard]] auto SlotCurPageFileTreeView() const -> FilePage*; + [[nodiscard]] auto CurPageFileTreeView() const -> FilePage*; + + public slots: /** * @details Insert a ">" at the beginning of every line of current textedit. @@ -147,7 +146,7 @@ class TextEdit : public QWidget { * * @return Return the return value of the savefile method */ - auto SlotSaveAs() -> bool; + bool SlotSaveAs(); /** * @details Show an OpenFileDoalog and open the file in a new tab. @@ -287,7 +286,7 @@ class TextEdit : public QWidget { * @return true * @return false */ - auto SlotSaveAsEML() -> bool; + bool SlotSaveAsEML(); protected: /** |