File indexing completed on 2024-05-12 16:08:40
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class Phonon(): 0007 """""" 0008 # Enum Phonon.ErrorType 0009 NoError = 0 0010 NormalError = 0 0011 FatalError = 0 0012 0013 # Enum Phonon.Category 0014 NoCategory = 0 0015 NotificationCategory = 0 0016 MusicCategory = 0 0017 VideoCategory = 0 0018 CommunicationCategory = 0 0019 GameCategory = 0 0020 AccessibilityCategory = 0 0021 0022 # Enum Phonon.State 0023 LoadingState = 0 0024 StoppedState = 0 0025 PlayingState = 0 0026 BufferingState = 0 0027 PausedState = 0 0028 ErrorState = 0 0029 0030 # Enum Phonon.MetaData 0031 ArtistMetaData = 0 0032 AlbumMetaData = 0 0033 TitleMetaData = 0 0034 DateMetaData = 0 0035 GenreMetaData = 0 0036 TracknumberMetaData = 0 0037 DescriptionMetaData = 0 0038 MusicBrainzDiscIdMetaData = 0 0039 0040 # Enum Phonon.DiscType 0041 NoDisc = 0 0042 Cd = 0 0043 Dvd = 0 0044 Vcd = 0 0045 0046 def phononVersion(self): 0047 '''static str Phonon.phononVersion()''' 0048 return str() 0049 def categoryToString(self, c): 0050 '''static QString Phonon.categoryToString(Phonon.Category c)''' 0051 return QString() 0052 def createPath(self, source, sink): 0053 '''static Phonon.Path Phonon.createPath(Phonon.MediaNode source, Phonon.MediaNode sink)''' 0054 return Phonon.Path() 0055 def createPlayer(self, category, source = None): 0056 '''static Phonon.MediaObject Phonon.createPlayer(Phonon.Category category, Phonon.MediaSource source = Phonon.MediaSource())''' 0057 return Phonon.MediaObject() 0058 class Effect(QObject, Phonon.MediaNode): 0059 """""" 0060 def __init__(self, description, parent = None): 0061 '''void Phonon.Effect.__init__(Phonon.EffectDescription description, QObject parent = None)''' 0062 def setParameterValue(self, value): 0063 '''Phonon.EffectParameter Phonon.Effect.setParameterValue(QVariant value)''' 0064 return Phonon.EffectParameter() 0065 def parameterValue(self): 0066 '''Phonon.EffectParameter Phonon.Effect.parameterValue()''' 0067 return Phonon.EffectParameter() 0068 def parameters(self): 0069 '''list-of-Phonon.EffectParameter Phonon.Effect.parameters()''' 0070 return [Phonon.EffectParameter()] 0071 def description(self): 0072 '''Phonon.EffectDescription Phonon.Effect.description()''' 0073 return Phonon.EffectDescription() 0074 class BackendCapabilities(): 0075 """""" 0076 def availableAudioCaptureDevices(self): 0077 '''static list-of-Phonon.AudioCaptureDevice Phonon.BackendCapabilities.availableAudioCaptureDevices()''' 0078 return [Phonon.AudioCaptureDevice()] 0079 def availableAudioEffects(self): 0080 '''static list-of-Phonon.EffectDescription Phonon.BackendCapabilities.availableAudioEffects()''' 0081 return [Phonon.EffectDescription()] 0082 def availableAudioOutputDevices(self): 0083 '''static list-of-Phonon.AudioOutputDevice Phonon.BackendCapabilities.availableAudioOutputDevices()''' 0084 return [Phonon.AudioOutputDevice()] 0085 def isMimeTypeAvailable(self, mimeType): 0086 '''static bool Phonon.BackendCapabilities.isMimeTypeAvailable(QString mimeType)''' 0087 return bool() 0088 def availableMimeTypes(self): 0089 '''static QStringList Phonon.BackendCapabilities.availableMimeTypes()''' 0090 return QStringList() 0091 def notifier(self): 0092 '''static Phonon.BackendCapabilities.Notifier Phonon.BackendCapabilities.notifier()''' 0093 return Phonon.BackendCapabilities.Notifier() 0094 class VolumeSlider(QWidget): 0095 """""" 0096 def __init__(self, parent = None): 0097 '''void Phonon.VolumeSlider.__init__(QWidget parent = None)''' 0098 def __init__(self, parent = None): 0099 '''Phonon.AudioOutput Phonon.VolumeSlider.__init__(QWidget parent = None)''' 0100 return Phonon.AudioOutput() 0101 def setAudioOutput(self): 0102 '''Phonon.AudioOutput Phonon.VolumeSlider.setAudioOutput()''' 0103 return Phonon.AudioOutput() 0104 def setIconSize(self, size): 0105 '''void Phonon.VolumeSlider.setIconSize(QSize size)''' 0106 def setMuteVisible(self): 0107 '''bool Phonon.VolumeSlider.setMuteVisible()''' 0108 return bool() 0109 def setOrientation(self): 0110 '''Qt.Orientation Phonon.VolumeSlider.setOrientation()''' 0111 return Qt.Orientation() 0112 def setMaximumVolume(self): 0113 '''float Phonon.VolumeSlider.setMaximumVolume()''' 0114 return float() 0115 def audioOutput(self): 0116 '''Phonon.AudioOutput Phonon.VolumeSlider.audioOutput()''' 0117 return Phonon.AudioOutput() 0118 def orientation(self): 0119 '''Qt.Orientation Phonon.VolumeSlider.orientation()''' 0120 return Qt.Orientation() 0121 def maximumVolume(self): 0122 '''float Phonon.VolumeSlider.maximumVolume()''' 0123 return float() 0124 def iconSize(self): 0125 '''QSize Phonon.VolumeSlider.iconSize()''' 0126 return QSize() 0127 def isMuteVisible(self): 0128 '''bool Phonon.VolumeSlider.isMuteVisible()''' 0129 return bool() 0130 def setSingleStep(self, milliseconds): 0131 '''void Phonon.VolumeSlider.setSingleStep(int milliseconds)''' 0132 def singleStep(self): 0133 '''int Phonon.VolumeSlider.singleStep()''' 0134 return int() 0135 def setPageStep(self, milliseconds): 0136 '''void Phonon.VolumeSlider.setPageStep(int milliseconds)''' 0137 def pageStep(self): 0138 '''int Phonon.VolumeSlider.pageStep()''' 0139 return int() 0140 def setTracking(self, tracking): 0141 '''void Phonon.VolumeSlider.setTracking(bool tracking)''' 0142 def hasTracking(self): 0143 '''bool Phonon.VolumeSlider.hasTracking()''' 0144 return bool() 0145 class VideoPlayer(QWidget): 0146 """""" 0147 def __init__(self, category, parent = None): 0148 '''void Phonon.VideoPlayer.__init__(Phonon.Category category, QWidget parent = None)''' 0149 def __init__(self, parent = None): 0150 '''void Phonon.VideoPlayer.__init__(QWidget parent = None)''' 0151 finished = pyqtSignal() # void finished() - signal 0152 def videoWidget(self): 0153 '''Phonon.VideoWidget Phonon.VideoPlayer.videoWidget()''' 0154 return Phonon.VideoWidget() 0155 def audioOutput(self): 0156 '''Phonon.AudioOutput Phonon.VideoPlayer.audioOutput()''' 0157 return Phonon.AudioOutput() 0158 def mediaObject(self): 0159 '''Phonon.MediaObject Phonon.VideoPlayer.mediaObject()''' 0160 return Phonon.MediaObject() 0161 def setVolume(self, volume): 0162 '''void Phonon.VideoPlayer.setVolume(float volume)''' 0163 def seek(self, ms): 0164 '''void Phonon.VideoPlayer.seek(int ms)''' 0165 def stop(self): 0166 '''void Phonon.VideoPlayer.stop()''' 0167 def pause(self): 0168 '''void Phonon.VideoPlayer.pause()''' 0169 def play(self, source): 0170 '''void Phonon.VideoPlayer.play(Phonon.MediaSource source)''' 0171 def play(self): 0172 '''void Phonon.VideoPlayer.play()''' 0173 def load(self, source): 0174 '''void Phonon.VideoPlayer.load(Phonon.MediaSource source)''' 0175 def isPaused(self): 0176 '''bool Phonon.VideoPlayer.isPaused()''' 0177 return bool() 0178 def isPlaying(self): 0179 '''bool Phonon.VideoPlayer.isPlaying()''' 0180 return bool() 0181 def volume(self): 0182 '''float Phonon.VideoPlayer.volume()''' 0183 return float() 0184 def currentTime(self): 0185 '''int Phonon.VideoPlayer.currentTime()''' 0186 return int() 0187 def totalTime(self): 0188 '''int Phonon.VideoPlayer.totalTime()''' 0189 return int() 0190 class AbstractVideoOutput(Phonon.MediaNode): 0191 """""" 0192 class VideoWidget(QWidget, Phonon.AbstractVideoOutput): 0193 """""" 0194 # Enum Phonon.VideoWidget.ScaleMode 0195 FitInView = 0 0196 ScaleAndCrop = 0 0197 0198 # Enum Phonon.VideoWidget.AspectRatio 0199 AspectRatioAuto = 0 0200 AspectRatioWidget = 0 0201 AspectRatio4_3 = 0 0202 AspectRatio16_9 = 0 0203 0204 def __init__(self, parent = None): 0205 '''void Phonon.VideoWidget.__init__(QWidget parent = None)''' 0206 def snapshot(self): 0207 '''QImage Phonon.VideoWidget.snapshot()''' 0208 return QImage() 0209 def event(self): 0210 '''QEvent Phonon.VideoWidget.event()''' 0211 return QEvent() 0212 def mouseMoveEvent(self): 0213 '''QMouseEvent Phonon.VideoWidget.mouseMoveEvent()''' 0214 return QMouseEvent() 0215 def setSaturation(self, value): 0216 '''void Phonon.VideoWidget.setSaturation(float value)''' 0217 def setHue(self, value): 0218 '''void Phonon.VideoWidget.setHue(float value)''' 0219 def setContrast(self, value): 0220 '''void Phonon.VideoWidget.setContrast(float value)''' 0221 def setBrightness(self, value): 0222 '''void Phonon.VideoWidget.setBrightness(float value)''' 0223 def setScaleMode(self): 0224 '''Phonon.VideoWidget.ScaleMode Phonon.VideoWidget.setScaleMode()''' 0225 return Phonon.VideoWidget.ScaleMode() 0226 def setAspectRatio(self): 0227 '''Phonon.VideoWidget.AspectRatio Phonon.VideoWidget.setAspectRatio()''' 0228 return Phonon.VideoWidget.AspectRatio() 0229 def enterFullScreen(self): 0230 '''void Phonon.VideoWidget.enterFullScreen()''' 0231 def exitFullScreen(self): 0232 '''void Phonon.VideoWidget.exitFullScreen()''' 0233 def setFullScreen(self, fullscreen): 0234 '''void Phonon.VideoWidget.setFullScreen(bool fullscreen)''' 0235 def saturation(self): 0236 '''float Phonon.VideoWidget.saturation()''' 0237 return float() 0238 def hue(self): 0239 '''float Phonon.VideoWidget.hue()''' 0240 return float() 0241 def contrast(self): 0242 '''float Phonon.VideoWidget.contrast()''' 0243 return float() 0244 def brightness(self): 0245 '''float Phonon.VideoWidget.brightness()''' 0246 return float() 0247 def scaleMode(self): 0248 '''Phonon.VideoWidget.ScaleMode Phonon.VideoWidget.scaleMode()''' 0249 return Phonon.VideoWidget.ScaleMode() 0250 def aspectRatio(self): 0251 '''Phonon.VideoWidget.AspectRatio Phonon.VideoWidget.aspectRatio()''' 0252 return Phonon.VideoWidget.AspectRatio() 0253 class Path(): 0254 """""" 0255 def __init__(self): 0256 '''void Phonon.Path.__init__()''' 0257 def __init__(self): 0258 '''Phonon.Path Phonon.Path.__init__()''' 0259 return Phonon.Path() 0260 def sink(self): 0261 '''Phonon.MediaNode Phonon.Path.sink()''' 0262 return Phonon.MediaNode() 0263 def source(self): 0264 '''Phonon.MediaNode Phonon.Path.source()''' 0265 return Phonon.MediaNode() 0266 def __ne__(self, p): 0267 '''bool Phonon.Path.__ne__(Phonon.Path p)''' 0268 return bool() 0269 def __eq__(self, p): 0270 '''bool Phonon.Path.__eq__(Phonon.Path p)''' 0271 return bool() 0272 def disconnect(self): 0273 '''bool Phonon.Path.disconnect()''' 0274 return bool() 0275 def reconnect(self, source, sink): 0276 '''bool Phonon.Path.reconnect(Phonon.MediaNode source, Phonon.MediaNode sink)''' 0277 return bool() 0278 def effects(self): 0279 '''list-of-Phonon.Effect Phonon.Path.effects()''' 0280 return [Phonon.Effect()] 0281 def removeEffect(self, effect): 0282 '''bool Phonon.Path.removeEffect(Phonon.Effect effect)''' 0283 return bool() 0284 def insertEffect(self, desc, before = None): 0285 '''Phonon.Effect Phonon.Path.insertEffect(Phonon.EffectDescription desc, Phonon.Effect before = None)''' 0286 return Phonon.Effect() 0287 def insertEffect(self, newEffect, before = None): 0288 '''bool Phonon.Path.insertEffect(Phonon.Effect newEffect, Phonon.Effect before = None)''' 0289 return bool() 0290 def isValid(self): 0291 '''bool Phonon.Path.isValid()''' 0292 return bool() 0293 class EffectParameter(): 0294 """""" 0295 # Enum Phonon.EffectParameter.Hint 0296 ToggledHint = 0 0297 LogarithmicHint = 0 0298 IntegerHint = 0 0299 0300 def __init__(self, parameterId, name, hints, defaultValue, min = QVariant(), max = QVariant(), values = None, description = QString()): 0301 '''void Phonon.EffectParameter.__init__(int parameterId, QString name, Phonon.EffectParameter.Hints hints, QVariant defaultValue, QVariant min = QVariant(), QVariant max = QVariant(), list-of-QVariant values = [], QString description = QString())''' 0302 def __init__(self, rhs): 0303 '''void Phonon.EffectParameter.__init__(Phonon.EffectParameter rhs)''' 0304 def __hash__(self): 0305 '''int Phonon.EffectParameter.__hash__()''' 0306 return int() 0307 def possibleValues(self): 0308 '''list-of-QVariant Phonon.EffectParameter.possibleValues()''' 0309 return [QVariant()] 0310 def defaultValue(self): 0311 '''QVariant Phonon.EffectParameter.defaultValue()''' 0312 return QVariant() 0313 def maximumValue(self): 0314 '''QVariant Phonon.EffectParameter.maximumValue()''' 0315 return QVariant() 0316 def minimumValue(self): 0317 '''QVariant Phonon.EffectParameter.minimumValue()''' 0318 return QVariant() 0319 def isLogarithmicControl(self): 0320 '''bool Phonon.EffectParameter.isLogarithmicControl()''' 0321 return bool() 0322 def type(self): 0323 '''Type Phonon.EffectParameter.type()''' 0324 return Type() 0325 def description(self): 0326 '''QString Phonon.EffectParameter.description()''' 0327 return QString() 0328 def name(self): 0329 '''QString Phonon.EffectParameter.name()''' 0330 return QString() 0331 class AudioCaptureDevice(): 0332 """""" 0333 def __init__(self): 0334 '''void Phonon.AudioCaptureDevice.__init__()''' 0335 def __init__(self, index, properties): 0336 '''void Phonon.AudioCaptureDevice.__init__(int index, dict-of-QByteArray-QVariant properties)''' 0337 def __init__(self): 0338 '''Phonon.AudioCaptureDevice Phonon.AudioCaptureDevice.__init__()''' 0339 return Phonon.AudioCaptureDevice() 0340 def fromIndex(self, index): 0341 '''static Phonon.AudioCaptureDevice Phonon.AudioCaptureDevice.fromIndex(int index)''' 0342 return Phonon.AudioCaptureDevice() 0343 def __eq__(self, otherDescription): 0344 '''bool Phonon.AudioCaptureDevice.__eq__(Phonon.AudioCaptureDevice otherDescription)''' 0345 return bool() 0346 def __ne__(self, otherDescription): 0347 '''bool Phonon.AudioCaptureDevice.__ne__(Phonon.AudioCaptureDevice otherDescription)''' 0348 return bool() 0349 def propertyNames(self): 0350 '''list-of-QByteArray Phonon.AudioCaptureDevice.propertyNames()''' 0351 return [QByteArray()] 0352 def property(self, name): 0353 '''QVariant Phonon.AudioCaptureDevice.property(str name)''' 0354 return QVariant() 0355 def name(self): 0356 '''QString Phonon.AudioCaptureDevice.name()''' 0357 return QString() 0358 def isValid(self): 0359 '''bool Phonon.AudioCaptureDevice.isValid()''' 0360 return bool() 0361 def index(self): 0362 '''int Phonon.AudioCaptureDevice.index()''' 0363 return int() 0364 def description(self): 0365 '''QString Phonon.AudioCaptureDevice.description()''' 0366 return QString() 0367 class EffectWidget(QWidget): 0368 """""" 0369 def __init__(self, effect, parent = None): 0370 '''void Phonon.EffectWidget.__init__(Phonon.Effect effect, QWidget parent = None)''' 0371 class AudioOutput(Phonon.AbstractAudioOutput): 0372 """""" 0373 def __init__(self, category, parent = None): 0374 '''void Phonon.AudioOutput.__init__(Phonon.Category category, QObject parent = None)''' 0375 def __init__(self, parent = None): 0376 '''void Phonon.AudioOutput.__init__(QObject parent = None)''' 0377 outputDeviceChanged = pyqtSignal() # void outputDeviceChanged(const Phonon::AudioOutputDeviceamp;) - signal 0378 mutedChanged = pyqtSignal() # void mutedChanged(bool) - signal 0379 volumeChanged = pyqtSignal() # void volumeChanged(qreal) - signal 0380 def setMuted(self, mute): 0381 '''void Phonon.AudioOutput.setMuted(bool mute)''' 0382 def setOutputDevice(self, newAudioOutputDevice): 0383 '''bool Phonon.AudioOutput.setOutputDevice(Phonon.AudioOutputDevice newAudioOutputDevice)''' 0384 return bool() 0385 def setVolumeDecibel(self, newVolumeDecibel): 0386 '''void Phonon.AudioOutput.setVolumeDecibel(float newVolumeDecibel)''' 0387 def setVolume(self, newVolume): 0388 '''void Phonon.AudioOutput.setVolume(float newVolume)''' 0389 def setName(self, newName): 0390 '''void Phonon.AudioOutput.setName(QString newName)''' 0391 def isMuted(self): 0392 '''bool Phonon.AudioOutput.isMuted()''' 0393 return bool() 0394 def outputDevice(self): 0395 '''Phonon.AudioOutputDevice Phonon.AudioOutput.outputDevice()''' 0396 return Phonon.AudioOutputDevice() 0397 def category(self): 0398 '''Phonon.Category Phonon.AudioOutput.category()''' 0399 return Phonon.Category() 0400 def volumeDecibel(self): 0401 '''float Phonon.AudioOutput.volumeDecibel()''' 0402 return float() 0403 def volume(self): 0404 '''float Phonon.AudioOutput.volume()''' 0405 return float() 0406 def name(self): 0407 '''QString Phonon.AudioOutput.name()''' 0408 return QString() 0409 class MediaNode(): 0410 """""" 0411 def outputPaths(self): 0412 '''list-of-Phonon.Path Phonon.MediaNode.outputPaths()''' 0413 return [Phonon.Path()] 0414 def inputPaths(self): 0415 '''list-of-Phonon.Path Phonon.MediaNode.inputPaths()''' 0416 return [Phonon.Path()] 0417 def isValid(self): 0418 '''bool Phonon.MediaNode.isValid()''' 0419 return bool() 0420 class SeekSlider(QWidget): 0421 """""" 0422 def __init__(self, parent = None): 0423 '''void Phonon.SeekSlider.__init__(QWidget parent = None)''' 0424 def __init__(self, media, parent = None): 0425 '''void Phonon.SeekSlider.__init__(Phonon.MediaObject media, QWidget parent = None)''' 0426 def setMediaObject(self): 0427 '''Phonon.MediaObject Phonon.SeekSlider.setMediaObject()''' 0428 return Phonon.MediaObject() 0429 def setIconSize(self, size): 0430 '''void Phonon.SeekSlider.setIconSize(QSize size)''' 0431 def setIconVisible(self): 0432 '''bool Phonon.SeekSlider.setIconVisible()''' 0433 return bool() 0434 def setOrientation(self): 0435 '''Qt.Orientation Phonon.SeekSlider.setOrientation()''' 0436 return Qt.Orientation() 0437 def mediaObject(self): 0438 '''Phonon.MediaObject Phonon.SeekSlider.mediaObject()''' 0439 return Phonon.MediaObject() 0440 def iconSize(self): 0441 '''QSize Phonon.SeekSlider.iconSize()''' 0442 return QSize() 0443 def isIconVisible(self): 0444 '''bool Phonon.SeekSlider.isIconVisible()''' 0445 return bool() 0446 def orientation(self): 0447 '''Qt.Orientation Phonon.SeekSlider.orientation()''' 0448 return Qt.Orientation() 0449 def setSingleStep(self, milliseconds): 0450 '''void Phonon.SeekSlider.setSingleStep(int milliseconds)''' 0451 def singleStep(self): 0452 '''int Phonon.SeekSlider.singleStep()''' 0453 return int() 0454 def setPageStep(self, milliseconds): 0455 '''void Phonon.SeekSlider.setPageStep(int milliseconds)''' 0456 def pageStep(self): 0457 '''int Phonon.SeekSlider.pageStep()''' 0458 return int() 0459 def setTracking(self, tracking): 0460 '''void Phonon.SeekSlider.setTracking(bool tracking)''' 0461 def hasTracking(self): 0462 '''bool Phonon.SeekSlider.hasTracking()''' 0463 return bool() 0464 class EffectParameter(): 0465 """""" 0466 class Hints(): 0467 """""" 0468 def __init__(self): 0469 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__init__()''' 0470 return Phonon.EffectParameter.Hints() 0471 def __init__(self): 0472 '''int Phonon.EffectParameter.Hints.__init__()''' 0473 return int() 0474 def __init__(self): 0475 '''void Phonon.EffectParameter.Hints.__init__()''' 0476 def __bool__(self): 0477 '''int Phonon.EffectParameter.Hints.__bool__()''' 0478 return int() 0479 def __ne__(self, f): 0480 '''bool Phonon.EffectParameter.Hints.__ne__(Phonon.EffectParameter.Hints f)''' 0481 return bool() 0482 def __eq__(self, f): 0483 '''bool Phonon.EffectParameter.Hints.__eq__(Phonon.EffectParameter.Hints f)''' 0484 return bool() 0485 def __invert__(self): 0486 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__invert__()''' 0487 return Phonon.EffectParameter.Hints() 0488 def __and__(self, mask): 0489 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__and__(int mask)''' 0490 return Phonon.EffectParameter.Hints() 0491 def __xor__(self, f): 0492 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__xor__(Phonon.EffectParameter.Hints f)''' 0493 return Phonon.EffectParameter.Hints() 0494 def __xor__(self, f): 0495 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__xor__(int f)''' 0496 return Phonon.EffectParameter.Hints() 0497 def __or__(self, f): 0498 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__or__(Phonon.EffectParameter.Hints f)''' 0499 return Phonon.EffectParameter.Hints() 0500 def __or__(self, f): 0501 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__or__(int f)''' 0502 return Phonon.EffectParameter.Hints() 0503 def __int__(self): 0504 '''int Phonon.EffectParameter.Hints.__int__()''' 0505 return int() 0506 def __ixor__(self, f): 0507 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__ixor__(Phonon.EffectParameter.Hints f)''' 0508 return Phonon.EffectParameter.Hints() 0509 def __ior__(self, f): 0510 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__ior__(Phonon.EffectParameter.Hints f)''' 0511 return Phonon.EffectParameter.Hints() 0512 def __iand__(self, mask): 0513 '''Phonon.EffectParameter.Hints Phonon.EffectParameter.Hints.__iand__(int mask)''' 0514 return Phonon.EffectParameter.Hints() 0515 class BackendCapabilities(): 0516 """""" 0517 class Notifier(QObject): 0518 """""" 0519 availableAudioCaptureDevicesChanged = pyqtSignal() # void availableAudioCaptureDevicesChanged() - signal 0520 availableAudioOutputDevicesChanged = pyqtSignal() # void availableAudioOutputDevicesChanged() - signal 0521 capabilitiesChanged = pyqtSignal() # void capabilitiesChanged() - signal 0522 class MediaController(QObject): 0523 """""" 0524 # Enum Phonon.MediaController.Feature 0525 Angles = 0 0526 Chapters = 0 0527 Titles = 0 0528 0529 def __init__(self, parent): 0530 '''void Phonon.MediaController.__init__(Phonon.MediaObject parent)''' 0531 availableAudioChannelsChanged = pyqtSignal() # void availableAudioChannelsChanged() - signal 0532 availableSubtitlesChanged = pyqtSignal() # void availableSubtitlesChanged() - signal 0533 def setCurrentSubtitle(self, stream): 0534 '''void Phonon.MediaController.setCurrentSubtitle(Phonon.SubtitleDescription stream)''' 0535 def setCurrentAudioChannel(self, stream): 0536 '''void Phonon.MediaController.setCurrentAudioChannel(Phonon.AudioChannelDescription stream)''' 0537 def availableSubtitles(self): 0538 '''list-of-Phonon.SubtitleDescription Phonon.MediaController.availableSubtitles()''' 0539 return [Phonon.SubtitleDescription()] 0540 def availableAudioChannels(self): 0541 '''list-of-Phonon.AudioChannelDescription Phonon.MediaController.availableAudioChannels()''' 0542 return [Phonon.AudioChannelDescription()] 0543 def currentSubtitle(self): 0544 '''Phonon.SubtitleDescription Phonon.MediaController.currentSubtitle()''' 0545 return Phonon.SubtitleDescription() 0546 def currentAudioChannel(self): 0547 '''Phonon.AudioChannelDescription Phonon.MediaController.currentAudioChannel()''' 0548 return Phonon.AudioChannelDescription() 0549 titleChanged = pyqtSignal() # void titleChanged(int) - signal 0550 availableTitlesChanged = pyqtSignal() # void availableTitlesChanged(int) - signal 0551 chapterChanged = pyqtSignal() # void chapterChanged(int) - signal 0552 availableChaptersChanged = pyqtSignal() # void availableChaptersChanged(int) - signal 0553 angleChanged = pyqtSignal() # void angleChanged(int) - signal 0554 availableAnglesChanged = pyqtSignal() # void availableAnglesChanged(int) - signal 0555 def previousTitle(self): 0556 '''void Phonon.MediaController.previousTitle()''' 0557 def nextTitle(self): 0558 '''void Phonon.MediaController.nextTitle()''' 0559 def setAutoplayTitles(self): 0560 '''bool Phonon.MediaController.setAutoplayTitles()''' 0561 return bool() 0562 def setCurrentTitle(self, titleNumber): 0563 '''void Phonon.MediaController.setCurrentTitle(int titleNumber)''' 0564 def setCurrentChapter(self, chapterNumber): 0565 '''void Phonon.MediaController.setCurrentChapter(int chapterNumber)''' 0566 def setCurrentAngle(self, angleNumber): 0567 '''void Phonon.MediaController.setCurrentAngle(int angleNumber)''' 0568 def autoplayTitles(self): 0569 '''bool Phonon.MediaController.autoplayTitles()''' 0570 return bool() 0571 def currentTitle(self): 0572 '''int Phonon.MediaController.currentTitle()''' 0573 return int() 0574 def availableTitles(self): 0575 '''int Phonon.MediaController.availableTitles()''' 0576 return int() 0577 def currentChapter(self): 0578 '''int Phonon.MediaController.currentChapter()''' 0579 return int() 0580 def availableChapters(self): 0581 '''int Phonon.MediaController.availableChapters()''' 0582 return int() 0583 def currentAngle(self): 0584 '''int Phonon.MediaController.currentAngle()''' 0585 return int() 0586 def availableAngles(self): 0587 '''int Phonon.MediaController.availableAngles()''' 0588 return int() 0589 def supportedFeatures(self): 0590 '''Phonon.MediaController.Features Phonon.MediaController.supportedFeatures()''' 0591 return Phonon.MediaController.Features() 0592 class MediaSource(): 0593 """""" 0594 # Enum Phonon.MediaSource.Type 0595 Invalid = 0 0596 LocalFile = 0 0597 Url = 0 0598 Disc = 0 0599 Stream = 0 0600 Empty = 0 0601 0602 def __init__(self, fileName): 0603 '''void Phonon.MediaSource.__init__(QString fileName)''' 0604 def __init__(self, url): 0605 '''void Phonon.MediaSource.__init__(QUrl url)''' 0606 def __init__(self, discType, deviceName = QString()): 0607 '''void Phonon.MediaSource.__init__(Phonon.DiscType discType, QString deviceName = QString())''' 0608 def __init__(self, ioDevice): 0609 '''void Phonon.MediaSource.__init__(QIODevice ioDevice)''' 0610 def __init__(self, rhs): 0611 '''void Phonon.MediaSource.__init__(Phonon.MediaSource rhs)''' 0612 def __ne__(self, rhs): 0613 '''bool Phonon.MediaSource.__ne__(Phonon.MediaSource rhs)''' 0614 return bool() 0615 def deviceName(self): 0616 '''QString Phonon.MediaSource.deviceName()''' 0617 return QString() 0618 def discType(self): 0619 '''Phonon.DiscType Phonon.MediaSource.discType()''' 0620 return Phonon.DiscType() 0621 def url(self): 0622 '''QUrl Phonon.MediaSource.url()''' 0623 return QUrl() 0624 def fileName(self): 0625 '''QString Phonon.MediaSource.fileName()''' 0626 return QString() 0627 def type(self): 0628 '''Phonon.MediaSource.Type Phonon.MediaSource.type()''' 0629 return Phonon.MediaSource.Type() 0630 def autoDelete(self): 0631 '''bool Phonon.MediaSource.autoDelete()''' 0632 return bool() 0633 def setAutoDelete(self, enable): 0634 '''void Phonon.MediaSource.setAutoDelete(bool enable)''' 0635 def __eq__(self, rhs): 0636 '''bool Phonon.MediaSource.__eq__(Phonon.MediaSource rhs)''' 0637 return bool() 0638 class AudioOutputDevice(): 0639 """""" 0640 def __init__(self): 0641 '''void Phonon.AudioOutputDevice.__init__()''' 0642 def __init__(self, index, properties): 0643 '''void Phonon.AudioOutputDevice.__init__(int index, dict-of-QByteArray-QVariant properties)''' 0644 def __init__(self): 0645 '''Phonon.AudioOutputDevice Phonon.AudioOutputDevice.__init__()''' 0646 return Phonon.AudioOutputDevice() 0647 def fromIndex(self, index): 0648 '''static Phonon.AudioOutputDevice Phonon.AudioOutputDevice.fromIndex(int index)''' 0649 return Phonon.AudioOutputDevice() 0650 def __eq__(self, otherDescription): 0651 '''bool Phonon.AudioOutputDevice.__eq__(Phonon.AudioOutputDevice otherDescription)''' 0652 return bool() 0653 def __ne__(self, otherDescription): 0654 '''bool Phonon.AudioOutputDevice.__ne__(Phonon.AudioOutputDevice otherDescription)''' 0655 return bool() 0656 def propertyNames(self): 0657 '''list-of-QByteArray Phonon.AudioOutputDevice.propertyNames()''' 0658 return [QByteArray()] 0659 def property(self, name): 0660 '''QVariant Phonon.AudioOutputDevice.property(str name)''' 0661 return QVariant() 0662 def name(self): 0663 '''QString Phonon.AudioOutputDevice.name()''' 0664 return QString() 0665 def isValid(self): 0666 '''bool Phonon.AudioOutputDevice.isValid()''' 0667 return bool() 0668 def index(self): 0669 '''int Phonon.AudioOutputDevice.index()''' 0670 return int() 0671 def description(self): 0672 '''QString Phonon.AudioOutputDevice.description()''' 0673 return QString() 0674 class AudioOutputDeviceModel(QAbstractListModel): 0675 """""" 0676 def __init__(self, parent = None): 0677 '''void Phonon.AudioOutputDeviceModel.__init__(QObject parent = None)''' 0678 def __init__(self, data, parent = None): 0679 '''void Phonon.AudioOutputDeviceModel.__init__(list-of-Phonon.AudioOutputDevice data, QObject parent = None)''' 0680 def mimeTypes(self): 0681 '''QStringList Phonon.AudioOutputDeviceModel.mimeTypes()''' 0682 return QStringList() 0683 def removeRows(self, row, count, parent = QModelIndex()): 0684 '''bool Phonon.AudioOutputDeviceModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 0685 return bool() 0686 def dropMimeData(self, data, action, row, column, parent): 0687 '''bool Phonon.AudioOutputDeviceModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 0688 return bool() 0689 def supportedDropActions(self): 0690 '''Qt.DropActions Phonon.AudioOutputDeviceModel.supportedDropActions()''' 0691 return Qt.DropActions() 0692 def mimeData(self, indexes): 0693 '''QMimeData Phonon.AudioOutputDeviceModel.mimeData(list-of-QModelIndex indexes)''' 0694 return QMimeData() 0695 def flags(self, index): 0696 '''Qt.ItemFlags Phonon.AudioOutputDeviceModel.flags(QModelIndex index)''' 0697 return Qt.ItemFlags() 0698 def data(self, index, role = None): 0699 '''QVariant Phonon.AudioOutputDeviceModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 0700 return QVariant() 0701 def rowCount(self, parent = QModelIndex()): 0702 '''int Phonon.AudioOutputDeviceModel.rowCount(QModelIndex parent = QModelIndex())''' 0703 return int() 0704 def modelData(self): 0705 '''list-of-Phonon.AudioOutputDevice Phonon.AudioOutputDeviceModel.modelData()''' 0706 return [Phonon.AudioOutputDevice()] 0707 def modelData(self, index): 0708 '''Phonon.AudioOutputDevice Phonon.AudioOutputDeviceModel.modelData(QModelIndex index)''' 0709 return Phonon.AudioOutputDevice() 0710 def setModelData(self, data): 0711 '''void Phonon.AudioOutputDeviceModel.setModelData(list-of-Phonon.AudioOutputDevice data)''' 0712 def moveDown(self, index): 0713 '''void Phonon.AudioOutputDeviceModel.moveDown(QModelIndex index)''' 0714 def moveUp(self, index): 0715 '''void Phonon.AudioOutputDeviceModel.moveUp(QModelIndex index)''' 0716 def tupleIndexAtPositionIndex(self, positionIndex): 0717 '''int Phonon.AudioOutputDeviceModel.tupleIndexAtPositionIndex(int positionIndex)''' 0718 return int() 0719 def tupleIndexOrder(self): 0720 '''list-of-int Phonon.AudioOutputDeviceModel.tupleIndexOrder()''' 0721 return [int()] 0722 class EffectDescriptionModel(QAbstractListModel): 0723 """""" 0724 def __init__(self, parent = None): 0725 '''void Phonon.EffectDescriptionModel.__init__(QObject parent = None)''' 0726 def __init__(self, data, parent = None): 0727 '''void Phonon.EffectDescriptionModel.__init__(list-of-Phonon.EffectDescription data, QObject parent = None)''' 0728 def mimeTypes(self): 0729 '''QStringList Phonon.EffectDescriptionModel.mimeTypes()''' 0730 return QStringList() 0731 def removeRows(self, row, count, parent = QModelIndex()): 0732 '''bool Phonon.EffectDescriptionModel.removeRows(int row, int count, QModelIndex parent = QModelIndex())''' 0733 return bool() 0734 def dropMimeData(self, data, action, row, column, parent): 0735 '''bool Phonon.EffectDescriptionModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 0736 return bool() 0737 def supportedDropActions(self): 0738 '''Qt.DropActions Phonon.EffectDescriptionModel.supportedDropActions()''' 0739 return Qt.DropActions() 0740 def mimeData(self, indexes): 0741 '''QMimeData Phonon.EffectDescriptionModel.mimeData(list-of-QModelIndex indexes)''' 0742 return QMimeData() 0743 def flags(self, index): 0744 '''Qt.ItemFlags Phonon.EffectDescriptionModel.flags(QModelIndex index)''' 0745 return Qt.ItemFlags() 0746 def data(self, index, role = None): 0747 '''QVariant Phonon.EffectDescriptionModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 0748 return QVariant() 0749 def rowCount(self, parent = QModelIndex()): 0750 '''int Phonon.EffectDescriptionModel.rowCount(QModelIndex parent = QModelIndex())''' 0751 return int() 0752 def modelData(self): 0753 '''list-of-Phonon.EffectDescription Phonon.EffectDescriptionModel.modelData()''' 0754 return [Phonon.EffectDescription()] 0755 def modelData(self, index): 0756 '''Phonon.EffectDescription Phonon.EffectDescriptionModel.modelData(QModelIndex index)''' 0757 return Phonon.EffectDescription() 0758 def setModelData(self, data): 0759 '''void Phonon.EffectDescriptionModel.setModelData(list-of-Phonon.EffectDescription data)''' 0760 def moveDown(self, index): 0761 '''void Phonon.EffectDescriptionModel.moveDown(QModelIndex index)''' 0762 def moveUp(self, index): 0763 '''void Phonon.EffectDescriptionModel.moveUp(QModelIndex index)''' 0764 def tupleIndexAtPositionIndex(self, positionIndex): 0765 '''int Phonon.EffectDescriptionModel.tupleIndexAtPositionIndex(int positionIndex)''' 0766 return int() 0767 def tupleIndexOrder(self): 0768 '''list-of-int Phonon.EffectDescriptionModel.tupleIndexOrder()''' 0769 return [int()] 0770 class MediaController(): 0771 """""" 0772 class Features(): 0773 """""" 0774 def __init__(self): 0775 '''Phonon.MediaController.Features Phonon.MediaController.Features.__init__()''' 0776 return Phonon.MediaController.Features() 0777 def __init__(self): 0778 '''int Phonon.MediaController.Features.__init__()''' 0779 return int() 0780 def __init__(self): 0781 '''void Phonon.MediaController.Features.__init__()''' 0782 def __bool__(self): 0783 '''int Phonon.MediaController.Features.__bool__()''' 0784 return int() 0785 def __ne__(self, f): 0786 '''bool Phonon.MediaController.Features.__ne__(Phonon.MediaController.Features f)''' 0787 return bool() 0788 def __eq__(self, f): 0789 '''bool Phonon.MediaController.Features.__eq__(Phonon.MediaController.Features f)''' 0790 return bool() 0791 def __invert__(self): 0792 '''Phonon.MediaController.Features Phonon.MediaController.Features.__invert__()''' 0793 return Phonon.MediaController.Features() 0794 def __and__(self, mask): 0795 '''Phonon.MediaController.Features Phonon.MediaController.Features.__and__(int mask)''' 0796 return Phonon.MediaController.Features() 0797 def __xor__(self, f): 0798 '''Phonon.MediaController.Features Phonon.MediaController.Features.__xor__(Phonon.MediaController.Features f)''' 0799 return Phonon.MediaController.Features() 0800 def __xor__(self, f): 0801 '''Phonon.MediaController.Features Phonon.MediaController.Features.__xor__(int f)''' 0802 return Phonon.MediaController.Features() 0803 def __or__(self, f): 0804 '''Phonon.MediaController.Features Phonon.MediaController.Features.__or__(Phonon.MediaController.Features f)''' 0805 return Phonon.MediaController.Features() 0806 def __or__(self, f): 0807 '''Phonon.MediaController.Features Phonon.MediaController.Features.__or__(int f)''' 0808 return Phonon.MediaController.Features() 0809 def __int__(self): 0810 '''int Phonon.MediaController.Features.__int__()''' 0811 return int() 0812 def __ixor__(self, f): 0813 '''Phonon.MediaController.Features Phonon.MediaController.Features.__ixor__(Phonon.MediaController.Features f)''' 0814 return Phonon.MediaController.Features() 0815 def __ior__(self, f): 0816 '''Phonon.MediaController.Features Phonon.MediaController.Features.__ior__(Phonon.MediaController.Features f)''' 0817 return Phonon.MediaController.Features() 0818 def __iand__(self, mask): 0819 '''Phonon.MediaController.Features Phonon.MediaController.Features.__iand__(int mask)''' 0820 return Phonon.MediaController.Features() 0821 class AudioChannelDescription(): 0822 """""" 0823 def __init__(self): 0824 '''void Phonon.AudioChannelDescription.__init__()''' 0825 def __init__(self, index, properties): 0826 '''void Phonon.AudioChannelDescription.__init__(int index, dict-of-QByteArray-QVariant properties)''' 0827 def __init__(self): 0828 '''Phonon.AudioChannelDescription Phonon.AudioChannelDescription.__init__()''' 0829 return Phonon.AudioChannelDescription() 0830 def fromIndex(self, index): 0831 '''static Phonon.AudioChannelDescription Phonon.AudioChannelDescription.fromIndex(int index)''' 0832 return Phonon.AudioChannelDescription() 0833 def __eq__(self, otherDescription): 0834 '''bool Phonon.AudioChannelDescription.__eq__(Phonon.AudioChannelDescription otherDescription)''' 0835 return bool() 0836 def __ne__(self, otherDescription): 0837 '''bool Phonon.AudioChannelDescription.__ne__(Phonon.AudioChannelDescription otherDescription)''' 0838 return bool() 0839 def propertyNames(self): 0840 '''list-of-QByteArray Phonon.AudioChannelDescription.propertyNames()''' 0841 return [QByteArray()] 0842 def property(self, name): 0843 '''QVariant Phonon.AudioChannelDescription.property(str name)''' 0844 return QVariant() 0845 def name(self): 0846 '''QString Phonon.AudioChannelDescription.name()''' 0847 return QString() 0848 def isValid(self): 0849 '''bool Phonon.AudioChannelDescription.isValid()''' 0850 return bool() 0851 def index(self): 0852 '''int Phonon.AudioChannelDescription.index()''' 0853 return int() 0854 def description(self): 0855 '''QString Phonon.AudioChannelDescription.description()''' 0856 return QString() 0857 class EffectDescription(): 0858 """""" 0859 def __init__(self): 0860 '''void Phonon.EffectDescription.__init__()''' 0861 def __init__(self, index, properties): 0862 '''void Phonon.EffectDescription.__init__(int index, dict-of-QByteArray-QVariant properties)''' 0863 def __init__(self): 0864 '''Phonon.EffectDescription Phonon.EffectDescription.__init__()''' 0865 return Phonon.EffectDescription() 0866 def fromIndex(self, index): 0867 '''static Phonon.EffectDescription Phonon.EffectDescription.fromIndex(int index)''' 0868 return Phonon.EffectDescription() 0869 def __eq__(self, otherDescription): 0870 '''bool Phonon.EffectDescription.__eq__(Phonon.EffectDescription otherDescription)''' 0871 return bool() 0872 def __ne__(self, otherDescription): 0873 '''bool Phonon.EffectDescription.__ne__(Phonon.EffectDescription otherDescription)''' 0874 return bool() 0875 def propertyNames(self): 0876 '''list-of-QByteArray Phonon.EffectDescription.propertyNames()''' 0877 return [QByteArray()] 0878 def property(self, name): 0879 '''QVariant Phonon.EffectDescription.property(str name)''' 0880 return QVariant() 0881 def name(self): 0882 '''QString Phonon.EffectDescription.name()''' 0883 return QString() 0884 def isValid(self): 0885 '''bool Phonon.EffectDescription.isValid()''' 0886 return bool() 0887 def index(self): 0888 '''int Phonon.EffectDescription.index()''' 0889 return int() 0890 def description(self): 0891 '''QString Phonon.EffectDescription.description()''' 0892 return QString() 0893 class SubtitleDescription(): 0894 """""" 0895 def __init__(self): 0896 '''void Phonon.SubtitleDescription.__init__()''' 0897 def __init__(self, index, properties): 0898 '''void Phonon.SubtitleDescription.__init__(int index, dict-of-QByteArray-QVariant properties)''' 0899 def __init__(self): 0900 '''Phonon.SubtitleDescription Phonon.SubtitleDescription.__init__()''' 0901 return Phonon.SubtitleDescription() 0902 def fromIndex(self, index): 0903 '''static Phonon.SubtitleDescription Phonon.SubtitleDescription.fromIndex(int index)''' 0904 return Phonon.SubtitleDescription() 0905 def __eq__(self, otherDescription): 0906 '''bool Phonon.SubtitleDescription.__eq__(Phonon.SubtitleDescription otherDescription)''' 0907 return bool() 0908 def __ne__(self, otherDescription): 0909 '''bool Phonon.SubtitleDescription.__ne__(Phonon.SubtitleDescription otherDescription)''' 0910 return bool() 0911 def propertyNames(self): 0912 '''list-of-QByteArray Phonon.SubtitleDescription.propertyNames()''' 0913 return [QByteArray()] 0914 def property(self, name): 0915 '''QVariant Phonon.SubtitleDescription.property(str name)''' 0916 return QVariant() 0917 def name(self): 0918 '''QString Phonon.SubtitleDescription.name()''' 0919 return QString() 0920 def isValid(self): 0921 '''bool Phonon.SubtitleDescription.isValid()''' 0922 return bool() 0923 def index(self): 0924 '''int Phonon.SubtitleDescription.index()''' 0925 return int() 0926 def description(self): 0927 '''QString Phonon.SubtitleDescription.description()''' 0928 return QString() 0929 class AbstractAudioOutput(QObject, Phonon.MediaNode): 0930 """""" 0931 class MediaObject(QObject, Phonon.MediaNode): 0932 """""" 0933 def __init__(self, parent = None): 0934 '''void Phonon.MediaObject.__init__(QObject parent = None)''' 0935 totalTimeChanged = pyqtSignal() # void totalTimeChanged(qint64) - signal 0936 prefinishMarkReached = pyqtSignal() # void prefinishMarkReached(qint32) - signal 0937 aboutToFinish = pyqtSignal() # void aboutToFinish() - signal 0938 currentSourceChanged = pyqtSignal() # void currentSourceChanged(const Phonon::MediaSourceamp;) - signal 0939 finished = pyqtSignal() # void finished() - signal 0940 bufferStatus = pyqtSignal() # void bufferStatus(int) - signal 0941 hasVideoChanged = pyqtSignal() # void hasVideoChanged(bool) - signal 0942 seekableChanged = pyqtSignal() # void seekableChanged(bool) - signal 0943 metaDataChanged = pyqtSignal() # void metaDataChanged() - signal 0944 tick = pyqtSignal() # void tick(qint64) - signal 0945 stateChanged = pyqtSignal() # void stateChanged(Phonon::State,Phonon::State) - signal 0946 def clear(self): 0947 '''void Phonon.MediaObject.clear()''' 0948 def seek(self, time): 0949 '''void Phonon.MediaObject.seek(int time)''' 0950 def stop(self): 0951 '''void Phonon.MediaObject.stop()''' 0952 def pause(self): 0953 '''void Phonon.MediaObject.pause()''' 0954 def play(self): 0955 '''void Phonon.MediaObject.play()''' 0956 def setTickInterval(self, newTickInterval): 0957 '''void Phonon.MediaObject.setTickInterval(int newTickInterval)''' 0958 def setTransitionTime(self, msec): 0959 '''void Phonon.MediaObject.setTransitionTime(int msec)''' 0960 def transitionTime(self): 0961 '''int Phonon.MediaObject.transitionTime()''' 0962 return int() 0963 def setPrefinishMark(self, msecToEnd): 0964 '''void Phonon.MediaObject.setPrefinishMark(int msecToEnd)''' 0965 def prefinishMark(self): 0966 '''int Phonon.MediaObject.prefinishMark()''' 0967 return int() 0968 def remainingTime(self): 0969 '''int Phonon.MediaObject.remainingTime()''' 0970 return int() 0971 def totalTime(self): 0972 '''int Phonon.MediaObject.totalTime()''' 0973 return int() 0974 def currentTime(self): 0975 '''int Phonon.MediaObject.currentTime()''' 0976 return int() 0977 def clearQueue(self): 0978 '''void Phonon.MediaObject.clearQueue()''' 0979 def enqueue(self, source): 0980 '''void Phonon.MediaObject.enqueue(Phonon.MediaSource source)''' 0981 def enqueue(self, sources): 0982 '''void Phonon.MediaObject.enqueue(list-of-Phonon.MediaSource sources)''' 0983 def enqueue(self, urls): 0984 '''void Phonon.MediaObject.enqueue(list-of-QUrl urls)''' 0985 def setQueue(self, sources): 0986 '''void Phonon.MediaObject.setQueue(list-of-Phonon.MediaSource sources)''' 0987 def setQueue(self, urls): 0988 '''void Phonon.MediaObject.setQueue(list-of-QUrl urls)''' 0989 def queue(self): 0990 '''list-of-Phonon.MediaSource Phonon.MediaObject.queue()''' 0991 return [Phonon.MediaSource()] 0992 def setCurrentSource(self, source): 0993 '''void Phonon.MediaObject.setCurrentSource(Phonon.MediaSource source)''' 0994 def currentSource(self): 0995 '''Phonon.MediaSource Phonon.MediaObject.currentSource()''' 0996 return Phonon.MediaSource() 0997 def errorType(self): 0998 '''Phonon.ErrorType Phonon.MediaObject.errorType()''' 0999 return Phonon.ErrorType() 1000 def errorString(self): 1001 '''QString Phonon.MediaObject.errorString()''' 1002 return QString() 1003 def metaData(self, key): 1004 '''QStringList Phonon.MediaObject.metaData(QString key)''' 1005 return QStringList() 1006 def metaData(self, key): 1007 '''QStringList Phonon.MediaObject.metaData(Phonon.MetaData key)''' 1008 return QStringList() 1009 def metaData(self): 1010 '''dict-of-QString-list-of-QString Phonon.MediaObject.metaData()''' 1011 return dict-of-QString-list-of-QString() 1012 def tickInterval(self): 1013 '''int Phonon.MediaObject.tickInterval()''' 1014 return int() 1015 def isSeekable(self): 1016 '''bool Phonon.MediaObject.isSeekable()''' 1017 return bool() 1018 def hasVideo(self): 1019 '''bool Phonon.MediaObject.hasVideo()''' 1020 return bool() 1021 def state(self): 1022 '''Phonon.State Phonon.MediaObject.state()''' 1023 return Phonon.State() 1024 1025