![]() |
Qt 4.8
|
#include <sys/types.h>#include <rpc/rpc.h>#include <rpcsvc/ypclnt.h>#include <rpcsvc/yp_prot.h>#include <ctype.h>Go to the source code of this file.
Classes | |
| struct | QPrinterDescription |
Macros | |
| #define | BOOL_DEFINED |
Enumerations | |
| enum | { Success = 's', Unavail = 'u', NotFound = 'n', TryAgain = 't' } |
| enum | { Continue = 'c', Return = 'r' } |
| #define BOOL_DEFINED |
Definition at line 47 of file qprinterinfo_unix_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Success | |
| Unavail | |
| NotFound | |
| TryAgain | |
Definition at line 89 of file qprinterinfo_unix_p.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Continue | |
| Return | |
Definition at line 90 of file qprinterinfo_unix_p.h.
| 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 = 0 |
||
| ) |
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 = QStringList() |
||
| ) |
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().