summaryrefslogtreecommitdiffstats
path: root/src/kmplayerpartbase.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commit0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff (patch)
tree26e2e13d9f08727aa60872c0536662f8b2b5bf56 /src/kmplayerpartbase.cpp
parent656e74dad5d31c4cc3eebdab9f58c679cfcc1ab0 (diff)
downloadkmplayer-0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff.tar.gz
kmplayer-0d5a05983c0c2ba7a51bdeb1688dc232bacfa8ff.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmplayer@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kmplayerpartbase.cpp')
-rw-r--r--src/kmplayerpartbase.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kmplayerpartbase.cpp b/src/kmplayerpartbase.cpp
index 7bd33bb..dedec80 100644
--- a/src/kmplayerpartbase.cpp
+++ b/src/kmplayerpartbase.cpp
@@ -661,7 +661,7 @@ KDE_NO_EXPORT void PartBase::playListItemExecuted (TQListViewItem * item) {
if (!src.isEmpty ()) {
PlayListItem * pi = static_cast <PlayListItem*>(item->tqparent());
if (pi) {
- for (NodePtr e = pi->node; e; e = e->tqparentNode ()) {
+ for (NodePtr e = pi->node; e; e = e->parentNode ()) {
Mrl * mrl = e->mrl ();
if (mrl)
src = KURL (mrl->absolutePath (), src).url ();
@@ -752,7 +752,7 @@ void PartBase::play () {
if (!lvi)
lvi = static_cast<PlayListItem*>(m_view->playList()->firstChild());
if (lvi)
- for (NodePtr n = lvi->node; n; n = n->tqparentNode ()) {
+ for (NodePtr n = lvi->node; n; n = n->parentNode ()) {
if (n->isPlayable ()) {
m_source->setCurrent (n);
break;
@@ -1040,7 +1040,7 @@ void Source::playCurrent () {
if (!m_current)
m_document->activate ();
else { // ugly code duplicate w/ back_request
- for (NodePtr p = m_current->tqparentNode(); p; p = p->tqparentNode())
+ for (NodePtr p = m_current->parentNode(); p; p = p->parentNode())
p->state = Element::state_activated;
m_current->activate ();
}
@@ -1141,7 +1141,7 @@ void Source::stateElementChanged (Node * elm, Node::State os, Node::State ns) {
} else if (ns == Node::state_activated &&
elm->isPlayable () &&
elm->mrl ()->view_mode == Mrl::SingleMode) {
- Node *p = elm->tqparentNode();
+ Node *p = elm->parentNode();
if (!p || !p->mrl () || p->mrl ()->view_mode == Mrl::SingleMode)
// make sure we don't set current to nested document
m_current = elm;
@@ -1181,7 +1181,7 @@ void Source::insertURL (NodePtr node, const TQString & mrl, const TQString & tit
kdError () << "try to append url to itself" << endl;
else {
int depth = 0; // cache this?
- for (NodePtr e = node; e->tqparentNode (); e = e->tqparentNode ())
+ for (NodePtr e = node; e->parentNode (); e = e->parentNode ())
++depth;
if (depth < 40) {
node->appendChild (new GenericURL (m_document, KURL::decode_string (url.url ()), title.isEmpty() ? KURL::decode_string (mrl) : title));
@@ -1223,7 +1223,7 @@ void Source::backward () {
return;
}
} else
- m_back_request = m_back_request->tqparentNode ();
+ m_back_request = m_back_request->parentNode ();
}
m_back_request = 0L;
} else
@@ -1424,9 +1424,9 @@ void Source::stateChange(Process *p, Process::State olds, Process::State news) {
m_current->id < SMIL::id_node_last) {
playCurrent (); // just play back_request
} else {
- // sanitize pl having all tqparents of current activated
+ // sanitize pl having all parents of current activated
m_document->reset (); // deactivate everything
- for (NodePtr p = m_current->tqparentNode(); p; p = p->tqparentNode())
+ for (NodePtr p = m_current->parentNode(); p; p = p->parentNode())
p->state = Element::state_activated;
m_current->activate (); // calls requestPlayUrl
}
@@ -1790,7 +1790,7 @@ bool URLSource::resolveURL (NodePtr m) {
if (!mrl || mrl->src.isEmpty ())
return true;
int depth = 0;
- for (NodePtr e = m->tqparentNode (); e; e = e->tqparentNode ())
+ for (NodePtr e = m->parentNode (); e; e = e->parentNode ())
++depth;
if (depth > 40)
return true;