diff options
author | Saturneric <[email protected]> | 2021-06-26 18:32:15 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-26 18:32:15 +0000 |
commit | 009fa10af30f3f08e7a3ee986c937f82ce00e38a (patch) | |
tree | 2465e9a252c2df481ce5c0e4b172059980d9a001 /include/ui/widgets/TextEdit.h | |
parent | Reply work. (diff) | |
download | GpgFrontend-009fa10af30f3f08e7a3ee986c937f82ce00e38a.tar.gz GpgFrontend-009fa10af30f3f08e7a3ee986c937f82ce00e38a.zip |
Develop File Opera Functions
Diffstat (limited to 'include/ui/widgets/TextEdit.h')
-rw-r--r-- | include/ui/widgets/TextEdit.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/ui/widgets/TextEdit.h b/include/ui/widgets/TextEdit.h index 99b8bcc7..8e1df675 100644 --- a/include/ui/widgets/TextEdit.h +++ b/include/ui/widgets/TextEdit.h @@ -40,7 +40,7 @@ public: /** * @brief */ - TextEdit(); + TextEdit(QWidget *parent); /** * @details Load the content of file into the current textpage @@ -136,6 +136,11 @@ public slots: void slotNewTab(); /** + * @details Adds a new tab with opening file by path + */ + void slotOpenFile(QString &path); + + /** * @details Adds a new tab with the given title and opens given html file. * Increase Tab-Count by one * @param title title for the tab @@ -195,6 +200,8 @@ private: private slots: + void slotFilePagePathChanged(const QString& path); + /** * @details Remove the tab with given index * |