From 937b2991d8e78166eea904c80ad04d34607017a4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- filesharing/advanced/nfs/nfsfile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'filesharing/advanced/nfs/nfsfile.cpp') diff --git a/filesharing/advanced/nfs/nfsfile.cpp b/filesharing/advanced/nfs/nfsfile.cpp index 4caea490..ebc33a9c 100644 --- a/filesharing/advanced/nfs/nfsfile.cpp +++ b/filesharing/advanced/nfs/nfsfile.cpp @@ -61,7 +61,7 @@ void NFSFile::removeEntry(NFSEntry *entry) bool NFSFile::hasEntry(NFSEntry *entry) { - return 0 < _entries.tqcontains(entry); + return 0 < _entries.contains(entry); } @@ -151,7 +151,7 @@ bool NFSFile::load() // Handle quotation marks if ( completeLine[0] == '"' ) { - int i = completeLine.tqfind('"',1); + int i = completeLine.find('"',1); if (i == -1) { kdError() << "NFSFile: Parse error: Missing quotation mark: " << completeLine << endl; @@ -161,9 +161,9 @@ bool NFSFile::load() hosts = completeLine.mid(i+1); } else { // no quotation marks - int i = completeLine.tqfind(' '); + int i = completeLine.find(' '); if (i == -1) - i = completeLine.tqfind('\t'); + i = completeLine.find('\t'); if (i == -1) path = completeLine; -- cgit v1.2.1