aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.h
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-05 23:19:46 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-05 23:19:46 +0000
commitce392857bc680ef0dd895ccb2e02909389c26a33 (patch)
tree1b3c16ceba55b28071b2d50e3968f175a3b45ed1 /textedit.h
parentremove everything system tray related from trunk (diff)
downloadgpg4usb-ce392857bc680ef0dd895ccb2e02909389c26a33.tar.gz
gpg4usb-ce392857bc680ef0dd895ccb2e02909389c26a33.zip
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
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();