diff options
author | David Boddie <david.boddie@nokia.com> | 2011-05-11 16:36:31 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2011-05-11 16:36:31 (GMT) |
commit | 2142c3b8d7d88da290d5ba5c489dcb6145a96be0 (patch) | |
tree | ece13271b7cd65b0142bdd7b3cbc317d1ffcbdc5 /src/gui/kernel/qplatformscreen_qpa.cpp | |
parent | 78f95bec1aa669d649dd3432c49d7360a0f9516d (diff) | |
download | Qt-2142c3b8d7d88da290d5ba5c489dcb6145a96be0.zip Qt-2142c3b8d7d88da290d5ba5c489dcb6145a96be0.tar.gz Qt-2142c3b8d7d88da290d5ba5c489dcb6145a96be0.tar.bz2 |
Doc: Fixed qdoc warnings.
Diffstat (limited to 'src/gui/kernel/qplatformscreen_qpa.cpp')
-rw-r--r-- | src/gui/kernel/qplatformscreen_qpa.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/gui/kernel/qplatformscreen_qpa.cpp b/src/gui/kernel/qplatformscreen_qpa.cpp index 5e3c453..806fa4b 100644 --- a/src/gui/kernel/qplatformscreen_qpa.cpp +++ b/src/gui/kernel/qplatformscreen_qpa.cpp @@ -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. - - Default implementation takes the pixel size of the screen, considers a dpi of 100 and returns - the calculated (and probably wrong) physical size +/*! + 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. + + 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 { |