static QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
\threadsafe
The QSoundEffect class provides a way to play low latency sound effects.
void setVolume(float volume)
Sets the sound effect volume to volume.
void play()
\qmlmethod QtMultimedia::SoundEffect::play()
void setSource(const QUrl &url)
Set the current URL to play to url.
static QUrl fromLocalFile(const QString &localfile)
Returns a QUrl representation of localFile, interpreted as a local file.
QPushButton * clickSource
void qsoundeffectsnippet()
QGraphicsOpacityEffect * effect
the effect attached to this item