diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeprint/cups/ipprequest.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/cups/ipprequest.cpp')
-rw-r--r-- | kdeprint/cups/ipprequest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/cups/ipprequest.cpp b/kdeprint/cups/ipprequest.cpp index 2310b7f5f..0b32e45e7 100644 --- a/kdeprint/cups/ipprequest.cpp +++ b/kdeprint/cups/ipprequest.cpp @@ -55,8 +55,8 @@ void dumpRequest(ipp_t *req, bool answer = false, const TQString& s = TQString:: kdDebug(500) << "ID = 0x" << TQString::number(req->request.status.request_id, 16) << endl; if (answer) { - kdDebug(500) << "tqStatus = 0x" << TQString::number(req->request.status.status_code, 16) << endl; - kdDebug(500) << "tqStatus message = " << ippErrorString(req->request.status.status_code) << endl; + kdDebug(500) << "Status = 0x" << TQString::number(req->request.status.status_code, 16) << endl; + kdDebug(500) << "Status message = " << ippErrorString(req->request.status.status_code) << endl; } else kdDebug(500) << "Operation = 0x" << TQString::number(req->request.op.operation_id, 16) << endl; @@ -66,7 +66,7 @@ void dumpRequest(ipp_t *req, bool answer = false, const TQString& s = TQString:: ipp_attribute_t *attr = req->attrs; while (attr) { - TQString s = TQString::tqfromLatin1("%1 (0x%2) = ").arg(attr->name).arg(attr->value_tag, 0, 16); + TQString s = TQString::fromLatin1("%1 (0x%2) = ").arg(attr->name).arg(attr->value_tag, 0, 16); for (int i=0;i<attr->num_values;i++) { switch (attr->value_tag) @@ -504,7 +504,7 @@ void IppRequest::setMap(const TQMap<TQString,TQString>& opts) if (it.key().startsWith("kde-") || it.key().startsWith("app-")) continue; QString value = it.data().stripWhiteSpace(), lovalue; - value.tqreplace(re, ""); + value.replace(re, ""); lovalue = value.lower(); // handles specific cases: boolean, empty strings, or option that has that boolean @@ -522,7 +522,7 @@ void IppRequest::setMap(const TQMap<TQString,TQString>& opts) cupsEncodeOptions(request_, n, options); cupsFreeOptions(n, options); - // tqfind an remove that annoying "document-format" attribute + // find an remove that annoying "document-format" attribute #if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2 ipp_attribute_t *attr = ippFindAttribute(request_, "document-format", IPP_TAG_NAME); ippDeleteAttribute(request_, attr); |