diff options
Diffstat (limited to 'src/kmplayer_part.cpp')
-rw-r--r-- | src/kmplayer_part.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kmplayer_part.cpp b/src/kmplayer_part.cpp index d701d90..63311eb 100644 --- a/src/kmplayer_part.cpp +++ b/src/kmplayer_part.cpp @@ -171,7 +171,7 @@ KDE_NO_CDTOR_EXPORT KMPlayerPart::KMPlayerPart (TQWidget * wtqparent, const char TQStringList::const_iterator end = args.end (); int turned_off_features = 0; for ( ; it != end; ++it) { - int equalPos = (*it).tqfind("="); + int equalPos = (*it).find("="); if (equalPos > 0) { TQString name = (*it).left (equalPos).lower (); TQString value = (*it).right ((*it).length () - equalPos - 1); @@ -434,7 +434,7 @@ KDE_NO_EXPORT bool KMPlayerPart::openURL (const KURL & _url) { url = KURL (m_docbase, m_file_name); // fix misdetected SRC attr else if (_url != m_docbase) { url = _url; - if (!m_file_name.isEmpty () && _url.url ().tqfind (m_file_name) < 0) { + if (!m_file_name.isEmpty () && _url.url ().find (m_file_name) < 0) { KURL u (m_file_name); if ((u.protocol () == TQString ("mms")) || _url.protocol ().isEmpty ()) { @@ -878,10 +878,10 @@ KDE_NO_EXPORT void KMPlayerLiveConnectExtension::evaluate ( const TQString & scr, TQString & result) { TQString script (scr); KParts::LiveConnectExtension::ArgList args; - script = script.tqreplace ('\\', "\\\\"); - script = script.tqreplace ('\n', "\\n"); - script = script.tqreplace ('\r', ""); - script = script.tqreplace ('"', "\\\""); + script = script.replace ('\\', "\\\\"); + script = script.replace ('\n', "\\n"); + script = script.replace ('\r', ""); + script = script.replace ('"', "\\\""); script = TQString ("this.__kmplayer__res=eval(\"%1\")").arg (script); args.push_back(qMakePair(KParts::LiveConnectExtension::TypeString, script)); |