summaryrefslogtreecommitdiffstats
path: root/src/printsupport/kernel/qprinterinfo.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@nokia.com>2012-08-16 18:19:39 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-20 16:57:48 +0200
commit42d712b4ab7375a97e4095b2a6723305000e194c (patch)
treec1ff7942ba9f68fc0d6ad8b1741e9988d9b64eff /src/printsupport/kernel/qprinterinfo.cpp
parente6de6c153eea5c95b9b676ba53c4470963e6f133 (diff)
Misc documentation fixes triggered by qdoc errors/warnings
Change-Id: I6ca3b138114fe957a09e8ec2f22273865635fc8b Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
Diffstat (limited to 'src/printsupport/kernel/qprinterinfo.cpp')
-rw-r--r--src/printsupport/kernel/qprinterinfo.cpp25
1 files changed, 9 insertions, 16 deletions
diff --git a/src/printsupport/kernel/qprinterinfo.cpp b/src/printsupport/kernel/qprinterinfo.cpp
index 5ce0165a15..7cef6e649a 100644
--- a/src/printsupport/kernel/qprinterinfo.cpp
+++ b/src/printsupport/kernel/qprinterinfo.cpp
@@ -43,7 +43,7 @@ QPrinterInfoPrivate QPrinterInfoPrivate::shared_null;
\brief The QPrinterInfo class gives access to information about
existing printers.
-
+
\ingroup printing
\inmodule QtPrintSupport
@@ -149,11 +149,9 @@ QString QPrinterInfo::printerName() const
}
/*!
- \fn QString QPrinterInfo::description()
- \since 5.0
-
Returns the human-readable description of the printer.
+ \since 5.0
\sa QPrinterInfo::printerName()
*/
QString QPrinterInfo::description() const
@@ -163,10 +161,9 @@ QString QPrinterInfo::description() const
}
/*!
- \fn QString QPrinterInfo::location()
- \since 5.0
-
Returns the human-readable location of the printer.
+
+ \since 5.0
*/
QString QPrinterInfo::location() const
{
@@ -175,10 +172,9 @@ QString QPrinterInfo::location() const
}
/*!
- \fn QString QPrinterInfo::makeAndModel()
- \since 5.0
-
Returns the human-readable make and model of the printer.
+
+ \since 5.0
*/
QString QPrinterInfo::makeAndModel() const
{
@@ -208,13 +204,12 @@ bool QPrinterInfo::isDefault() const
}
/*!
- \fn QList< QPrinter::PaperSize> QPrinterInfo::supportedPaperSizes() const
- \since 4.4
-
Returns a list of supported paper sizes by the printer.
Not all printer drivers support this query, so the list may be empty.
On Mac OS X 10.3, this function always returns an empty list.
+
+ \since 4.4
*/
QList<QPrinter::PaperSize> QPrinterInfo::supportedPaperSizes() const
@@ -244,14 +239,12 @@ QPrinterInfo QPrinterInfo::defaultPrinter()
}
/*!
- \fn QPrinterInfo QPrinterInfo::printerInfo()
- \since 5.0
-
Returns the named printer.
The return value should be checked using isNull() before being
used, in case the named printer does not exist.
+ \since 5.0
\sa isNull()
*/