diff -r 90517678cc4f -r 453da2cfceef qtmobility/src/systeminfo/qsysteminfo.cpp --- a/qtmobility/src/systeminfo/qsysteminfo.cpp Mon May 03 13:18:40 2010 +0300 +++ b/qtmobility/src/systeminfo/qsysteminfo.cpp Fri May 14 16:41:33 2010 +0300 @@ -647,20 +647,23 @@ } /*! - Returns the display brightness of \a screen in %, 1 - 100 scale. + Returns the display brightness of the screen with index \a screenNumber in %, 1 - 100 scale. Depending on platform, displayBrightness may not be available due to differing hardware, software or driver implementation. In which case this will return 0. + \sa QDesktopWidget::screenCount() */ -int QSystemDisplayInfo::displayBrightness(int screen) +int QSystemDisplayInfo::displayBrightness(int screenNumber) { - return displayInfoPrivate()->displayBrightness(screen); + return displayInfoPrivate()->displayBrightness(screenNumber); } /*! - Returns the color depth of the screen \a screenNumber, in bits per pixel. + Returns the color depth of the screen with the index \a screenNumber, in bits per pixel. + + \sa QDesktopWidget::screenCount() */ int QSystemDisplayInfo::colorDepth(int screenNumber) {