Home · All Classes · Modules

QSound Class Reference
[QtGui module]

Inherits QObject.

Methods

Static Methods


Detailed Description


Method Documentation

QSound.__init__ (self, QString, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QString QSound.fileName (self)

bool QSound.isAvailable ()

bool QSound.isFinished (self)

int QSound.loops (self)

int QSound.loopsRemaining (self)

QSound.play (QString)

QSound.play (self)

This method is also a Qt slot with the C++ signature void play().

QSound.setLoops (self, int)

QSound.stop (self)

This method is also a Qt slot with the C++ signature void stop().


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0