summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/mediaplayer/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/sidebar/mediaplayer/player.cpp')
-rw-r--r--konq-plugins/sidebar/mediaplayer/player.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/sidebar/mediaplayer/player.cpp b/konq-plugins/sidebar/mediaplayer/player.cpp
index 360f8e8..741a6b6 100644
--- a/konq-plugins/sidebar/mediaplayer/player.cpp
+++ b/konq-plugins/sidebar/mediaplayer/player.cpp
@@ -29,14 +29,14 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "engine.h"
#include "player.h"
-Player::Player(QObject *parent)
- : QObject(parent)
+Player::Player(TQObject *parent)
+ : TQObject(parent)
, position(0)
, unfinished(false)
{
mEngine = new Engine;
mLooping = false;
- connect(&ticker, SIGNAL(timeout()), SLOT(tickerTimeout()));
+ connect(&ticker, TQT_SIGNAL(timeout()), TQT_SLOT(tickerTimeout()));
ticker.start(500);
stop();
}
@@ -134,7 +134,7 @@ void Player::tickerTimeout()
}
-QString Player::lengthString(long _position)
+TQString Player::lengthString(long _position)
{
if(_position == -1) _position = position;
@@ -146,7 +146,7 @@ QString Player::lengthString(long _position)
int totSeconds = totSecs % 60;
int totMinutes = (totSecs - totSeconds) / 60;
- QString result;
+ TQString result;
result.sprintf("%.2d:%.2d/%.2d:%.2d", posMinutes, posSeconds, totMinutes, totSeconds);
return result;
}