summaryrefslogtreecommitdiffstats
path: root/kugar/lib/mfieldobject.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
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kugar/lib/mfieldobject.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kugar/lib/mfieldobject.cpp')
-rw-r--r--kugar/lib/mfieldobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kugar/lib/mfieldobject.cpp b/kugar/lib/mfieldobject.cpp
index b0918c8c..7f7b994a 100644
--- a/kugar/lib/mfieldobject.cpp
+++ b/kugar/lib/mfieldobject.cpp
@@ -203,7 +203,7 @@ void MFieldObject::formatNegValue()
/** Formats the string representation of a number with comma separators */
void MFieldObject::formatCommas()
{
- // text = text.tqreplace(".", ",");
+ // text = text.replace(".", ",");
TQString tmp;
int i, j;
int offset;
@@ -215,7 +215,7 @@ void MFieldObject::formatCommas()
offset = 0;
// Look for decimal point
- int pos = text.tqfindRev( "." );
+ int pos = text.findRev( "." );
// If a decimal was not found, start at end of string
if ( pos == -1 )