Vidalia  0.2.15
LicenseDialog.h
Go to the documentation of this file.
00001 /*
00002 **  This file is part of Vidalia, and is subject to the license terms in the
00003 **  LICENSE file, found in the top level directory of this distribution. If you
00004 **  did not receive the LICENSE file with this file, you may obtain it from the
00005 **  Vidalia source package distributed by the Vidalia Project at
00006 **  http://www.torproject.org/projects/vidalia.html. No part of Vidalia, 
00007 **  including this file, may be copied, modified, propagated, or distributed 
00008 **  except according to the terms described in the LICENSE file.
00009 */
00010 
00011 /*
00012 ** \file LicenseDialog.h
00013 ** \brief Displays HTML-formatted license information for Vidalia and related
00014 ** software.
00015 */
00016 
00017 #ifndef _LICENSEDIALOG_H
00018 #define _LICENSEDIALOG_H
00019 
00020 #include "ui_LicenseDialog.h"
00021 
00022 
00023 class LicenseDialog : public QDialog
00024 {
00025   Q_OBJECT
00026 
00027 public:
00028   /** Default constructor.
00029    */
00030   LicenseDialog(QWidget *parent = 0);
00031 
00032 protected:
00033   /** Reads and returns all HTML-formatted text from <b>source</b>.
00034    */
00035   virtual QString loadHtml(const QString &source) const;
00036 
00037 private:
00038   Ui::LicenseDialog ui;
00039 };
00040 
00041 #endif
00042