42 #ifndef QPRINTERINFO_UNIX_P_H 43 #define QPRINTERINFO_UNIX_P_H 50 # include <sys/types.h> 52 # include <rpcsvc/ypclnt.h> 53 # include <rpcsvc/yp_prot.h> 85 return name == printer || aliases.
contains(printer);
103 #if defined(Q_C_CALLBACKS) 107 char *val,
int valLen,
char *
data);
109 #if defined(Q_C_CALLBACKS) 121 #endif // QT_NO_PRINTER 125 #endif // QPRINTERINFO_UNIX_P_H
#define QT_END_NAMESPACE
This macro expands to.
void qt_perhapsAddPrinter(QList< QPrinterDescription > *printers, const QString &name, QString host, QString comment, QStringList aliases=QStringList())
void qt_parsePrinterDesc(QString printerDesc, QList< QPrinterDescription > *printers)
int qt_pd_foreach(int, char *, int, char *val, int valLen, char *data)
long ASN1_INTEGER_get ASN1_INTEGER * a
The QString class provides a Unicode character string.
char * qt_parsePrintersConf(QList< QPrinterDescription > *printers, bool *found=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void qt_parseEtcLpMember(QList< QPrinterDescription > *printers)
char * qt_parseNsswitchPrintersEntry(QList< QPrinterDescription > *printers, char *line)
The QStringList class provides a list of strings.
static const char * data(const QByteArray &arr)
QBool contains(const QString &str, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the list contains the string str; otherwise returns false.
QPrinterDescription(const QString &n, const QString &h, const QString &c, const QStringList &a)
void qt_parseEtcLpPrinters(QList< QPrinterDescription > *printers)
char * qt_parseNsswitchConf(QList< QPrinterDescription > *printers)
bool samePrinter(const QString &printer) const
int qt_retrieveNisPrinters(QList< QPrinterDescription > *printers)
int qt_parsePrintcap(QList< QPrinterDescription > *printers, const QString &fileName)
int qt_getLprPrinters(QList< QPrinterDescription > &printers)
void qt_parseSpoolInterface(QList< QPrinterDescription > *printers)
static QString fileName(const QString &fileUrl)
void qt_parseQconfig(QList< QPrinterDescription > *printers)
QString qt_getDefaultFromHomePrinters()
Checks $HOME/.