diff options
Diffstat (limited to 'src/kmplayer_smil.cpp')
-rw-r--r-- | src/kmplayer_smil.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/kmplayer_smil.cpp b/src/kmplayer_smil.cpp index a48640b..56d4147 100644 --- a/src/kmplayer_smil.cpp +++ b/src/kmplayer_smil.cpp @@ -635,7 +635,7 @@ KDE_NO_EXPORT void CalculatedSizer::resetSizes () { right.reset (); bottom.reset (); reg_point.truncate (0); - reg_align = TQString::tqfromLatin1 ("topLeft"); + reg_align = TQString::fromLatin1 ("topLeft"); } static bool regPoints (const TQString & str, Single & x, Single & y) { @@ -939,11 +939,11 @@ bool AnimateData::parseParam (const TrieString & name, const TQString & val) { } else if (name == "values") { change_values = TQStringList::split (TQString (";"), val); } else if (name == "calcMode") { - if (val == TQString::tqfromLatin1 ("discrete")) + if (val == TQString::fromLatin1 ("discrete")) calcMode = calc_discrete; - else if (val == TQString::tqfromLatin1 ("linear")) + else if (val == TQString::fromLatin1 ("linear")) calcMode = calc_linear; - else if (val == TQString::tqfromLatin1 ("paced")) + else if (val == TQString::fromLatin1 ("paced")) calcMode = calc_paced; } else return AnimateGroupData::parseParam (name, val); @@ -1156,13 +1156,13 @@ bool AnimateMotionData::parseParam (const TrieString & name, const TQString & va } else if (name == "keySplines") { splines = TQStringList::split (TQString (";"), val); } else if (name == "calcMode") { - if (val == TQString::tqfromLatin1 ("discrete")) + if (val == TQString::fromLatin1 ("discrete")) calcMode = calc_discrete; - else if (val == TQString::tqfromLatin1 ("linear")) + else if (val == TQString::fromLatin1 ("linear")) calcMode = calc_linear; - else if (val == TQString::tqfromLatin1 ("paced")) + else if (val == TQString::fromLatin1 ("paced")) calcMode = calc_paced; - else if (val == TQString::tqfromLatin1 ("spline")) + else if (val == TQString::fromLatin1 ("spline")) calcMode = calc_spline; } else return AnimateGroupData::parseParam (name, val); @@ -1657,9 +1657,9 @@ KDE_NO_EXPORT void SMIL::Smil::closed () { } else if (e->id == id_node_meta) { Element * elm = convertNode <Element> (e); const TQString name = elm->getAttribute (StringPool::attr_name); - if (name == TQString::tqfromLatin1 ("title")) + if (name == TQString::fromLatin1 ("title")) pretty_name = elm->getAttribute ("content"); - else if (name == TQString::tqfromLatin1 ("base")) + else if (name == TQString::fromLatin1 ("base")) src = elm->getAttribute ("content"); } } @@ -3409,7 +3409,7 @@ KDE_NO_EXPORT void ImageRuntime::remoteReady (TQByteArray & data) { mt->resetSurface (); TQString mime = mimetype (); kdDebug () << "ImageRuntime::remoteReady " << mime << " empty:" << cached_img.isEmpty () << " " << mt->src << endl; - if (mime.startsWith (TQString::tqfromLatin1 ("text/"))) { + if (mime.startsWith (TQString::fromLatin1 ("text/"))) { TQTextStream ts (data, IO_ReadOnly); readXML (element, ts, TQString ()); Mrl *mrl = mt->external_tree ? mt->external_tree->mrl () : NULL; @@ -3426,7 +3426,7 @@ KDE_NO_EXPORT void ImageRuntime::remoteReady (TQByteArray & data) { cached_img.data->image = pix; img_movie = new TQMovie (data, data.size ()); img_movie->connectUpdate(this,TQT_SLOT(movieUpdated(const TQRect&))); - img_movie->connectStatus (this, TQT_SLOT (movietqStatus (int))); + img_movie->connectStatus (this, TQT_SLOT (movieStatus (int))); img_movie->connectResize(this,TQT_SLOT (movieResize(const TQSize&))); frame_nr = 0; mt->width = pix->width (); @@ -3457,7 +3457,7 @@ KDE_NO_EXPORT void ImageRuntime::movieUpdated (const TQRect &) { img_movie->pause (); } -KDE_NO_EXPORT void ImageRuntime::movietqStatus (int s) { +KDE_NO_EXPORT void ImageRuntime::movieStatus (int s) { if (element && element->state >= Node::state_began && SMIL::TimedMrl::keepContent (element)) { if (s == TQMovie::EndOfMovie) { |