BridgeUsageDialog Class Reference

#include <BridgeUsageDialog.h>

List of all members.

Public Member Functions

 BridgeUsageDialog (QWidget *parent=0)
void update (const QDateTime &timeStarted, const QHash< QString, int > &countrySummary)

Protected Member Functions

void showEvent (QShowEvent *e)

Private Attributes

Ui::BridgeUsageDialog ui

Detailed Description

Definition at line 28 of file BridgeUsageDialog.h.


Constructor & Destructor Documentation

BridgeUsageDialog::BridgeUsageDialog ( QWidget *  parent = 0  ) 

Default constructor.

Definition at line 26 of file BridgeUsageDialog.cpp.

References ui.


Member Function Documentation

void BridgeUsageDialog::showEvent ( QShowEvent *  e  )  [protected]

Called when the dialog is displayed. Adjusts the size of the column headers.

Definition at line 36 of file BridgeUsageDialog.cpp.

References ui.

void BridgeUsageDialog::update ( const QDateTime &  timeStarted,
const QHash< QString, int > &  countrySummary 
)

Updates the dialog with current bridge usage information.

Definition at line 47 of file BridgeUsageDialog.cpp.

References CountryInfo::countryName(), and ui.

Referenced by ServerPage::displayBridgeUsage().


Member Data Documentation

Ui::BridgeUsageDialog BridgeUsageDialog::ui [private]

Definition at line 49 of file BridgeUsageDialog.h.

Referenced by BridgeUsageDialog(), showEvent(), and update().


The documentation for this class was generated from the following files:
Generated on Mon Aug 30 22:58:56 2010 for Vidalia by  doxygen 1.6.3