Canorus
0.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
widgets
helpbrowser.h
Go to the documentation of this file.
1
8
#ifndef HELPBROWSER_H_
9
#define HELPBROWSER_H_
10
11
#include <QTextBrowser>
12
class
QHelpEngine;
13
14
class
CAHelpBrowser
:
public
QTextBrowser
{
15
Q_OBJECT
16
public
:
17
CAHelpBrowser
(
QWidget
* parent = 0, QHelpEngine *
helpEngine
= 0);
18
~CAHelpBrowser
() {}
19
QVariant
loadResource
(
int
type,
const
QUrl& url);
20
void
setSource
(
const
QUrl& url);
21
inline
void
setHelpEngine
(QHelpEngine*
helpEngine
) {
_helpEngine
=
helpEngine
; }
22
inline
QHelpEngine*
helpEngine
() {
return
_helpEngine
; }
23
private
:
24
QHelpEngine*
_helpEngine
;
25
};
26
27
#endif
/* HELPBROWSER_H_ */
28
Generated on Fri Jan 11 2013 14:40:13 for Canorus by
1.8.3