Qt 4.8
|
#include "qprinterinfo.h"
#include "qprinterinfo_p.h"
#include <qfile.h>
#include <qfileinfo.h>
#include <qdir.h>
#include <qprintdialog.h>
#include <qlibrary.h>
#include <qtextstream.h>
#include <private/qcups_p.h>
#include <cups/cups.h>
#include <private/qpdf_p.h>
#include <private/qprinterinfo_unix_p.h>
Go to the source code of this file.
Classes | |
struct | NamedPaperSize |
Macros | |
#define | skipSpaces() |
Variables | |
static const struct NamedPaperSize | named_sizes_map [QPrinter::NPageSize] |
#define skipSpaces | ( | ) |
Referenced by qt_parseNsswitchPrintersEntry().
|
inline |
Definition at line 102 of file qprinterinfo_unix.cpp.
|
inline |
Definition at line 104 of file qprinterinfo_unix.cpp.
|
inlinestatic |
Definition at line 115 of file qprinterinfo_unix.cpp.
QString qt_getDefaultFromHomePrinters | ( | ) |
Checks $HOME/.
printers for a line matching '_default <name>' (where <name> does not contain any white space). The first such match results in <name> being returned. If no lines match then an empty string is returned.
Definition at line 238 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
int qt_getLprPrinters | ( | QList< QPrinterDescription > & | printers | ) |
Definition at line 757 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters(), and QUnixPrintWidgetPrivate::QUnixPrintWidgetPrivate().
void qt_parseEtcLpMember | ( | QList< QPrinterDescription > * | printers | ) |
Definition at line 590 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
void qt_parseEtcLpPrinters | ( | QList< QPrinterDescription > * | printers | ) |
Definition at line 252 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
char* qt_parseNsswitchConf | ( | QList< QPrinterDescription > * | printers | ) |
Definition at line 563 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
char* qt_parseNsswitchPrintersEntry | ( | QList< QPrinterDescription > * | printers, |
char * | line | ||
) |
Definition at line 484 of file qprinterinfo_unix.cpp.
Referenced by qt_parseNsswitchConf().
int qt_parsePrintcap | ( | QList< QPrinterDescription > * | printers, |
const QString & | fileName | ||
) |
Definition at line 189 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters(), and qt_parseNsswitchPrintersEntry().
void qt_parsePrinterDesc | ( | QString | printerDesc, |
QList< QPrinterDescription > * | printers | ||
) |
Definition at line 140 of file qprinterinfo_unix.cpp.
Referenced by qt_parsePrintcap(), and qt_pd_foreach().
char* qt_parsePrintersConf | ( | QList< QPrinterDescription > * | printers, |
bool * | found | ||
) |
Definition at line 320 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters(), and qt_parseNsswitchPrintersEntry().
void qt_parseQconfig | ( | QList< QPrinterDescription > * | printers | ) |
Definition at line 694 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
void qt_parseSpoolInterface | ( | QList< QPrinterDescription > * | printers | ) |
Definition at line 618 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
int qt_pd_foreach | ( | int | , |
char * | , | ||
int | , | ||
char * | val, | ||
int | valLen, | ||
char * | data | ||
) |
Definition at line 441 of file qprinterinfo_unix.cpp.
Referenced by qt_retrieveNisPrinters().
void qt_perhapsAddPrinter | ( | QList< QPrinterDescription > * | printers, |
const QString & | name, | ||
QString | host, | ||
QString | comment, | ||
QStringList | aliases | ||
) |
Definition at line 125 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters(), qt_parseEtcLpMember(), qt_parseEtcLpPrinters(), qt_parsePrinterDesc(), qt_parsePrintersConf(), qt_parseQconfig(), and qt_parseSpoolInterface().
int qt_retrieveNisPrinters | ( | QList< QPrinterDescription > * | printers | ) |
Definition at line 452 of file qprinterinfo_unix.cpp.
Referenced by qt_parseNsswitchPrintersEntry().
|
inlinestatic |
Definition at line 107 of file qprinterinfo_unix.cpp.
Referenced by qt_getLprPrinters().
|
static |
Referenced by paperSize2String(), and string2PaperSize().