]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/qt-console/help/help.h
1d35387c8eb0fb5bd319bc1cac2a91f74c75a94c
[bacula/bacula] / bacula / src / qt-console / help / help.h
1 #ifndef _HELP_H_
2 #define _HELP_H_
3
4 /*
5    Bacula® - The Network Backup Solution
6
7    Copyright (C) 2007-2007 Free Software Foundation Europe e.V.
8
9    The main author of Bacula is Kern Sibbald, with contributions from
10    many others, a complete list can be found in the file AUTHORS.
11    This program is Free Software; you can redistribute it and/or
12    modify it under the terms of version two of the GNU General Public
13    License as published by the Free Software Foundation plus additions
14    that are listed in the file LICENSE.
15
16    This program is distributed in the hope that it will be useful, but
17    WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19    General Public License for more details.
20
21    You should have received a copy of the GNU General Public License
22    along with this program; if not, write to the Free Software
23    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24    02110-1301, USA.
25
26    Bacula® is a registered trademark of John Walker.
27    The licensor of Bacula is the Free Software Foundation Europe
28    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
29    Switzerland, email:ftf@fsfeurope.org.
30 */
31  
32 /*
33  *  Help Window class
34  *
35  *    It reads an html file and displays it in a "browser" window.
36  *
37  *   Kern Sibbald, May MMVII
38  *
39  *  $Id: $
40  */ 
41
42 #include "bat.h"
43 #include "ui_help.h"
44
45 class Help : public QWidget, public Ui::helpForm
46 {
47    Q_OBJECT 
48
49 public:
50    Help(const QString &path, const QString &file, QWidget *parent = NULL);
51    virtual ~Help() { };
52    static void showFile(const QString &file);
53
54 public slots:
55    void updateTitle();
56
57 private:
58 };
59
60 #endif /* _HELP_H_ */