[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r2527: Small cleanups to Domenik's cleanups. (in vidalia/trunk: . src/vidalia/config)
Author: edmanm
Date: 2008-04-14 15:35:20 -0400 (Mon, 14 Apr 2008)
New Revision: 2527
Modified:
vidalia/trunk/
vidalia/trunk/src/vidalia/config/service.cpp
vidalia/trunk/src/vidalia/config/servicepage.h
Log:
r381@lysithea: edmanm | 2008-04-14 15:35:06 -0400
Small cleanups to Domenik's cleanups.
Property changes on: vidalia/trunk
___________________________________________________________________
svk:merge ticket from /local/vidalia/trunk [r381] 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:19 UTC (rev 2526)
+++ vidalia/trunk/src/vidalia/config/service.cpp 2008-04-14 19:35:20 UTC (rev 2527)
@@ -108,7 +108,7 @@
return in;
}
-/** this method creates a string by concatenating the values of the service */
+/** Creates a string by concatenating the values of the service. */
QString
Service::toString()
{
Modified: vidalia/trunk/src/vidalia/config/servicepage.h
===================================================================
--- vidalia/trunk/src/vidalia/config/servicepage.h 2008-04-14 19:35:19 UTC (rev 2526)
+++ vidalia/trunk/src/vidalia/config/servicepage.h 2008-04-14 19:35:20 UTC (rev 2527)
@@ -24,7 +24,6 @@
Q_OBJECT
public:
-
/** Default Constructor */
ServicePage(QWidget *parent = 0);
/** Default Destructor */
@@ -37,36 +36,33 @@
void initServiceTable(QMap<int, Service>* _services);
private slots:
-
- /** this method is called whenefer the user clicks on the 'add' Button*/
+ /** Called whenever the user clicks on the 'add' button. */
void addService();
- /** this method is called whenefer the user clicks on the 'remove' Button*/
+ /** Called whenever the user clicks on the 'remove' button. */
void removeService();
- /** this method is called whenefer the user clicks on the 'copy' Button*/
+ /** Called whenever the user clicks on the 'copy' button. */
void copyToClipboard();
- /** this method is called whenefer the user clicks on the 'browse' Button*/
+ /** Called whenever the user clicks on the 'browse' button. */
void browseDirectory();
- /** this method is called whenefer the user selects a different service*/
+ /** Called whenever 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 */
+ /** Returns a list of services by parsing the configuration string given
+ * by the Tor controller. */
QList<Service> extractSingleServices(QString conf);
- /** this method returns a Service by parsing the configuration string
- * of Tor and storing its values into the object */
+ /** Returns a Service by parsing the configuration string from Tor and
+ * storing its values into the Service object. */
Service generateService(QString serviceString);
- /** this method starts all services, given in the list, with Tor */
+ /** Starts all services in <b>services</b>, with Tor. */
void startServicesInTor(QList<Service> services);
- /** this method checks either a service is published or not */
+ /** Returns true if <b>service</b> is published. */
bool isServicePublished(Service service, QList<Service> torServices);
- /** this method checks if either all services have minimal
- * configuration or not */
+ /** Returns true if all services have the required minimal configuration. */
bool checkBeforeSaving(QList<Service> services);
- /** this method is called when the user finished editing a cell and
- * it provides that only valid values are set */
+ /** Called when the user finished editing a cell and checks that only valid
+ * values are set. */
void valueChanged();
private:
-
/** A TorControl object used to talk to Tor. */
TorControl* _torControl;
/** A TorSettings object used for saving/loading the Tor settings */