diff options
Diffstat (limited to 'doc/man/man3/tqprinter.3qt')
-rw-r--r-- | doc/man/man3/tqprinter.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqprinter.3qt b/doc/man/man3/tqprinter.3qt index 190396a85..8ff9088ff 100644 --- a/doc/man/man3/tqprinter.3qt +++ b/doc/man/man3/tqprinter.3qt @@ -11,7 +11,7 @@ QPrinter \- Paint device that paints on a printer .SH SYNOPSIS \fC#include <ntqprinter.h>\fR .PP -Inherits QPaintDevice. +Inherits TQPaintDevice. .PP .SS "Public Members" .in +1c @@ -216,7 +216,7 @@ setNumCopies() tells QPrinter how many copies of the document it should print. .TP setMinMax() tells QPrinter and QPrintDialog what the allowed range for fromPage() and toPage() are. .PP -Except where noted, you can only call the set functions before setup(), or between QPainter::end() and setup(). (Some may take effect between setup() and begin(), or between begin() and end(), but that's strictly undocumented and such behaviour may differ depending on platform.) +Except where noted, you can only call the set functions before setup(), or between TQPainter::end() and setup(). (Some may take effect between setup() and begin(), or between begin() and end(), but that's strictly undocumented and such behaviour may differ depending on platform.) .PP There are also some settings that the user sets (through the printer dialog) and that applications are expected to obey: .IP @@ -235,7 +235,7 @@ paperSource() tells the application progam which paper source to print from. .PP You can of course call these functions to establish defaults before you ask the user through QPrinter::setup(). .PP -Once you start printing, calling newPage() is essential. You will probably also need to look at the QPaintDeviceMetrics for the printer (see the print function in the Application walk-through). In previous versions, paint device metrics were valid only after the QPrinter has been set up, i.e. after setup() has returned successfully. This is no longer the case and paint device metrics can be requested safely before set up. +Once you start printing, calling newPage() is essential. You will probably also need to look at the TQPaintDeviceMetrics for the printer (see the print function in the Application walk-through). In previous versions, paint device metrics were valid only after the QPrinter has been set up, i.e. after setup() has returned successfully. This is no longer the case and paint device metrics can be requested safely before set up. .PP If you want to abort the print job, abort() will try its best to stop printing. It may cancel the entire job or just some of it. .PP @@ -278,7 +278,7 @@ This enum type is used by QPrinter to tell the application program how to print. .TP \fCQPrinter::LastPageFirst\fR - the highest-numbered page should be printed first. .SH "QPrinter::PageSize" -This enum type specifies what paper size QPrinter should use. QPrinter does not check that the paper size is available; it just uses this information, together with QPrinter::Orientation and QPrinter::setFullPage(), to determine the printable area (see QPaintDeviceMetrics). +This enum type specifies what paper size QPrinter should use. QPrinter does not check that the paper size is available; it just uses this information, together with QPrinter::Orientation and QPrinter::setFullPage(), to determine the printable area (see TQPaintDeviceMetrics). .PP The defined sizes (with setFullPage(TRUE)) are: .TP @@ -447,7 +447,7 @@ Returns TRUE if the origin of the printer's coordinate system is at the corner o .PP See setFullPage() for details and caveats. .PP -See also setFullPage(), PageSize, and QPaintDeviceMetrics. +See also setFullPage(), PageSize, and TQPaintDeviceMetrics. .SH "bool QPrinter::isOptionEnabled ( PrinterOption option )" Returns TRUE if the printer option with identifier \fIoption\fR is enabled; otherwise returns FALSE. .PP @@ -459,7 +459,7 @@ If you have called setFullPage( TRUE ), margins().width() may be treated as the .PP If you have called setFullPage( FALSE ) (this is the default), margins() is automatically subtracted from the pageSize() by QPrinter. .PP -See also setFullPage(), QPaintDeviceMetrics, and PageSize. +See also setFullPage(), TQPaintDeviceMetrics, and PageSize. .SH "void QPrinter::margins ( uint * top, uint * left, uint * bottom, uint * right ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP @@ -469,7 +469,7 @@ If you have called setFullPage( TRUE ), the four values specify the smallest san .PP If you have called setFullPage( FALSE ) (this is the default), the margins are automatically subtracted from the pageSize() by QPrinter. .PP -See also setFullPage(), QPaintDeviceMetrics, and PageSize. +See also setFullPage(), TQPaintDeviceMetrics, and PageSize. .SH "int QPrinter::maxPage () const" Returns the max-page setting. A user can't choose a higher page number than maxPage() when they select a print range. The default value is 0. .PP @@ -572,11 +572,11 @@ See also fromPage(), toPage(), setMinMax(), and setup(). .SH "void QPrinter::setFullPage ( bool fp )\fC [virtual]\fR" Sets QPrinter to have the origin of the coordinate system at the top-left corner of the paper if \fIfp\fR is TRUE, or where it thinks the top-left corner of the printable area is if \fIfp\fR is FALSE. .PP -The default is FALSE. You can (probably) print on (0,0), and QPaintDeviceMetrics will report something smaller than the size indicated by PageSize. (Note that QPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) +The default is FALSE. You can (probably) print on (0,0), and TQPaintDeviceMetrics will report something smaller than the size indicated by PageSize. (Note that QPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) .PP -If you set \fIfp\fR to TRUE, QPaintDeviceMetrics will report the exact same size as indicated by PageSize, but you cannot print on all of that - you must take care of the output margins yourself. +If you set \fIfp\fR to TRUE, TQPaintDeviceMetrics will report the exact same size as indicated by PageSize, but you cannot print on all of that - you must take care of the output margins yourself. .PP -See also PageSize, setPageSize(), QPaintDeviceMetrics, and fullPage(). +See also PageSize, setPageSize(), TQPaintDeviceMetrics, and fullPage(). .PP Examples: .)l action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. @@ -679,7 +679,7 @@ See also printerSelectionOption(). .SH "void QPrinter::setResolution ( int dpi )\fC [virtual]\fR" Requests that the printer prints at \fIdpi\fR or as near to \fIdpi\fR as possible. .PP -This setting affects the coordinate system as returned by, for example, QPaintDeviceMetrics and QPainter::viewport(). +This setting affects the coordinate system as returned by, for example, TQPaintDeviceMetrics and TQPainter::viewport(). .PP The value depends on the \fCPrintingMode\fR used in the QPrinter constructor. By default, the dpi value of the screen is used. .PP |