From 9a3f0aacd44fb866833ebcb852df3cd31475cb33 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/kdebase@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/css/template.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kcontrol/css') diff --git a/kcontrol/css/template.cpp b/kcontrol/css/template.cpp index a34839ef2..e237ed796 100644 --- a/kcontrol/css/template.cpp +++ b/kcontrol/css/template.cpp @@ -23,16 +23,16 @@ bool CSSTemplate::expand(TQString destname, const TQMap &dict { line = is.readLine(); - int start = line.tqfind('$'); + int start = line.find('$'); if (start >= 0) { - int end = line.tqfind('$', start+1); + int end = line.find('$', start+1); if (end >= 0) { TQString expr = line.mid(start+1, end-start-1); TQString res = dict[expr]; - line.tqreplace(start, end-start+1, res); + line.replace(start, end-start+1, res); } } os << line << endl; -- cgit v1.2.1