##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QSound.cpp
47 lines | 1.0 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QSound.h"
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
QSound* PythonQtWrapper_QSound::new_QSound(const QString& filename, QObject* parent)
{
return new QSound(filename, parent); }
QString PythonQtWrapper_QSound::fileName(QSound* theWrappedObject) const
{
return theWrappedObject->fileName();
}
bool PythonQtWrapper_QSound::static_QSound_isAvailable()
{
return QSound::isAvailable();
}
bool PythonQtWrapper_QSound::isFinished(QSound* theWrappedObject) const
{
return theWrappedObject->isFinished();
}
int PythonQtWrapper_QSound::loops(QSound* theWrappedObject) const
{
return theWrappedObject->loops();
}
int PythonQtWrapper_QSound::loopsRemaining(QSound* theWrappedObject) const
{
return theWrappedObject->loopsRemaining();
}
void PythonQtWrapper_QSound::static_QSound_play(const QString& filename)
{
QSound::play(filename);
}
void PythonQtWrapper_QSound::setLoops(QSound* theWrappedObject, int arg__1)
{
theWrappedObject->setLoops(arg__1);
}