Phonon.PlatformPlugin

Detailed Description

class PySide.phonon.Phonon.PlatformPlugin
PySide.phonon.Phonon.PlatformPlugin.applicationName()
Return type:unicode

Returns the name of the application. For most Qt application this is QCoreApplication.applicationName() , but for KDE this is overridden by KAboutData.

PySide.phonon.Phonon.PlatformPlugin.createBackend(library, version)
Parameters:
  • library – unicode
  • version – unicode
Return type:

PySide.QtCore.QObject

Using the library loader of the platform, loads a given backend provided the specified library and version .

PySide.phonon.Phonon.PlatformPlugin.createBackend()
Return type:PySide.QtCore.QObject

Creates a backend object. This way the platform can decide the backend preference.

PySide.phonon.Phonon.PlatformPlugin.createMediaStream(url, parent)
Parameters:
Return type:

PySide.phonon.Phonon::AbstractMediaStream

Creates a AbstractMediaStream object with the given parent that provides the data for the given URL specified by url .

PySide.phonon.Phonon.PlatformPlugin.deviceAccessListFor(arg__1)
Parameters:arg__1PySide.phonon.Phonon::AudioOutputDevice
Return type:
PySide.phonon.Phonon.PlatformPlugin.icon(name)
Parameters:name – unicode
Return type:PySide.QtGui.QIcon

Returns the icon for the given icon name.

PySide.phonon.Phonon.PlatformPlugin.isMimeTypeAvailable(mimeType)
Parameters:mimeType – unicode
Return type:PySide.QtCore.bool

Tries to check whether the default backend supports the MIME type specified by mimeType without loading the actual backend library.

PySide.phonon.Phonon.PlatformPlugin.loadVolume(outputName)
Parameters:outputName – unicode
Return type:PySide.QtCore.qreal

Loads the volume for the given output.

PySide.phonon.Phonon.PlatformPlugin.notification(notificationName, text[, actions=list()[, receiver=None[, actionSlot=0]]])
Parameters:
  • notificationName – str
  • text – unicode
  • actions – list of strings
  • receiverPySide.QtCore.QObject
  • actionSlot – str

Shows a notification pop-up with the given notificationName and text . Each action in the associated list of actions is connected to the actionSlot of the specified receiver object, which is expected to act on the actions as they are triggered by the user.

PySide.phonon.Phonon.PlatformPlugin.objectDescriptionIndexes(type)
Parameters:typePySide.phonon.Phonon.ObjectDescriptionType
Return type:
PySide.phonon.Phonon.PlatformPlugin.objectDescriptionProperties(type, index)
Parameters:
Return type:

PySide.phonon.Phonon.PlatformPlugin.saveVolume(outputName, volume)
Parameters:
  • outputName – unicode
  • volumePySide.QtCore.qreal

Saves the volume for the given output.