summaryrefslogtreecommitdiffstats
path: root/kviewshell/pageSize.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitda4be7880ff1de6415ab6256afd2514e64f5fa2e (patch)
tree0862c14883af0435b012f6f592221fc167ed7d91 /kviewshell/pageSize.cpp
parentd0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff)
downloadtdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz
tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/pageSize.cpp')
-rw-r--r--kviewshell/pageSize.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/pageSize.cpp b/kviewshell/pageSize.cpp
index a3e65459..f3419217 100644
--- a/kviewshell/pageSize.cpp
+++ b/kviewshell/pageSize.cpp
@@ -77,10 +77,10 @@ bool pageSize::setPageSize(const TQString& name)
}
}
- // Check if the string tqcontains 'x'. If yes, we assume it is of type
+ // Check if the string contains 'x'. If yes, we assume it is of type
// "<number>x<number>". If yes, the first number is interpreted as
// the width in mm, the second as the height in mm
- if (name.tqfind('x') >= 0) {
+ if (name.find('x') >= 0) {
bool wok, hok;
float pageWidth_tmp = name.section('x',0,0).toFloat(&wok);
float pageHeight_tmp = name.section('x',1,1).toFloat(&hok);
@@ -95,10 +95,10 @@ bool pageSize::setPageSize(const TQString& name)
}
}
- // Check if the string tqcontains ','. If yes, we assume it is of type
+ // Check if the string contains ','. If yes, we assume it is of type
// "<number><unit>,<number><uni>". The first number is supposed to
// be the width, the second the height.
- if (name.tqfind(',') >= 0) {
+ if (name.find(',') >= 0) {
bool wok, hok;
float pageWidth_tmp = distance::convertToMM(name.section(',',0,0), &wok);
float pageHeight_tmp = distance::convertToMM(name.section(',',1,1), &hok);