[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r3460: Add a method for returning the geographic location previousl (vidalia/branches/marble/src/vidalia/network)



Author: edmanm
Date: 2009-01-19 01:46:08 -0500 (Mon, 19 Jan 2009)
New Revision: 3460

Modified:
   vidalia/branches/marble/src/vidalia/network/routerlistitem.h
Log:

Add a method for returning the geographic location previously set for a
RouterListItem.


Modified: vidalia/branches/marble/src/vidalia/network/routerlistitem.h
===================================================================
--- vidalia/branches/marble/src/vidalia/network/routerlistitem.h	2009-01-19 06:44:56 UTC (rev 3459)
+++ vidalia/branches/marble/src/vidalia/network/routerlistitem.h	2009-01-19 06:46:08 UTC (rev 3460)
@@ -48,6 +48,8 @@
   RouterDescriptor descriptor() const { return *_rd; }
   /** Sets the location information for this router item. */
   void setLocation(const GeoIp &geoip);
+  /** Returns the location information set for this router item. */
+  QString location() const { return _rd->location(); }
 
   /** Overload the comparison operator. */
   virtual bool operator<(const QTreeWidgetItem &other) const;