26 #include <tdelocale.h>
28 KURL smbToUrl(
const TQString& work,
const TQString& server,
const TQString& printer);
29 void urlToSmb(
const KURL& url, TQString& work, TQString& server, TQString& printer);
35 TDEPRINT_EXPORT TQString buildSmbURI(
const TQString& work,
const TQString& server,
const TQString& printer,
const TQString& user,
const TQString& passwd );
36 TDEPRINT_EXPORT
bool splitSmbURI(
const TQString& uri, TQString& work, TQString& server, TQString& printer, TQString& user, TQString& passwd );
38 static const struct pagesizestruct
44 {
"A0", KPrinter::A0 },
45 {
"A1", KPrinter::A1 },
46 {
"A2", KPrinter::A2 },
47 {
"A3", KPrinter::A3 },
48 {
"A4", KPrinter::A4 },
49 {
"A5", KPrinter::A5 },
50 {
"A6", KPrinter::A6 },
51 {
"A7", KPrinter::A7 },
52 {
"A8", KPrinter::A8 },
53 {
"A9", KPrinter::A9 },
54 {
"B1", KPrinter::B1 },
55 {
"B10", KPrinter::B10 },
56 {
"B2", KPrinter::B2 },
57 {
"B3", KPrinter::B3 },
58 {
"B4", KPrinter::B4 },
59 {
"B5", KPrinter::B5 },
60 {
"B6", KPrinter::B6 },
61 {
"B7", KPrinter::B7 },
62 {
"B8", KPrinter::B8 },
63 {
"B9", KPrinter::B9 },
64 { I18N_NOOP(
"Envelope C5"), KPrinter::C5E },
65 { I18N_NOOP(
"Envelope DL"), KPrinter::DLE },
66 { I18N_NOOP(
"Envelope US #10"), KPrinter::Comm10E },
67 { I18N_NOOP(
"Executive"), KPrinter::Executive },
68 { I18N_NOOP(
"Folio"), KPrinter::Folio },
69 { I18N_NOOP(
"Ledger"), KPrinter::Ledger },
70 { I18N_NOOP(
"Tabloid"), KPrinter::Tabloid },
71 { I18N_NOOP(
"US Legal"), KPrinter::Legal },
72 { I18N_NOOP(
"US Letter"), KPrinter::Letter }
74 int findIndex(
int ID);