~jackweirdy/vidalia/680192

« back to all changes in this revision

Viewing changes to src/vidalia/config/UPNPTestDialog.h

  • Committer: Package Import Robot
  • Author(s): Ulises Vitulli
  • Date: 2012-06-22 07:18:44 UTC
  • mfrom: (1.3.9)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: package-import@ubuntu.com-20120622071844-8fgna0qpymsflky1
Tags: upstream-0.2.19
ImportĀ upstreamĀ versionĀ 0.2.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
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 
 
3
**  LICENSE file, found in the top level directory of this distribution. If
4
4
**  you did not receive the LICENSE file with this file, you may obtain it
5
5
**  from the 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 
 
6
**  http://www.torproject.org/projects/vidalia.html. No part of Vidalia,
 
7
**  including this file, may be copied, modified, propagated, or distributed
8
8
**  except according to the terms described in the LICENSE file.
9
9
*/
10
10
 
11
 
/* 
 
11
/*
12
12
** \file UPNPTestDialog.h
13
13
** \brief Dialog that displays the progress of a UPnP configuration test
14
14
*/
48
48
   * Retry is clicked, another UPnP test will be conducted. If Close is clicked,
49
49
   * then the dialog is closed and the original UPnP state restored. */
50
50
  void clicked(QAbstractButton *button);
51
 
  
 
51
 
52
52
  /** Updates the test UI based on the UPnP <b>state</b>. */
53
53
  void upnpStateChanged(UPNPControl::UPNPState state);
54
54
 
70
70
 
71
71
private:
72
72
  /** Pointer to the UPNPControl singleton instance. */
73
 
  UPNPControl *_upnp; 
74
 
  
 
73
  UPNPControl *_upnp;
 
74
 
75
75
  /** Timer used to update the progress bar while during the device discovery
76
76
   * portion of the test. */
77
77
  QTimer _discoverTimer;
78
 
  
 
78
 
79
79
  quint16 _oldOrPort;  /**< Original (pre-test) forwarded ORPort. */
80
80
  quint16 _oldDirPort; /**< Original (pre-test) forwarded DirPort. */
81
81
  quint16 _orPort;     /**< ORPort used during the test. */
82
82
  quint16 _dirPort;    /**< DirPort used during the test. */
83
 
  
 
83
 
84
84
  Ui::UPNPTestDialog ui;
85
85
};
86
86