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.vidalia-project.net/. No part of Vidalia, including this file, 00007 ** may be copied, modified, propagated, or distributed except according to the 00008 ** terms described in the LICENSE file. 00009 */ 00010 00011 /* 00012 ** \file aboutdialog.h 00013 ** \version $Id: aboutdialog.h 2362 2008-02-29 04:30:11Z edmanm $ 00014 ** \brief Displays information about Vidalia, Tor, and Qt 00015 */ 00016 00017 #ifndef _ABOUTDIALOG_H 00018 #define _ABOUTDIALOG_H 00019 00020 #include <torcontrol.h> 00021 #include <vidaliawindow.h> 00022 #include "ui_aboutdialog.h" 00023 00024 00025 class AboutDialog : public VidaliaWindow 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 /** Default constructor **/ 00031 AboutDialog(QWidget *parent = 0, Qt::WFlags flags = 0); 00032 00033 public slots: 00034 /** Overriden VidaliaWindow::showWindow() */ 00035 void showWindow(); 00036 00037 private: 00038 /** Loads the license file */ 00039 void loadLicense(); 00040 00041 /** Qt Designer generated QObject **/ 00042 Ui::AboutDialog ui; 00043 /** TorControl for access to Tor version info **/ 00044 TorControl *_torControl; 00045 }; 00046 00047 #endif 00048