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

[vidalia-svn] r2526: Commenting cleanups from Domenik. (in vidalia/trunk: . src/vidalia/config)



Author: edmanm
Date: 2008-04-14 15:35:19 -0400 (Mon, 14 Apr 2008)
New Revision: 2526

Modified:
   vidalia/trunk/
   vidalia/trunk/src/vidalia/config/service.cpp
   vidalia/trunk/src/vidalia/config/service.h
   vidalia/trunk/src/vidalia/config/servicepage.h
Log:
 r380@lysithea:  edmanm | 2008-04-14 15:28:16 -0400
 Commenting cleanups from Domenik.



Property changes on: vidalia/trunk
___________________________________________________________________
 svk:merge ticket from /local/vidalia/trunk [r380] on 90112fd6-a33b-4cea-8d39-48ff1d78625c

Modified: vidalia/trunk/src/vidalia/config/service.cpp
===================================================================
--- vidalia/trunk/src/vidalia/config/service.cpp	2008-04-14 19:35:17 UTC (rev 2525)
+++ vidalia/trunk/src/vidalia/config/service.cpp	2008-04-14 19:35:19 UTC (rev 2526)
@@ -108,6 +108,7 @@
   return in;
 }
 
+/** this method creates a string by concatenating the values of the service */
 QString
 Service::toString()
 {

Modified: vidalia/trunk/src/vidalia/config/service.h
===================================================================
--- vidalia/trunk/src/vidalia/config/service.h	2008-04-14 19:35:17 UTC (rev 2525)
+++ vidalia/trunk/src/vidalia/config/service.h	2008-04-14 19:35:19 UTC (rev 2526)
@@ -57,7 +57,7 @@
   /** Reads service class data in from the QDataStream <b>in</b> and
   populates * the <b>myObj</b> object accordingly. */
   friend QDataStream& operator>>(QDataStream &in, Service &myObj);
-
+  /** this method creates a string by concatenating the values of the service */
   QString toString();
 
 private:

Modified: vidalia/trunk/src/vidalia/config/servicepage.h
===================================================================
--- vidalia/trunk/src/vidalia/config/servicepage.h	2008-04-14 19:35:17 UTC (rev 2525)
+++ vidalia/trunk/src/vidalia/config/servicepage.h	2008-04-14 19:35:19 UTC (rev 2526)
@@ -46,15 +46,15 @@
   void copyToClipboard();
   /** this method is called whenefer the user clicks on the 'browse' Button*/
   void browseDirectory();
-  /** this method is called whenefer the selects a different service*/
+  /** this method is called whenefer the user selects a different service*/
   void serviceSelectionChanged();
   /** this method returns a list of services by parsing the configuration
    *  string given by the tor controller */
   QList<Service> extractSingleServices(QString conf);
-  /** this return a Service by parseing the configuration string
-   *  of Tor and storeing its values into the object */
+  /** this method returns a Service by parsing the configuration string
+   *  of Tor and storing its values into the object */
   Service generateService(QString serviceString);
-  /** this method checks either a service is published or not */
+  /** this method starts all services, given in the list, with Tor */
   void startServicesInTor(QList<Service> services);
   /** this method checks either a service is published or not */
   bool isServicePublished(Service service, QList<Service> torServices);
@@ -73,9 +73,9 @@
   TorSettings *_torSettings;
   /** A ServiceSettings object used to load/save the services. */
   ServiceSettings* _serviceSettings;
-  /* A QMap, mapping from QString servicename to the Entity service */
+  /** A QMap, mapping from the row number in the table to the service Entity */
   QMap<int, Service>* _services;
-  /* A QList, consisting of all running services before vidalia starts*/
+  /** A QList, consisting of all running services before vidalia starts */
   QMap<QString, Service>* _torServices;
   /** Qt Designer generated object */
   Ui::ServicePage ui;