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 | 63c4fb318b4b6c0c22fce659f0029e4b21112c86 (patch) | |
tree | 9bb206b2d90ed5fe44cea4fcb5732b6741eaaa3e /src/kmplayer_smil.cpp | |
parent | 0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff (diff) | |
download | kmplayer-63c4fb318b4b6c0c22fce659f0029e4b21112c86.tar.gz kmplayer-63c4fb318b4b6c0c22fce659f0029e4b21112c86.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayer_smil.cpp')
-rw-r--r-- | src/kmplayer_smil.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kmplayer_smil.cpp b/src/kmplayer_smil.cpp index 00535dc..5c5c5bd 100644 --- a/src/kmplayer_smil.cpp +++ b/src/kmplayer_smil.cpp @@ -410,7 +410,7 @@ bool Runtime::parseParam (const TrieString & name, const TQString & val) { } } } else if (name.startsWith ("repeat")) { - if (val.tqfind ("indefinite") > -1) + if (val.find ("indefinite") > -1) repeat_count = dur_infinite; else repeat_count = val.toInt (); @@ -556,7 +556,7 @@ void SizeType::reset () { SizeType & SizeType::operator = (const TQString & s) { TQString strval (s); - int p = strval.tqfind (TQChar ('%')); + int p = strval.find (TQChar ('%')); if (p > -1) { strval.truncate (p); perc_size = strval.toDouble (&isset); @@ -920,7 +920,7 @@ KDE_NO_EXPORT void AnimateData::reset () { } else anim_timer = 0; accumulate = acc_none; - additive = add_tqreplace; + additive = add_replace; change_by = 0; calcMode = calc_linear; change_from.truncate (0); @@ -1114,7 +1114,7 @@ KDE_NO_EXPORT void AnimateMotionData::reset () { } else anim_timer = 0; accumulate = acc_none; - additive = add_tqreplace; + additive = add_replace; calcMode = calc_linear; change_from.truncate (0); change_by.truncate (0); @@ -1170,7 +1170,7 @@ bool AnimateMotionData::parseParam (const TrieString & name, const TQString & va } bool AnimateMotionData::getCoordinates (const TQString &coord, SizeType &x, SizeType &y) { - int p = coord.tqfind (TQChar (',')); + int p = coord.find (TQChar (',')); if (p > 0) { x = coord.left (p).stripWhiteSpace (); y = coord.mid (p + 1).stripWhiteSpace (); @@ -1653,7 +1653,7 @@ KDE_NO_EXPORT void SMIL::Smil::closed () { layout_node = e; } else if (e->id == id_node_title) { TQString str = e->innerText (); - pretty_name = str.left (str.tqfind (TQChar ('\n'))); + pretty_name = str.left (str.find (TQChar ('\n'))); } else if (e->id == id_node_meta) { Element * elm = convertNode <Element> (e); const TQString name = elm->getAttribute (StringPool::attr_name); @@ -2630,7 +2630,7 @@ KDE_NO_EXPORT void SMIL::Switch::begin () { Element *elm = convertNode <Element> (e); TQString lang = elm->getAttribute ("systemLanguage"); if (!lang.isEmpty ()) { - lang = lang.tqreplace (TQChar ('-'), TQChar ('_')); + lang = lang.replace (TQChar ('-'), TQChar ('_')); char *clang = getenv ("LANG"); if (!clang) { if (!fallback) @@ -2691,7 +2691,7 @@ KDE_NO_EXPORT void SMIL::Switch::childDone (NodePtr child) { //----------------------------------------------------------------------------- KDE_NO_CDTOR_EXPORT SMIL::LinkingBase::LinkingBase (NodePtr & d, short id) - : Element(d, id), show (show_tqreplace) {} + : Element(d, id), show (show_replace) {} KDE_NO_EXPORT void SMIL::LinkingBase::deactivate () { mediatype_activated = 0L; |