summaryrefslogtreecommitdiffstats
path: root/src/documentationpart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentationpart.h')
-rw-r--r--src/documentationpart.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/documentationpart.h b/src/documentationpart.h
new file mode 100644
index 00000000..b992bbf0
--- /dev/null
+++ b/src/documentationpart.h
@@ -0,0 +1,25 @@
+#ifndef __DOCUMENTATIONPART_H__
+#define __DOCUMENTATIONPART_H__
+
+#include <kdevhtmlpart.h>
+
+/**
+HTML documentation part.
+
+Implements shell-dependent "duplicate" and "open in new window" actions of KDevHTMLPart.
+*/
+class HTMLDocumentationPart : public KDevHTMLPart
+{
+ Q_OBJECT
+
+public:
+
+ HTMLDocumentationPart();
+
+protected slots:
+
+ virtual void slotDuplicate();
+ virtual void slotOpenInNewWindow(const KURL &url);
+};
+
+#endif