From ce392857bc680ef0dd895ccb2e02909389c26a33 Mon Sep 17 00:00:00 2001 From: ubbo Date: Mon, 5 Dec 2011 23:19:46 +0000 Subject: add functonality for opening online help in qtextbrowser tab git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@656 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- textedit.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'textedit.h') diff --git a/textedit.h b/textedit.h index 8c162c1..67efd7e 100644 --- a/textedit.h +++ b/textedit.h @@ -23,6 +23,7 @@ #define __TEXTEDIT_H__ #include "editorpage.h" +#include "helppage.h" #include "quitdialog.h" QT_BEGIN_NAMESPACE @@ -128,6 +129,14 @@ public slots: */ void newTab(); + /** + * @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 + * @param path path for html file to show + */ + void newHelpTab(QString title, QString path); + /** * @details put a * in front of current tabs title, if current textedit is modified */ -- cgit v1.2.3