From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdeprint/util.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kdeprint/util.cpp') diff --git a/kdeprint/util.cpp b/kdeprint/util.cpp index d95ca2c0c..343f52d45 100644 --- a/kdeprint/util.cpp +++ b/kdeprint/util.cpp @@ -44,11 +44,11 @@ KURL smbToUrl(const TQString& s) { // allow to handle non-encoded chars in login/password KURL url; - int p = s.find('@'); + int p = s.tqfind('@'); if (p == -1) { // assumes url starts with "smb://". Use encoding in - // case the printer name contains chars like '#'. + // case the printer name tqcontains chars like '#'. url = KURL("smb://" + KURL::encode_string(s.mid(6))); } else @@ -56,7 +56,7 @@ KURL smbToUrl(const TQString& s) // assumes URL starts with "smb://" QString username = s.mid(6, p-6); url = KURL("smb://" + KURL::encode_string(s.mid(p+1))); - int q = username.find(':'); + int q = username.tqfind(':'); if (q == -1) url.setUser(username); else @@ -68,7 +68,7 @@ KURL smbToUrl(const TQString& s) return url; } -int findIndex(int ID) +int tqfindIndex(int ID) { for (int i=0; i