diff options
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; } |