diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | ff8c66f117613688a0979d2296cbf6c778136419 (patch) | |
tree | e08685a8a074de43b2d5a890eb2038575ddbd119 /src/gvcore/captionformatter.cpp | |
parent | 362662842b9a5b2c51d442b69b69c06ddb60994c (diff) | |
download | gwenview-ff8c66f117613688a0979d2296cbf6c778136419.tar.gz gwenview-ff8c66f117613688a0979d2296cbf6c778136419.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/captionformatter.cpp')
-rw-r--r-- | src/gvcore/captionformatter.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gvcore/captionformatter.cpp b/src/gvcore/captionformatter.cpp index ca34a51..74514f3 100644 --- a/src/gvcore/captionformatter.cpp +++ b/src/gvcore/captionformatter.cpp @@ -39,16 +39,16 @@ TQString CaptionFormatter::format(const TQString& format) { } TQString str=format; - str.tqreplace("%f", mFileName); - str.tqreplace("%p", mPath); - str.tqreplace("%c", comment); - str.tqreplace("%r", resolution); - str.tqreplace("%n", TQString::number(mPosition)); - str.tqreplace("%N", TQString::number(mCount)); - str.tqreplace("%a", mAperture); - str.tqreplace("%t", mExposureTime); - str.tqreplace("%i", mIso); - str.tqreplace("%l", mFocalLength); + str.replace("%f", mFileName); + str.replace("%p", mPath); + str.replace("%c", comment); + str.replace("%r", resolution); + str.replace("%n", TQString::number(mPosition)); + str.replace("%N", TQString::number(mCount)); + str.replace("%a", mAperture); + str.replace("%t", mExposureTime); + str.replace("%i", mIso); + str.replace("%l", mFocalLength); return str; } |