Crossfire Server, Trunk
HelpBrowser.h
Go to the documentation of this file.
1
/*
2
* Crossfire -- cooperative multi-player graphical RPG and adventure game
3
*
4
* Copyright (c) 2022 the Crossfire Development Team
5
*
6
* Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7
* welcome to redistribute it under certain conditions. For details, please
8
* see COPYING and LICENSE.
9
*
10
* The authors can be reached via e-mail at <crossfire@metalforge.org>.
11
*/
12
13
#ifndef HELPBROWSER_H
14
#define HELPBROWSER_H
15
16
#include <QTextBrowser>
17
18
class
QHelpEngine;
19
20
class
HelpBrowser
:
public
QTextBrowser {
21
Q_OBJECT
22
public
:
23
HelpBrowser
(QHelpEngine *
helpEngine
, QWidget *parent = 0);
24
virtual
QVariant
loadResource
(
int
type
,
const
QUrl &
name
)
override
;
25
26
private
:
27
QHelpEngine*
helpEngine
;
28
};
29
30
#endif
/* HELPBROWSER_H */
HelpBrowser::HelpBrowser
HelpBrowser(QHelpEngine *helpEngine, QWidget *parent=0)
Definition:
HelpBrowser.cpp:16
HelpBrowser::loadResource
virtual QVariant loadResource(int type, const QUrl &name) override
Definition:
HelpBrowser.cpp:19
HelpBrowser
Definition:
HelpBrowser.h:20
HelpBrowser::helpEngine
QHelpEngine * helpEngine
Definition:
HelpBrowser.h:27
is_valid_types_gen.type
list type
Definition:
is_valid_types_gen.py:25
give.name
name
Definition:
give.py:27
crossfire-crossfire-server
utils
cre
HelpBrowser.h
Generated by
1.8.17