Vidalia  0.3.1
LicenseDialog.h
Go to the documentation of this file.
1 /*
2 ** This file is part of Vidalia, and is subject to the license terms in the
3 ** LICENSE file, found in the top level directory of this distribution. If you
4 ** did not receive the LICENSE file with this file, you may obtain it from the
5 ** Vidalia source package distributed by the Vidalia Project at
6 ** http://www.torproject.org/projects/vidalia.html. No part of Vidalia,
7 ** including this file, may be copied, modified, propagated, or distributed
8 ** except according to the terms described in the LICENSE file.
9 */
10 
11 /*
12 ** \file LicenseDialog.h
13 ** \brief Displays HTML-formatted license information for Vidalia and related
14 ** software.
15 */
16 
17 #ifndef _LICENSEDIALOG_H
18 #define _LICENSEDIALOG_H
19 
20 #include "ui_LicenseDialog.h"
21 
22 
23 class LicenseDialog : public QDialog
24 {
25  Q_OBJECT
26 
27 public:
28  /** Default constructor.
29  */
30  LicenseDialog(QWidget *parent = 0);
31 
32 protected:
33  /** Reads and returns all HTML-formatted text from <b>source</b>.
34  */
35  virtual QString loadHtml(const QString &source) const;
36 
37 private:
38  Ui::LicenseDialog ui;
39 };
40 
41 #endif
42