Commit 548597ab authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Fix typos in comments

parent 98276616
......@@ -152,7 +152,7 @@ bool DDCutilBrightness::isSupported() const
long DDCutilBrightness::brightness()
{
#ifdef WITH_DDCUTIL
//we check wether the timer is running, this means we received new values but did not send them yet to the monitor
//we check whether the timer is running, this means we received new values but did not send them yet to the monitor
//not checking that results in the brightness slider jump to the previous vqlue when changing.
if(m_setBrightnessEventFilter.isActive()) {
m_lastBrightnessKnown = m_tmpCurrentBrightness;
......
......@@ -98,35 +98,35 @@ public:
virtual int toggled() const;
/**
* Retreive the current brightness value.
* Retrieve the current brightness value.
*
* @return Raw brightness value, from 0 to valueMax
*/
int value() const;
/**
* Retreive the maximum possible brightness value for this device.
* Retrieve the maximum possible brightness value for this device.
*
* @return Maximum possible brightness value
*/
int valueMax() const;
/**
* Retreive the brightness step that is closest to the current brightness value.
* Retrieve the brightness step that is closest to the current brightness value.
*
* @return Nearest brightness step
*/
int step() const;
/**
* Retreive the maximum possible brightness step for this instance
* Retrieve the maximum possible brightness step for this instance
*
* @return Maximum possible brightness step
*/
int steps() const;
/**
* Retreive the supplied brightness value expressed as a percentage from 0 to 100
* Retrieve the supplied brightness value expressed as a percentage from 0 to 100
*
* @param value Brightness value, from 0 to valueMax
* @return The brightness percentage for the supplied value
......@@ -134,7 +134,7 @@ public:
float percentage(int value) const;
/**
* Retreive a copy of the current brightness state
* Retrieve a copy of the current brightness state
*
* @return A struct that contains the current brightness state.
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment