summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:18:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:18:28 -0600
commit6791941276f854b17bfa5987d6f955f98c8440af (patch)
tree178c9306d84968611eaddd69af27ccd3264489eb
parent4ac20c8ffcd2991e864e2917ed605c85c3cd5af2 (diff)
downloadlibkexiv2-67919412.tar.gz
libkexiv2-67919412.zip
Rename old tq methods that no longer need a unique name
-rw-r--r--libkexiv2/libkexiv2/kexiv2private.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libkexiv2/libkexiv2/kexiv2private.cpp b/libkexiv2/libkexiv2/kexiv2private.cpp
index 180806b..65f03f0 100644
--- a/libkexiv2/libkexiv2/kexiv2private.cpp
+++ b/libkexiv2/libkexiv2/kexiv2private.cpp
@@ -157,7 +157,7 @@ TQString KExiv2Priv::convertCommentValue(const Exiv2::Exifdatum &exifDatum)
}
else if (charset == "\"Ascii\"")
{
- return TQString::tqfromLatin1(comment.c_str());
+ return TQString::fromLatin1(comment.c_str());
}
else
{
@@ -215,12 +215,12 @@ TQString KExiv2Priv::detectEncodingAndDecode(const std::string &value)
// workaround for bug #134999:
// The TQLatin15Codec may crash if strlen < value.length()
int length = value.length();
- if (localCodec->name() == TQString::tqfromLatin1("ISO 8859-15"))
+ if (localCodec->name() == TQString::fromLatin1("ISO 8859-15"))
length = strlen(value.c_str());
return localCodec->toUnicode(value.c_str(), length);
}
else
- return TQString::tqfromLatin1(value.c_str());
+ return TQString::fromLatin1(value.c_str());
}
} // NameSpace KExiv2Iface