diff options
author | Saturneric <[email protected]> | 2022-02-02 06:47:24 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-02-02 06:47:24 +0000 |
commit | 3780c1baab8562e15eade1c1be25ccebd0e70814 (patch) | |
tree | 0f7984b0725830cad6492bd91a4d6adaf58601c2 /src/ui/widgets/TextEdit.h | |
parent | <doc>(project): Separate user manual from development documentation. (diff) | |
download | GpgFrontend-3780c1baab8562e15eade1c1be25ccebd0e70814.tar.gz GpgFrontend-3780c1baab8562e15eade1c1be25ccebd0e70814.zip |
<refactor, fix>(ui): Repair and tidy the signal and slot docking
1. Use more modern ways.
2. Repair partial docking.
Diffstat (limited to 'src/ui/widgets/TextEdit.h')
-rw-r--r-- | src/ui/widgets/TextEdit.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/ui/widgets/TextEdit.h b/src/ui/widgets/TextEdit.h index e5b6b0ed..cb32bfb2 100644 --- a/src/ui/widgets/TextEdit.h +++ b/src/ui/widgets/TextEdit.h @@ -221,50 +221,52 @@ class TextEdit : public QWidget { */ void slot_remove_tab(int index); + public slots: + /** * @details Cut selected text in current text page. */ - void slot_cut() const; + void SlotCut() const; /** * @details Copy selected text of current text page to clipboard. */ - void slot_copy() const; + void SlotCopy() const; /** * @details Paste text from clipboard to current text page. */ - void slot_paste() const; + void SlotPaste() const; /** * @details Undo last change in current textpage. * */ - void slot_undo() const; + void SlotUndo() const; /** * @brief redo last change in current text page * */ - void slot_redo() const; + void SlotRedo() const; /** * @brief * */ - void slot_zoom_in() const; + void SlotZoomIn() const; /** * @brief * */ - void slot_zoom_out() const; + void SlotZoomOut() const; /** * @brief select all in current text page * */ - void slot_select_all() const; + void SlotSelectAll() const; protected: /** |