Vidalia
0.3.1
|
#include <BridgeUsageDialog.h>
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 |
Definition at line 27 of file BridgeUsageDialog.h.
BridgeUsageDialog::BridgeUsageDialog | ( | QWidget * | parent = 0 | ) |
|
protected |
Called when the dialog is displayed. Adjusts the size of the column headers.
Definition at line 35 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 46 of file BridgeUsageDialog.cpp.
References CountryInfo::countryName(), and ui.
Referenced by ServerPage::displayBridgeUsage().
|
private |
Definition at line 48 of file BridgeUsageDialog.h.
Referenced by BridgeUsageDialog(), showEvent(), and update().