RouterInfoDialog Class Reference

#include <RouterInfoDialog.h>

List of all members.

Public Member Functions

 RouterInfoDialog (QWidget *parent=0)
void setRouterInfo (const QStringList &desc, const RouterStatus &status)
void setLocation (const QString &location)

Private Member Functions

quint64 adjustUptime (quint64 uptime, const QDateTime &published)

Private Attributes

Ui::RouterInfoDialog ui

Detailed Description

Definition at line 29 of file RouterInfoDialog.h.


Constructor & Destructor Documentation

RouterInfoDialog::RouterInfoDialog ( QWidget *  parent = 0  ) 

Default constructor.

Definition at line 22 of file RouterInfoDialog.cpp.

References ui.


Member Function Documentation

quint64 RouterInfoDialog::adjustUptime ( quint64  uptime,
const QDateTime &  published 
) [private]

Adjusts uptime to be the greater of either published or uptime plus the number of seconds elapsed since published.

Definition at line 29 of file RouterInfoDialog.cpp.

Referenced by setRouterInfo().

void RouterInfoDialog::setLocation ( const QString &  location  ) 

Sets the geographic location information displayed in the dialog to location.

Definition at line 75 of file RouterInfoDialog.cpp.

References ui.

void RouterInfoDialog::setRouterInfo ( const QStringList &  desc,
const RouterStatus status 
)

Member Data Documentation

Ui::RouterInfoDialog RouterInfoDialog::ui [private]

Definition at line 55 of file RouterInfoDialog.h.

Referenced by RouterInfoDialog(), setLocation(), and setRouterInfo().


The documentation for this class was generated from the following files:
Generated on Mon Aug 30 23:09:55 2010 for Vidalia by  doxygen 1.6.3