Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsPrinterEnumeratorQt Class Reference

#include <nsDeviceContextSpecQt.h>

Inheritance diagram for nsPrinterEnumeratorQt:
Inheritance graph
[legend]
Collaboration diagram for nsPrinterEnumeratorQt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsPrinterEnumeratorQt ()
void initPrintSettingsFromPrinter (in wstring aPrinterName, in nsIPrintSettings aPrintSettings)
 Initializes certain settings from the native printer into the PrintSettings These settings include, but are not limited to: Page Orientation Page Size Number of Copies.
void enumeratePrinters (out PRUint32 aCount,[retval, array, size_is(aCount)] out wstring aResult)
 Returns an array of the names of all installed printers.
void displayPropertiesDlg (in wstring aPrinter, in nsIPrintSettings aPrintSettings)

Public Attributes

readonly attribute wstring defaultPrinterName
 The name of the default printer This name must be in the list of printer names returned by "availablePrinters".

Detailed Description

Definition at line 127 of file nsDeviceContextSpecQt.h.


Constructor & Destructor Documentation

Definition at line 559 of file nsDeviceContextSpecQt.cpp.

{
}

Member Function Documentation

void nsIPrinterEnumerator::displayPropertiesDlg ( in wstring  aPrinter,
in nsIPrintSettings  aPrintSettings 
) [inherited]
void nsIPrinterEnumerator::enumeratePrinters ( out PRUint32  aCount,
[retval, array, size_is(aCount)] out wstring  aResult 
) [inherited]

Returns an array of the names of all installed printers.

Parameters:
aCountreturns number of printers returned
aResultreturns array of names
Returns:
void
void nsIPrinterEnumerator::initPrintSettingsFromPrinter ( in wstring  aPrinterName,
in nsIPrintSettings  aPrintSettings 
) [inherited]

Initializes certain settings from the native printer into the PrintSettings These settings include, but are not limited to: Page Orientation Page Size Number of Copies.


Member Data Documentation

The name of the default printer This name must be in the list of printer names returned by "availablePrinters".

Definition at line 121 of file nsIPrintOptions.idl.


The documentation for this class was generated from the following files: