Doc: Fixed qdoc warnings.

This commit is contained in:
David Boddie 2011-05-11 18:36:31 +02:00
parent badc27b38d
commit b5a989dc11
2 changed files with 9 additions and 6 deletions

View File

@ -66,12 +66,15 @@ QWidget *QPlatformScreen::topLevelAt(const QPoint & pos) const
return 0;
}
/*! \fn physicalSize() const
Reimplement in subclass to return the physical size of the screen. This function is used by
QFont to convert point sizes to pixel sizes.
/*!
Reimplement this function in subclass to return the physical size of the
screen. This function is used by QFont to convert point sizes to pixel
sizes.
Default implementation takes the pixel size of the screen, considers a dpi of 100 and returns
the calculated (and probably wrong) physical size
The default implementation takes the pixel size of the screen, considers a
resolution of 100 dots per inch, and returns the calculated physical size.
A device with a screen that has different resolutions will need to be
supported by a suitable reimplementation of this function.
*/
QSize QPlatformScreen::physicalSize() const
{

View File

@ -894,7 +894,7 @@ void QPlatformWindowFormat::setDefaultFormat(const QPlatformWindowFormat &f)
}
/*!
/*
Returns the default QPlatformWindowFormat for overlay contexts.
The default overlay format is: