#include <kplayobjectfactory.h>
Public Methods | |
| PlayObjectFactory (Arts::SoundServerV2 server) | |
| KDE::PlayObject * | createPlayObject (const KURL &url, bool createBUS) |
| KDE::PlayObject * | createPlayObject (const KURL &url, const QString &mimetype, bool createBUS) |
| void | setAllowStreaming (bool s) |
| bool | allowStreaming () |
Static Public Methods | |
| QStringList | mimeTypes (void) |
Definition at line 58 of file kplayobjectfactory.h.
|
|
Creates a KDE::PlayObjectFactory. |
|
|
returns "true" if the factory is allowed to create streaming PlayObjects. Definition at line 97 of file kplayobjectfactory.h. |
|
||||||||||||||||
|
This method also creates a KDE::PlayObject, but does no automatic mimetype detection. Use this method with care. |
|
||||||||||||
|
Creates a KDE::PlayObject to play back the file or stream You don't need to know the mimetype of the file or stream, it will be detected automatically. |
|
|
Return the mimetypes that are playable |
|
|
setAllowStreaming( true ) allows the factory to create a streaming PlayObject for a non-local URL. This is also the default. Usually, you should not need to set this to false. Definition at line 91 of file kplayobjectfactory.h. |
1.2.18