summaryrefslogtreecommitdiffstats
path: root/src/kmplayer_rp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:30:48 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:30:48 -0600
commitf97c8a56e217f04e08776ccf8021721b7d919b7d (patch)
tree436c68db12057f4d08acfbf37bec9cd8dfafcec8 /src/kmplayer_rp.cpp
parentd211eb866a067b537fb32cab5f10f8dd24a73ad7 (diff)
downloadkmplayer-f97c8a56e217f04e08776ccf8021721b7d919b7d.tar.gz
kmplayer-f97c8a56e217f04e08776ccf8021721b7d919b7d.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/kmplayer_rp.cpp')
-rw-r--r--src/kmplayer_rp.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kmplayer_rp.cpp b/src/kmplayer_rp.cpp
index 9ecdb62..36938b5 100644
--- a/src/kmplayer_rp.cpp
+++ b/src/kmplayer_rp.cpp
@@ -183,11 +183,11 @@ KDE_NO_EXPORT NodePtr RP::Imfl::childFromTag (const TQString & tag) {
return 0L;
}
-KDE_NO_EXPORT void RP::Imfl::tqrepaint () {
+KDE_NO_EXPORT void RP::Imfl::repaint () {
if (!active ())
- kdWarning () << "Spurious Imfl tqrepaint" << endl;
+ kdWarning () << "Spurious Imfl repaint" << endl;
else if (surface () && width > 0 && height > 0)
- rp_surface->tqrepaint (SRect (0, 0, width, height));
+ rp_surface->repaint (SRect (0, 0, width, height));
}
KDE_NO_CDTOR_EXPORT RP::Image::Image (NodePtr & doc)
@@ -353,7 +353,7 @@ KDE_NO_EXPORT void RP::TimingsBase::update (int percentage) {
progress = percentage;
Node * p = parentNode ().ptr ();
if (p->id == RP::id_node_imfl)
- static_cast <RP::Imfl *> (p)->tqrepaint ();
+ static_cast <RP::Imfl *> (p)->repaint ();
}
KDE_NO_EXPORT void RP::TimingsBase::finish () {
@@ -447,11 +447,11 @@ KDE_NO_EXPORT void RP::Wipe::activate () {
//TODO implement 'type="push"'
TQString dir = getAttribute ("direction").lower ();
direction = dir_right;
- if (dir == TQString::tqfromLatin1 ("left"))
+ if (dir == TQString::fromLatin1 ("left"))
direction = dir_left;
- else if (dir == TQString::tqfromLatin1 ("up"))
+ else if (dir == TQString::fromLatin1 ("up"))
direction = dir_up;
- else if (dir == TQString::tqfromLatin1 ("down"))
+ else if (dir == TQString::fromLatin1 ("down"))
direction = dir_down;
TimingsBase::activate ();
}