[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdemultimedia/phonon-nmm
From: Matthias Kretz <kretz () kde ! org>
Date: 2006-07-31 21:45:54
Message-ID: 1154382354.926338.21463.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 568352 by mkretz:
totalTime() was missing - it was not moved to AbstractMediaProducer as the commit log suggested
M +7 -0 mediaobject.cpp
M +1 -0 mediaobject.h
--- trunk/KDE/kdemultimedia/phonon-nmm/mediaobject.cpp #568351:568352
@@ -53,6 +53,13 @@
kDebug() << k_funcinfo << endl;
}
+qint64 MediaObject::totalTime() const
+{
+ kDebug() << k_funcinfo << endl;
+
+ return m_trackDuration;
+}
+
void MediaObject::registerEventHandler()
{
kDebug() << k_funcinfo << endl;
--- trunk/KDE/kdemultimedia/phonon-nmm/mediaobject.h #568351:568352
@@ -40,6 +40,7 @@
MediaObject( Backend* backend, QObject* parent );
~MediaObject();
Q_INVOKABLE KUrl url() const;
+ Q_INVOKABLE qint64 totalTime() const;
//Q_INVOKABLE qint64 remainingTime() const;
Q_INVOKABLE void setUrl( const KUrl& url );
Q_INVOKABLE void play();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic