##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QUuid.h
52 lines | 1.9 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QUUID_H
#define PYTHONQTWRAPPER_QUUID_H
#include <quuid.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qdatastream.h>
#include <quuid.h>
class PythonQtShell_QUuid : public QUuid
{
public:
PythonQtShell_QUuid():QUuid(),_wrapper(NULL) {};
PythonQtShell_QUuid(const QString& arg__1):QUuid(arg__1),_wrapper(NULL) {};
PythonQtShell_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8):QUuid(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QUuid : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Variant Version )
enum Variant{
VarUnknown = QUuid::VarUnknown, NCS = QUuid::NCS, DCE = QUuid::DCE, Microsoft = QUuid::Microsoft, Reserved = QUuid::Reserved};
enum Version{
VerUnknown = QUuid::VerUnknown, Time = QUuid::Time, EmbeddedPOSIX = QUuid::EmbeddedPOSIX, Name = QUuid::Name, Random = QUuid::Random};
public slots:
QUuid* new_QUuid();
QUuid* new_QUuid(const QString& arg__1);
QUuid* new_QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8);
QUuid* new_QUuid(const QUuid& other) {
PythonQtShell_QUuid* a = new PythonQtShell_QUuid();
*((QUuid*)a) = other;
return a; }
void delete_QUuid(QUuid* obj) { delete obj; }
QString toString(QUuid* theWrappedObject) const;
QUuid::Variant variant(QUuid* theWrappedObject) const;
void readFrom(QUuid* theWrappedObject, QDataStream& arg__1);
QUuid static_QUuid_createUuid();
bool operator_less(QUuid* theWrappedObject, const QUuid& other) const;
void writeTo(QUuid* theWrappedObject, QDataStream& arg__1);
bool isNull(QUuid* theWrappedObject) const;
bool operator_equal(QUuid* theWrappedObject, const QUuid& orig) const;
QUuid::Version version(QUuid* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QUUID_H