summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_smil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayer_smil.cpp')
-rw-r--r--src/kmplayer_smil.cpp16
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;