195 #endif // QT_NO_PRINTER
QPrinterInfo()
Constructs an empty QPrinterInfo object.
#define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QPrinter class is a paint device that paints on a printer.
void reset(T *other=0)
Deletes the existing object it is pointing to if any, and sets its pointer to other.
bool isDefault() const
Returns whether this printer is the default printer.
The QPrinterInfo class gives access to information about existing printers.
QString printerName() const
Returns the name of the printer.
~QPrinterInfo()
Destroys the QPrinterInfo object.
QPrinterInfo & operator=(const QPrinterInfo &other)
Sets the QPrinterInfo object to be equal to other.
static QPrinterInfoPrivate shared_null
QScopedPointer< QPrinterInfoPrivate, QPrinterInfoPrivateDeleter > d_ptr
static QList< QPrinterInfo > availablePrinters()
Returns a list of available printers on the system.
bool isNull() const
Returns whether this QPrinterInfo object holds a printer definition.
QString printerName() const
Returns the printer name.