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 | 0254ebaa5e056092461fd585b6851d15faa43035 (patch) | |
tree | 2bf41a1c189b92dc1b9ab89e3ce392f8132214c4 /src/translators/tellico_xml.cpp | |
parent | fa071926f015f39711632b3fb9fe16004d93d0ec (diff) | |
download | tellico-0254ebaa5e056092461fd585b6851d15faa43035.tar.gz tellico-0254ebaa5e056092461fd585b6851d15faa43035.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/translators/tellico_xml.cpp')
-rw-r--r-- | src/translators/tellico_xml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/translators/tellico_xml.cpp b/src/translators/tellico_xml.cpp index cddae3b..d1ad3c1 100644 --- a/src/translators/tellico_xml.cpp +++ b/src/translators/tellico_xml.cpp @@ -70,7 +70,7 @@ bool Tellico::XML::validXMLElementName(const TQString& name_) { TQString Tellico::XML::elementName(const TQString& name_) { TQString name = name_; // change white space to dashes - name.tqreplace(TQRegExp(TQString::tqfromLatin1("\\s+")), TQString::tqfromLatin1("-")); + name.replace(TQRegExp(TQString::tqfromLatin1("\\s+")), TQString::tqfromLatin1("-")); // first cut, if it passes, we're done if(XML::validXMLElementName(name)) { return name; |