26#include "soundserver.h"
30class TDE_EXPORT KPlayObject :
public TQObject
35 KPlayObject(Arts::PlayObject playobject,
bool isStream);
42 void setObject(Arts::PlayObject playObject);
47 Arts::PlayObject object();
71 void seek(Arts::poTime newTime);
92 Arts::poTime currentTime();
97 Arts::poTime overallTime();
102 Arts::poCapabilities capabilities();
107 TQString mediaName();
112 Arts::poState state();
115 Arts::PlayObject m_playObject;
188class TDE_EXPORT PlayObject :
public TQObject
197 Arts::PlayObject
object();
221 void seek(Arts::poTime newTime);
272 Arts::poState
state();
285 void attachPlayObject( Arts::PlayObject );
288 Arts::PlayObject m_playObject;
296 PlayObject(
const PlayObject& ) : TQObject() {};
297 PlayObject(Arts::PlayObject playobject,
bool isStream);
298 PlayObject( Arts::SoundServerV2 server,
const KURL& url,
bool isStream,
bool createBUS );
This class implements a factory to create KDE::PlayObjects for a given URL and mimetype.
This class acts as a general interface to the KDE multimedia framework.
void halt()
immediately stops the play back and resets the media to the start of the content.
TQString description()
Reimplemented (Arts::PlayObject Wrapper).
bool isNull()
return true if this != 0.
TQString mediaName()
Reimplemented (Arts::PlayObject Wrapper).
void pause()
causes the PlayObject to pause play back immediately.
Arts::PlayObject object()
Returns the internal Arts::PlayObject.
void play()
causes the PlayObject to start the play back.
Arts::poTime overallTime()
Reimplemented (Arts::PlayObject Wrapper).
void playObjectCreated()
this signal is emitted as soon as the internal Arts::PlayObject is created and ready to play.
bool stream()
returns "true" if the content to play is delivered as a stream.
void seek(Arts::poTime newTime)
causes the PlayObject to skip to the time newTime.
Arts::poState state()
returns the internal state of the PlayObject.
Arts::poTime currentTime()
Reimplemented (Arts::PlayObject Wrapper).
Arts::poCapabilities capabilities()
returns the capabilities of the PlayObject.
TQString description(StdAccel id)