[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[vidalia-svn] r1227: Tidy up some comments and whitespace. (trunk/src/gui/bwgraph)
Author: edmanm
Date: 2006-09-22 19:04:30 -0400 (Fri, 22 Sep 2006)
New Revision: 1227
Modified:
trunk/src/gui/bwgraph/bwgraph.cpp
Log:
Tidy up some comments and whitespace.
Modified: trunk/src/gui/bwgraph/bwgraph.cpp
===================================================================
--- trunk/src/gui/bwgraph/bwgraph.cpp 2006-09-22 22:53:15 UTC (rev 1226)
+++ trunk/src/gui/bwgraph/bwgraph.cpp 2006-09-22 23:04:30 UTC (rev 1227)
@@ -81,10 +81,8 @@
#endif
}
-/**
- Custom event handler. Checks if the event is a bandwidth update event. If it
- is, it will add the data point to the history and updates the graph.
-*/
+/** Custom event handler. Checks if the event is a bandwidth update event. If it
+ * is, it will add the data point to the history and updates the graph. */
void
BandwidthGraph::customEvent(QEvent *event)
{
@@ -94,9 +92,7 @@
}
}
-/**
- Binds events to actions
-*/
+/** Binds events to actions. */
void
BandwidthGraph::createActions()
{
@@ -116,9 +112,7 @@
this, SLOT(setOpacity(int)));
}
-/**
- Adds new data to the graph
-*/
+/** Adds new data to the graph. */
void
BandwidthGraph::updateGraph(quint64 bytesRead, quint64 bytesWritten)
{
@@ -126,9 +120,7 @@
ui.frmGraph->addPoints(bytesRead/1024.0, bytesWritten/1024.0);
}
-/**
- Loads the saved Bandwidth Graph settings
-*/
+/** Loads the saved Bandwidth Graph settings. */
void
BandwidthGraph::loadSettings()
{
@@ -155,9 +147,7 @@
ui.chkSendRate->isChecked());
}
-/**
- Resets the log start time
-*/
+/** Resets the log start time. */
void
BandwidthGraph::reset()
{
@@ -169,9 +159,7 @@
ui.frmGraph->resetGraph();
}
-/**
- Saves the Bandwidth Graph settings and adjusts the graph if necessary
-*/
+/** Saves the Bandwidth Graph settings and adjusts the graph if necessary. */
void
BandwidthGraph::saveChanges()
{
@@ -206,9 +194,7 @@
showNormal();
}
-/**
- Simply restores the previously saved settings
-*/
+/** Simply restores the previously saved settings. */
void
BandwidthGraph::cancelChanges()
{
@@ -219,9 +205,7 @@
loadSettings();
}
-/**
- Toggles the Settings pane on and off, changes toggle button text
-*/
+/** Toggles the Settings pane on and off, changes toggle button text. */
void
BandwidthGraph::showSettingsFrame(bool show)
{
@@ -249,9 +233,7 @@
resize(newSize);
}
-/**
- Sets the opacity of the Bandwidth Graph window
-*/
+/** Sets the opacity of the Bandwidth Graph window. */
void
BandwidthGraph::setOpacity(int value)
{
@@ -271,9 +253,7 @@
#endif
}
-/**
- Overloads the default show() slot so we can set opacity
-*/
+/** Overloads the default show() slot so we can set opacity. */
void
BandwidthGraph::show()
{