##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QSound.h
44 lines | 1.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QSOUND_H
#define PYTHONQTWRAPPER_QSOUND_H
#include <qsound.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
class PythonQtShell_QSound : public QSound
{
public:
PythonQtShell_QSound(const QString& filename, QObject* parent = 0):QSound(filename, parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QSound : public QObject
{ Q_OBJECT
public:
public slots:
QSound* new_QSound(const QString& filename, QObject* parent = 0);
void delete_QSound(QSound* obj) { delete obj; }
bool static_QSound_isAvailable();
bool isFinished(QSound* theWrappedObject) const;
int loopsRemaining(QSound* theWrappedObject) const;
void static_QSound_play(const QString& filename);
int loops(QSound* theWrappedObject) const;
void setLoops(QSound* theWrappedObject, int arg__1);
QString fileName(QSound* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSOUND_H