arts Library API Documentation

KPlayObject Class Reference

Inheritance diagram for KPlayObject:

Inheritance graph
[legend]
Collaboration diagram for KPlayObject:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KPlayObject ()
 KPlayObject (Arts::PlayObject playobject, bool isStream)
 ~KPlayObject ()
void setObject (Arts::PlayObject playObject)
Arts::PlayObject object ()
bool isNull ()
bool stream ()
void play ()
void seek (Arts::poTime newTime)
void pause ()
void halt ()
QString description ()
Arts::poTime currentTime ()
Arts::poTime overallTime ()
Arts::poCapabilities capabilities ()
QString mediaName ()
Arts::poState state ()

Detailed Description

Definition at line 30 of file kplayobject.h.


Member Function Documentation

void KPlayObject::setObject Arts::PlayObject  playObject  ) 
 

Sets the internal Arts::PlayObject to .

Definition at line 108 of file kplayobject.cc.

Arts::PlayObject KPlayObject::object  ) 
 

Returns the internal Arts::PlayObject.

Definition at line 96 of file kplayobject.cc.

Referenced by capabilities(), currentTime(), description(), halt(), isNull(), mediaName(), overallTime(), pause(), play(), seek(), KAudioConverter::start(), and state().

bool KPlayObject::isNull  ) 
 

return true if both this != 0, and object.isNull()

in essence, ((KPlayObject*)0)->isNull() will not crash

Definition at line 101 of file kplayobject.cc.

References object().

bool KPlayObject::stream  ) 
 

returns true if the internally playobject is used to play a stream

Definition at line 113 of file kplayobject.cc.

void KPlayObject::play  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 43 of file kplayobject.cc.

References object().

Referenced by KAudioConverter::start().

void KPlayObject::seek Arts::poTime  newTime  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 48 of file kplayobject.cc.

References endl(), kdDebug(), and object().

void KPlayObject::pause  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 56 of file kplayobject.cc.

References object().

void KPlayObject::halt  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 61 of file kplayobject.cc.

References object().

Referenced by KAudioConverter::stop().

QString KPlayObject::description  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 66 of file kplayobject.cc.

References QString::fromLatin1(), and object().

Arts::poTime KPlayObject::currentTime  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 71 of file kplayobject.cc.

References object().

Arts::poTime KPlayObject::overallTime  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 76 of file kplayobject.cc.

References object().

Arts::poCapabilities KPlayObject::capabilities  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 81 of file kplayobject.cc.

References object().

QString KPlayObject::mediaName  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 86 of file kplayobject.cc.

References QString::fromLatin1(), and object().

Arts::poState KPlayObject::state  ) 
 

Reimplemented (Arts::PlayObject Wrapper).

Definition at line 91 of file kplayobject.cc.

References object().

Referenced by KAudioConverter::start().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for arts Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 07:01:54 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003