Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QtopiaPrinterInterface Class Reference
[QtBluetoothModule]

The QtopiaPrinterInterface class provides the minimum interface to various printers. More...

    #include <QtopiaPrinterInterface>

Inherited by QtopiaPrinterPlugin.

Public Functions


Detailed Description

The QtopiaPrinterInterface class provides the minimum interface to various printers.

The embedded systems usually have restricted printing capability. The QtopiaPrinterInterface class declares the minimum set of functions that has to be implemented by printer plug-ins to provide printing capabilities within Qtopia.

See also QtopiaPrinterPlugin.


Member Function Documentation

QtopiaPrinterInterface::~QtopiaPrinterInterface ()   [virtual]

Destroys the printer object.

bool QtopiaPrinterInterface::abort ()   [pure virtual]

Attempts to stop the printing. Returns true if printing is successfully interrupted; otherwise returns false.

bool QtopiaPrinterInterface::isAvailable ()   [pure virtual]

Returns true if the printing is currently supported.

QString QtopiaPrinterInterface::name ()   [pure virtual]

Returns a name of the printing mechanism.

void QtopiaPrinterInterface::print ( QMap<QString, QVariant> options )   [pure virtual]

Sends printer options data to a printer that can be used to configure the printer. Values are consist of a QString form of QPrintEngine::PrintEnginePropertyKey and its value.

void QtopiaPrinterInterface::printFile ( const QString & fileName, const QString & mimeType = QString() )   [pure virtual]

Prints fileName. mimeType is optional.

void QtopiaPrinterInterface::printHtml ( const QString & html )   [pure virtual]

Prints html.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3