PlatformPlugin Class Reference
#include <platformplugin.h>
Definition at line 45 of file platformplugin.h.
|
virtual | ~PlatformPlugin () |
|
virtual AbstractMediaStream * | createMediaStream (const QUrl &url, QObject *parent)=0 |
| Creates a AbstractMediaStream object that provides the data for the given url . More...
|
|
virtual QIcon | icon (const QString &name) const =0 |
| Returns the icon for the given icon name. More...
|
|
virtual void | notification (const char *notificationName, const QString &text, const QStringList &actions=QStringList(), QObject *receiver=0, const char *actionSlot=0) const =0 |
| Shows a notification popup. More...
|
|
virtual QString | applicationName () const =0 |
| Returns the name of the application. More...
|
|
virtual QObject * | createBackend ()=0 |
| Creates a backend object. More...
|
|
virtual QObject * | createBackend (const QString &library, const QString &version)=0 |
| Using the library loader of the platform, loads a given backend. More...
|
|
virtual bool | isMimeTypeAvailable (const QString &mimeType) const =0 |
| Tries to check whether the default backend supports a given MIME type without loading the actual backend library. More...
|
|
virtual void | saveVolume (const QString &outputName, qreal volume)=0 |
| Saves the volume for the given output. More...
|
|
virtual qreal | loadVolume (const QString &outputName) const =0 |
| Loads the volume for the given output. More...
|
|
virtual QList< int > | objectDescriptionIndexes (ObjectDescriptionType type) const =0 |
|
virtual QHash< QByteArray, QVariant > | objectDescriptionProperties (ObjectDescriptionType type, int index) const =0 |
|
virtual QList< QPair< QByteArray, QString > > | deviceAccessListFor (const Phonon::AudioOutputDevice &) const |
| Returns a list of (driver, handle) pairs for the given AudioOutputDevice description. More...
|
|
Creates a AbstractMediaStream object that provides the data for the given url
.
On KDE this uses KIO.
Returns the icon for the given icon name.
Shows a notification popup.
virtual QString applicationName |
( |
| ) |
const |
|
pure virtual |
Creates a backend object.
This way the platform can decide the backend preference.
Using the library loader of the platform, loads a given backend.
virtual bool isMimeTypeAvailable |
( |
const QString & |
mimeType | ) |
const |
|
pure virtual |
Tries to check whether the default backend supports a given MIME type without loading the actual backend library.
On KDE this reads the MIME type list from the .desktop file of the backend.
virtual void saveVolume |
( |
const QString & |
outputName, |
|
|
qreal |
volume |
|
) |
| |
|
pure virtual |
Saves the volume for the given output.
virtual qreal loadVolume |
( |
const QString & |
outputName | ) |
const |
|
pure virtual |
Loads the volume for the given output.
Returns a list of (driver, handle) pairs for the given AudioOutputDevice description.
Definition at line 107 of file platformplugin.h.
The documentation for this class was generated from the following file: