aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'textedit.h')
-rw-r--r--textedit.h9
1 files changed, 9 insertions, 0 deletions
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
@@ -129,6 +130,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
*/
void showModified();