//Auto-generated by /usr/bin/smokegen. DO NOT EDIT.
#include <qtopengl_includes.h>
#include <typeinfo>

#include <smoke.h>
#include <qtopengl_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqtopengl {

class x_QGLBuffer : public QGLBuffer {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLBuffer* QGLBuffer()
        x_QGLBuffer* xret = new x_QGLBuffer();
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLBuffer() : QGLBuffer() {}
    static void x_2(Smoke::Stack x) {
        // QGLBuffer* QGLBuffer(QGLBuffer::Type)
        x_QGLBuffer* xret = new x_QGLBuffer((QGLBuffer::Type)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLBuffer(QGLBuffer::Type x1) : QGLBuffer(x1) {}
    static void x_3(Smoke::Stack x) {
        // QGLBuffer* QGLBuffer(const QGLBuffer&)
        x_QGLBuffer* xret = new x_QGLBuffer(*(const QGLBuffer*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLBuffer(const QGLBuffer& x1) : QGLBuffer(x1) {}
    void x_4(Smoke::Stack x) {
        // QGLBuffer& operator=(const QGLBuffer&)
        QGLBuffer& xret = this->QGLBuffer::operator=(*(const QGLBuffer*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // QGLBuffer::Type type() const
        QGLBuffer::Type xret = ((const x_QGLBuffer*)this)->QGLBuffer::type();
        x[0].s_enum = xret;
    }
    void x_6(Smoke::Stack x) {
        // QGLBuffer::UsagePattern usagePattern() const
        QGLBuffer::UsagePattern xret = ((const x_QGLBuffer*)this)->QGLBuffer::usagePattern();
        x[0].s_enum = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setUsagePattern(QGLBuffer::UsagePattern)
        this->QGLBuffer::setUsagePattern((QGLBuffer::UsagePattern)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // bool create()
        bool xret = this->QGLBuffer::create();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isCreated() const
        bool xret = ((const x_QGLBuffer*)this)->QGLBuffer::isCreated();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // void destroy()
        this->QGLBuffer::destroy();
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool bind()
        bool xret = this->QGLBuffer::bind();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void release()
        this->QGLBuffer::release();
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static void release(QGLBuffer::Type)
        QGLBuffer::release((QGLBuffer::Type)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // GLuint bufferId() const
        GLuint xret = ((const x_QGLBuffer*)this)->QGLBuffer::bufferId();
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_15(Smoke::Stack x) {
        // int size() const
        int xret = ((const x_QGLBuffer*)this)->QGLBuffer::size();
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool read(int, void*, int)
        bool xret = this->QGLBuffer::read((int)x[1].s_int,(void*)x[2].s_class,(int)x[3].s_int);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void write(int, const void*, int)
        this->QGLBuffer::write((int)x[1].s_int,(const void*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void allocate(const void*, int)
        this->QGLBuffer::allocate((const void*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void allocate(int)
        this->QGLBuffer::allocate((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void* map(QGLBuffer::Access)
        void* xret = this->QGLBuffer::map((QGLBuffer::Access)x[1].s_enum);
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // bool unmap()
        bool xret = this->QGLBuffer::unmap();
        x[0].s_bool = xret;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::VertexBuffer;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::IndexBuffer;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::PixelPackBuffer;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::PixelUnpackBuffer;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::StreamDraw;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::StreamRead;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::StreamCopy;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::StaticDraw;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::StaticRead;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::StaticCopy;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::DynamicDraw;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::DynamicRead;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::DynamicCopy;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::ReadOnly;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::WriteOnly;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QGLBuffer::ReadWrite;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 38: //QGLBuffer::Type
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLBuffer::Type;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLBuffer::Type*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLBuffer::Type*)xdata = (QGLBuffer::Type)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLBuffer::Type*)xdata;
                    break;
            }
            break;
        case 39: //QGLBuffer::UsagePattern
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLBuffer::UsagePattern;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLBuffer::UsagePattern*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLBuffer::UsagePattern*)xdata = (QGLBuffer::UsagePattern)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLBuffer::UsagePattern*)xdata;
                    break;
            }
            break;
        case 37: //QGLBuffer::Access
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLBuffer::Access;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLBuffer::Access*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLBuffer::Access*)xdata = (QGLBuffer::Access)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLBuffer::Access*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGLBuffer() { this->_binding->deleted(17, (void*)this); }
};
void xenum_QGLBuffer(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGLBuffer::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGLBuffer(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLBuffer *xself = (x_QGLBuffer*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLBuffer::x_1(args);	break;
        case 2: x_QGLBuffer::x_2(args);	break;
        case 3: x_QGLBuffer::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: x_QGLBuffer::x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_QGLBuffer::x_22(args);	break;
        case 23: x_QGLBuffer::x_23(args);	break;
        case 24: x_QGLBuffer::x_24(args);	break;
        case 25: x_QGLBuffer::x_25(args);	break;
        case 26: x_QGLBuffer::x_26(args);	break;
        case 27: x_QGLBuffer::x_27(args);	break;
        case 28: x_QGLBuffer::x_28(args);	break;
        case 29: x_QGLBuffer::x_29(args);	break;
        case 30: x_QGLBuffer::x_30(args);	break;
        case 31: x_QGLBuffer::x_31(args);	break;
        case 32: x_QGLBuffer::x_32(args);	break;
        case 33: x_QGLBuffer::x_33(args);	break;
        case 34: x_QGLBuffer::x_34(args);	break;
        case 35: x_QGLBuffer::x_35(args);	break;
        case 36: x_QGLBuffer::x_36(args);	break;
        case 37: x_QGLBuffer::x_37(args);	break;
        case 38: delete (QGLBuffer*)xself;	break;
    }
}
class x_QGLColormap : public QGLColormap {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLColormap* QGLColormap()
        x_QGLColormap* xret = new x_QGLColormap();
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLColormap() : QGLColormap() {}
    static void x_2(Smoke::Stack x) {
        // QGLColormap* QGLColormap(const QGLColormap&)
        x_QGLColormap* xret = new x_QGLColormap(*(const QGLColormap*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLColormap(const QGLColormap& x1) : QGLColormap(x1) {}
    void x_3(Smoke::Stack x) {
        // QGLColormap& operator=(const QGLColormap&)
        QGLColormap& xret = this->QGLColormap::operator=(*(const QGLColormap*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_QGLColormap*)this)->QGLColormap::isEmpty();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // int size() const
        int xret = ((const x_QGLColormap*)this)->QGLColormap::size();
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // void detach()
        this->QGLColormap::detach();
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // void setEntries(int, const unsigned int*, int)
        this->QGLColormap::setEntries((int)x[1].s_int,(const unsigned int*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // void setEntry(int, unsigned int)
        this->QGLColormap::setEntry((int)x[1].s_int,(unsigned int)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void setEntry(int, const QColor&)
        this->QGLColormap::setEntry((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // unsigned int entryRgb(int) const
        unsigned int xret = ((const x_QGLColormap*)this)->QGLColormap::entryRgb((int)x[1].s_int);
        x[0].s_uint = xret;
    }
    void x_11(Smoke::Stack x) {
        // QColor entryColor(int) const
        QColor xret = ((const x_QGLColormap*)this)->QGLColormap::entryColor((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_12(Smoke::Stack x) {
        // int find(unsigned int) const
        int xret = ((const x_QGLColormap*)this)->QGLColormap::find((unsigned int)x[1].s_uint);
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // int findNearest(unsigned int) const
        int xret = ((const x_QGLColormap*)this)->QGLColormap::findNearest((unsigned int)x[1].s_uint);
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // unsigned long handle()
        unsigned long xret = this->QGLColormap::handle();
        x[0].s_ulong = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setHandle(unsigned long)
        this->QGLColormap::setHandle((unsigned long)x[1].s_ulong);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setEntries(int, const unsigned int*)
        this->QGLColormap::setEntries((int)x[1].s_int,(const unsigned int*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    ~x_QGLColormap() { this->_binding->deleted(18, (void*)this); }
};
void xcall_QGLColormap(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLColormap *xself = (x_QGLColormap*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLColormap::x_1(args);	break;
        case 2: x_QGLColormap::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: delete (QGLColormap*)xself;	break;
    }
}
class x_QGLContext : public QGLContext, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLContext* QGLContext(const QGLFormat&, QPaintDevice*)
        x_QGLContext* xret = new x_QGLContext(*(const QGLFormat*)x[1].s_class,(QPaintDevice*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLContext(const QGLFormat& x1, QPaintDevice* x2) : QGLContext(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // QGLContext* QGLContext(const QGLFormat&)
        x_QGLContext* xret = new x_QGLContext(*(const QGLFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLContext(const QGLFormat& x1) : QGLContext(x1) {}
    void x_3(Smoke::Stack x) {
        // virtual bool create(const QGLContext*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            bool xret = this->QGLContext::create((const QGLContext*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->create((const QGLContext*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_4(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QGLContext*)this)->QGLContext::isValid();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // bool isSharing() const
        bool xret = ((const x_QGLContext*)this)->QGLContext::isSharing();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // void reset()
        this->QGLContext::reset();
        (void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
        // static bool areSharing(const QGLContext*, const QGLContext*)
        bool xret = QGLContext::areSharing((const QGLContext*)x[1].s_class,(const QGLContext*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // QGLFormat format() const
        QGLFormat xret = ((const x_QGLContext*)this)->QGLContext::format();
        x[0].s_class = (void*)new QGLFormat(xret);
    }
    void x_9(Smoke::Stack x) {
        // QGLFormat requestedFormat() const
        QGLFormat xret = ((const x_QGLContext*)this)->QGLContext::requestedFormat();
        x[0].s_class = (void*)new QGLFormat(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setFormat(const QGLFormat&)
        this->QGLContext::setFormat(*(const QGLFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // virtual void makeCurrent()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            this->QGLContext::makeCurrent();
            (void)x; // noop (for compiler warning)
        } else {
            this->makeCurrent();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_12(Smoke::Stack x) {
        // virtual void doneCurrent()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            this->QGLContext::doneCurrent();
            (void)x; // noop (for compiler warning)
        } else {
            this->doneCurrent();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_13(Smoke::Stack x) {
        // virtual void swapBuffers() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            ((const x_QGLContext*)this)->QGLContext::swapBuffers();
            (void)x; // noop (for compiler warning)
        } else {
            ((const x_QGLContext*)this)->swapBuffers();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_14(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum, GLint, QFlags<QGLContext::BindOption>)
        GLuint xret = this->QGLContext::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class,(QFlags<QGLContext::BindOption>)x[4].s_uint);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_15(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum, GLint, QFlags<QGLContext::BindOption>)
        GLuint xret = this->QGLContext::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class,(QFlags<QGLContext::BindOption>)x[4].s_uint);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_16(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum, GLint)
        GLuint xret = this->QGLContext::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_17(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum, GLint)
        GLuint xret = this->QGLContext::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_18(Smoke::Stack x) {
        // GLuint bindTexture(const QString&)
        GLuint xret = this->QGLContext::bindTexture(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_19(Smoke::Stack x) {
        // void deleteTexture(GLuint)
        this->QGLContext::deleteTexture(*(GLuint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint, GLenum)
        this->QGLContext::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint, GLenum)
        this->QGLContext::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static void setTextureCacheLimit(int)
        QGLContext::setTextureCacheLimit((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_23(Smoke::Stack x) {
        // static int textureCacheLimit()
        int xret = QGLContext::textureCacheLimit();
        x[0].s_int = xret;
    }
    void x_24(Smoke::Stack x) {
        // void* getProcAddress(const QString&) const
        void* xret = ((const x_QGLContext*)this)->QGLContext::getProcAddress(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_25(Smoke::Stack x) {
        // QPaintDevice* device() const
        QPaintDevice* xret = ((const x_QGLContext*)this)->QGLContext::device();
        x[0].s_class = (void*)xret;
    }
    void x_26(Smoke::Stack x) {
        // QColor overlayTransparentColor() const
        QColor xret = ((const x_QGLContext*)this)->QGLContext::overlayTransparentColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static const QGLContext* currentContext()
        const QGLContext* xret = QGLContext::currentContext();
        x[0].s_class = (void*)xret;
    }
    void x_28(Smoke::Stack x) {
        // virtual bool chooseContext(const QGLContext*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            bool xret = this->QGLContext::chooseContext((const QGLContext*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->chooseContext((const QGLContext*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual void* tryVisual(const QGLFormat&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            void* xret = this->QGLContext::tryVisual(*(const QGLFormat*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->tryVisual(*(const QGLFormat*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)xret;
        }
    }
    void x_30(Smoke::Stack x) {
        // virtual void* chooseVisual()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLContext*>(this))) {
            void* xret = this->QGLContext::chooseVisual();
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->chooseVisual();
            x[0].s_class = (void*)xret;
        }
    }
    void x_31(Smoke::Stack x) {
        // bool deviceIsPixmap() const
        bool xret = ((const x_QGLContext*)this)->QGLContext::deviceIsPixmap();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // bool windowCreated() const
        bool xret = ((const x_QGLContext*)this)->QGLContext::windowCreated();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setWindowCreated(bool)
        this->QGLContext::setWindowCreated((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // bool initialized() const
        bool xret = ((const x_QGLContext*)this)->QGLContext::initialized();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // void setInitialized(bool)
        this->QGLContext::setInitialized((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void generateFontDisplayLists(const QFont&, int)
        this->QGLContext::generateFontDisplayLists(*(const QFont*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // unsigned int colorIndex(const QColor&) const
        unsigned int xret = ((const x_QGLContext*)this)->QGLContext::colorIndex(*(const QColor*)x[1].s_class);
        x[0].s_uint = xret;
    }
    void x_38(Smoke::Stack x) {
        // void setValid(bool)
        this->QGLContext::setValid((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void setDevice(QPaintDevice*)
        this->QGLContext::setDevice((QPaintDevice*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // bool create()
        bool xret = this->QGLContext::create((const QGLContext*)0);
        x[0].s_bool = xret;
    }
    void x_41(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&)
        GLuint xret = this->QGLContext::bindTexture(*(const QImage*)x[1].s_class,(GLenum)GL_TEXTURE_2D,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_42(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum)
        GLuint xret = this->QGLContext::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_43(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&)
        GLuint xret = this->QGLContext::bindTexture(*(const QPixmap*)x[1].s_class,(GLenum)GL_TEXTURE_2D,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_44(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum)
        GLuint xret = this->QGLContext::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_45(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint)
        this->QGLContext::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)GL_TEXTURE_2D);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint)
        this->QGLContext::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)GL_TEXTURE_2D);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // bool chooseContext()
        bool xret = this->QGLContext::chooseContext((const QGLContext*)0);
        x[0].s_bool = xret;
    }
    void x_48(Smoke::Stack x) {
        // void* tryVisual(const QGLFormat&)
        void* xret = this->QGLContext::tryVisual(*(const QGLFormat*)x[1].s_class,(int)1);
        x[0].s_class = (void*)xret;
    }
    static void x_49(Smoke::Stack x) {
        // static QGLContext* currentCtx
        x[0].s_class = (void*)QGLContext::currentCtx;
    }
    static void x_50(Smoke::Stack x) {
        // static QGLContext* currentCtx=
        QGLContext::currentCtx = (QGLContext*)x[1].s_class;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::NoBindOption;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::InvertedYBindOption;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::MipmapBindOption;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::PremultipliedAlphaBindOption;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::LinearFilteringBindOption;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::MemoryManagedBindOption;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::CanFlipNativePixmapBindOption;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::DefaultBindOption;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QGLContext::InternalBindOption;
    }
    virtual bool create(const QGLContext* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(81, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGLContext::create(x1);
    }
    virtual void makeCurrent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(89, (void*)this, x)) return;
        this->QGLContext::makeCurrent();
    }
    virtual void doneCurrent() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(90, (void*)this, x)) return;
        this->QGLContext::doneCurrent();
    }
    virtual void swapBuffers() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(91, (void*)this, x)) return;
        this->QGLContext::swapBuffers();
    }
    virtual bool chooseContext(const QGLContext* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(106, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGLContext::chooseContext(x1);
    }
    virtual void* tryVisual(const QGLFormat& x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(107, (void*)this, x)) return (void*)x[0].s_class;
        return this->QGLContext::tryVisual(x1, x2);
    }
    virtual void* chooseVisual() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(108, (void*)this, x)) return (void*)x[0].s_class;
        return this->QGLContext::chooseVisual();
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 43: //QGLContext::BindOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLContext::BindOption;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLContext::BindOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLContext::BindOption*)xdata = (QGLContext::BindOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLContext::BindOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGLContext() { this->_binding->deleted(19, (void*)this); }
};
void xenum_QGLContext(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGLContext::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGLContext(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLContext *xself = (x_QGLContext*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLContext::x_1(args);	break;
        case 2: x_QGLContext::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: x_QGLContext::x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_QGLContext::x_22(args);	break;
        case 23: x_QGLContext::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_QGLContext::x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: x_QGLContext::x_49(args);	break;
        case 50: x_QGLContext::x_50(args);	break;
        case 51: x_QGLContext::x_51(args);	break;
        case 52: x_QGLContext::x_52(args);	break;
        case 53: x_QGLContext::x_53(args);	break;
        case 54: x_QGLContext::x_54(args);	break;
        case 55: x_QGLContext::x_55(args);	break;
        case 56: x_QGLContext::x_56(args);	break;
        case 57: x_QGLContext::x_57(args);	break;
        case 58: x_QGLContext::x_58(args);	break;
        case 59: x_QGLContext::x_59(args);	break;
        case 60: delete (QGLContext*)xself;	break;
    }
}
class x_QGLFormat : public QGLFormat {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLFormat* QGLFormat()
        x_QGLFormat* xret = new x_QGLFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFormat() : QGLFormat() {}
    static void x_2(Smoke::Stack x) {
        // QGLFormat* QGLFormat(QFlags<QGL::FormatOption>, int)
        x_QGLFormat* xret = new x_QGLFormat((QFlags<QGL::FormatOption>)x[1].s_uint,(int)x[2].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFormat(QFlags<QGL::FormatOption> x1, int x2) : QGLFormat(x1, x2) {}
    static void x_3(Smoke::Stack x) {
        // QGLFormat* QGLFormat(const QGLFormat&)
        x_QGLFormat* xret = new x_QGLFormat(*(const QGLFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFormat(const QGLFormat& x1) : QGLFormat(x1) {}
    void x_4(Smoke::Stack x) {
        // QGLFormat& operator=(const QGLFormat&)
        QGLFormat& xret = this->QGLFormat::operator=(*(const QGLFormat*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // void setDepthBufferSize(int)
        this->QGLFormat::setDepthBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // int depthBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::depthBufferSize();
        x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setAccumBufferSize(int)
        this->QGLFormat::setAccumBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // int accumBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::accumBufferSize();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setRedBufferSize(int)
        this->QGLFormat::setRedBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // int redBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::redBufferSize();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setGreenBufferSize(int)
        this->QGLFormat::setGreenBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // int greenBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::greenBufferSize();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setBlueBufferSize(int)
        this->QGLFormat::setBlueBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int blueBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::blueBufferSize();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setAlphaBufferSize(int)
        this->QGLFormat::setAlphaBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // int alphaBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::alphaBufferSize();
        x[0].s_int = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setStencilBufferSize(int)
        this->QGLFormat::setStencilBufferSize((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // int stencilBufferSize() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::stencilBufferSize();
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setSampleBuffers(bool)
        this->QGLFormat::setSampleBuffers((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool sampleBuffers() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::sampleBuffers();
        x[0].s_bool = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setSamples(int)
        this->QGLFormat::setSamples((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // int samples() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::samples();
        x[0].s_int = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setSwapInterval(int)
        this->QGLFormat::setSwapInterval((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // int swapInterval() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::swapInterval();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // bool doubleBuffer() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::doubleBuffer();
        x[0].s_bool = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setDoubleBuffer(bool)
        this->QGLFormat::setDoubleBuffer((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // bool depth() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::depth();
        x[0].s_bool = xret;
    }
    void x_28(Smoke::Stack x) {
        // void setDepth(bool)
        this->QGLFormat::setDepth((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // bool rgba() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::rgba();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // void setRgba(bool)
        this->QGLFormat::setRgba((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // bool alpha() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::alpha();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // void setAlpha(bool)
        this->QGLFormat::setAlpha((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // bool accum() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::accum();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // void setAccum(bool)
        this->QGLFormat::setAccum((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // bool stencil() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::stencil();
        x[0].s_bool = xret;
    }
    void x_36(Smoke::Stack x) {
        // void setStencil(bool)
        this->QGLFormat::setStencil((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_37(Smoke::Stack x) {
        // bool stereo() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::stereo();
        x[0].s_bool = xret;
    }
    void x_38(Smoke::Stack x) {
        // void setStereo(bool)
        this->QGLFormat::setStereo((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // bool directRendering() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::directRendering();
        x[0].s_bool = xret;
    }
    void x_40(Smoke::Stack x) {
        // void setDirectRendering(bool)
        this->QGLFormat::setDirectRendering((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // bool hasOverlay() const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::hasOverlay();
        x[0].s_bool = xret;
    }
    void x_42(Smoke::Stack x) {
        // void setOverlay(bool)
        this->QGLFormat::setOverlay((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // int plane() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::plane();
        x[0].s_int = xret;
    }
    void x_44(Smoke::Stack x) {
        // void setPlane(int)
        this->QGLFormat::setPlane((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void setOption(QFlags<QGL::FormatOption>)
        this->QGLFormat::setOption((QFlags<QGL::FormatOption>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // bool testOption(QFlags<QGL::FormatOption>) const
        bool xret = ((const x_QGLFormat*)this)->QGLFormat::testOption((QFlags<QGL::FormatOption>)x[1].s_uint);
        x[0].s_bool = xret;
    }
    static void x_47(Smoke::Stack x) {
        // static QGLFormat defaultFormat()
        QGLFormat xret = QGLFormat::defaultFormat();
        x[0].s_class = (void*)new QGLFormat(xret);
    }
    static void x_48(Smoke::Stack x) {
        // static void setDefaultFormat(const QGLFormat&)
        QGLFormat::setDefaultFormat(*(const QGLFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_49(Smoke::Stack x) {
        // static QGLFormat defaultOverlayFormat()
        QGLFormat xret = QGLFormat::defaultOverlayFormat();
        x[0].s_class = (void*)new QGLFormat(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static void setDefaultOverlayFormat(const QGLFormat&)
        QGLFormat::setDefaultOverlayFormat(*(const QGLFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_51(Smoke::Stack x) {
        // static bool hasOpenGL()
        bool xret = QGLFormat::hasOpenGL();
        x[0].s_bool = xret;
    }
    static void x_52(Smoke::Stack x) {
        // static bool hasOpenGLOverlays()
        bool xret = QGLFormat::hasOpenGLOverlays();
        x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) {
        // void setVersion(int, int)
        this->QGLFormat::setVersion((int)x[1].s_int,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // int majorVersion() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::majorVersion();
        x[0].s_int = xret;
    }
    void x_55(Smoke::Stack x) {
        // int minorVersion() const
        int xret = ((const x_QGLFormat*)this)->QGLFormat::minorVersion();
        x[0].s_int = xret;
    }
    void x_56(Smoke::Stack x) {
        // void setProfile(QGLFormat::OpenGLContextProfile)
        this->QGLFormat::setProfile((QGLFormat::OpenGLContextProfile)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // QGLFormat::OpenGLContextProfile profile() const
        QGLFormat::OpenGLContextProfile xret = ((const x_QGLFormat*)this)->QGLFormat::profile();
        x[0].s_enum = xret;
    }
    static void x_58(Smoke::Stack x) {
        // static QFlags<QGLFormat::OpenGLVersionFlag> openGLVersionFlags()
        QFlags<QGLFormat::OpenGLVersionFlag> xret = QGLFormat::openGLVersionFlags();
        x[0].s_uint = (uint)xret;
    }
    static void x_59(Smoke::Stack x) {
        // QGLFormat* QGLFormat(QFlags<QGL::FormatOption>)
        x_QGLFormat* xret = new x_QGLFormat((QFlags<QGL::FormatOption>)x[1].s_uint,(int)0);
        x[0].s_class = (void*)xret;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::NoProfile;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::CoreProfile;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::CompatibilityProfile;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_None;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_1_1;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_1_2;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_1_3;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_1_4;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_1_5;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_2_0;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_2_1;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_ES_Common_Version_1_0;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_ES_CommonLite_Version_1_0;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_ES_Common_Version_1_1;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_ES_CommonLite_Version_1_1;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_ES_Version_2_0;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_3_0;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_3_1;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_3_2;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_3_3;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFormat::OpenGL_Version_4_0;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 47: //QGLFormat::OpenGLContextProfile
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLFormat::OpenGLContextProfile;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLFormat::OpenGLContextProfile*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLFormat::OpenGLContextProfile*)xdata = (QGLFormat::OpenGLContextProfile)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLFormat::OpenGLContextProfile*)xdata;
                    break;
            }
            break;
        case 48: //QGLFormat::OpenGLVersionFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLFormat::OpenGLVersionFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLFormat::OpenGLVersionFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLFormat::OpenGLVersionFlag*)xdata = (QGLFormat::OpenGLVersionFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLFormat::OpenGLVersionFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGLFormat() { this->_binding->deleted(20, (void*)this); }
};
void xenum_QGLFormat(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGLFormat::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGLFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLFormat *xself = (x_QGLFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLFormat::x_1(args);	break;
        case 2: x_QGLFormat::x_2(args);	break;
        case 3: x_QGLFormat::x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: x_QGLFormat::x_47(args);	break;
        case 48: x_QGLFormat::x_48(args);	break;
        case 49: x_QGLFormat::x_49(args);	break;
        case 50: x_QGLFormat::x_50(args);	break;
        case 51: x_QGLFormat::x_51(args);	break;
        case 52: x_QGLFormat::x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: x_QGLFormat::x_58(args);	break;
        case 59: x_QGLFormat::x_59(args);	break;
        case 60: x_QGLFormat::x_60(args);	break;
        case 61: x_QGLFormat::x_61(args);	break;
        case 62: x_QGLFormat::x_62(args);	break;
        case 63: x_QGLFormat::x_63(args);	break;
        case 64: x_QGLFormat::x_64(args);	break;
        case 65: x_QGLFormat::x_65(args);	break;
        case 66: x_QGLFormat::x_66(args);	break;
        case 67: x_QGLFormat::x_67(args);	break;
        case 68: x_QGLFormat::x_68(args);	break;
        case 69: x_QGLFormat::x_69(args);	break;
        case 70: x_QGLFormat::x_70(args);	break;
        case 71: x_QGLFormat::x_71(args);	break;
        case 72: x_QGLFormat::x_72(args);	break;
        case 73: x_QGLFormat::x_73(args);	break;
        case 74: x_QGLFormat::x_74(args);	break;
        case 75: x_QGLFormat::x_75(args);	break;
        case 76: x_QGLFormat::x_76(args);	break;
        case 77: x_QGLFormat::x_77(args);	break;
        case 78: x_QGLFormat::x_78(args);	break;
        case 79: x_QGLFormat::x_79(args);	break;
        case 80: x_QGLFormat::x_80(args);	break;
        case 81: delete (QGLFormat*)xself;	break;
    }
}
class x_QGLFramebufferObject : public QGLFramebufferObject, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(const QSize&, GLenum)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject(*(const QSize*)x[1].s_class,*(GLenum*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObject(const QSize& x1, GLenum x2) : QGLFramebufferObject(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(int, int, GLenum)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject((int)x[1].s_int,(int)x[2].s_int,*(GLenum*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObject(int x1, int x2, GLenum x3) : QGLFramebufferObject(x1, x2, x3) {}
    static void x_3(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(const QSize&, QGLFramebufferObject::Attachment, GLenum, GLenum)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject(*(const QSize*)x[1].s_class,(QGLFramebufferObject::Attachment)x[2].s_enum,*(GLenum*)x[3].s_class,*(GLenum*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObject(const QSize& x1, QGLFramebufferObject::Attachment x2, GLenum x3, GLenum x4) : QGLFramebufferObject(x1, x2, x3, x4) {}
    static void x_4(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(int, int, QGLFramebufferObject::Attachment, GLenum, GLenum)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject((int)x[1].s_int,(int)x[2].s_int,(QGLFramebufferObject::Attachment)x[3].s_enum,*(GLenum*)x[4].s_class,*(GLenum*)x[5].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObject(int x1, int x2, QGLFramebufferObject::Attachment x3, GLenum x4, GLenum x5) : QGLFramebufferObject(x1, x2, x3, x4, x5) {}
    static void x_5(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(const QSize&, const QGLFramebufferObjectFormat&)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject(*(const QSize*)x[1].s_class,*(const QGLFramebufferObjectFormat*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObject(const QSize& x1, const QGLFramebufferObjectFormat& x2) : QGLFramebufferObject(x1, x2) {}
    static void x_6(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(int, int, const QGLFramebufferObjectFormat&)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject((int)x[1].s_int,(int)x[2].s_int,*(const QGLFramebufferObjectFormat*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObject(int x1, int x2, const QGLFramebufferObjectFormat& x3) : QGLFramebufferObject(x1, x2, x3) {}
    void x_7(Smoke::Stack x) {
        // QGLFramebufferObjectFormat format() const
        QGLFramebufferObjectFormat xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::format();
        x[0].s_class = (void*)new QGLFramebufferObjectFormat(xret);
    }
    void x_8(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::isValid();
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isBound() const
        bool xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::isBound();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool bind()
        bool xret = this->QGLFramebufferObject::bind();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool release()
        bool xret = this->QGLFramebufferObject::release();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // GLuint texture() const
        GLuint xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::texture();
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_13(Smoke::Stack x) {
        // QSize size() const
        QSize xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::size();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_14(Smoke::Stack x) {
        // QImage toImage() const
        QImage xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::toImage();
        x[0].s_class = (void*)new QImage(xret);
    }
    void x_15(Smoke::Stack x) {
        // QGLFramebufferObject::Attachment attachment() const
        QGLFramebufferObject::Attachment xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::attachment();
        x[0].s_enum = xret;
    }
    void x_16(Smoke::Stack x) {
        // QPaintEngine* paintEngine() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLFramebufferObject*>(this))) {
            QPaintEngine* xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::paintEngine();
            x[0].s_class = (void*)xret;
        } else {
            QPaintEngine* xret = ((const x_QGLFramebufferObject*)this)->paintEngine();
            x[0].s_class = (void*)xret;
        }
    }
    void x_17(Smoke::Stack x) {
        // GLuint handle() const
        GLuint xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::handle();
        x[0].s_class = (void*)new GLuint(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static bool bindDefault()
        bool xret = QGLFramebufferObject::bindDefault();
        x[0].s_bool = xret;
    }
    static void x_19(Smoke::Stack x) {
        // static bool hasOpenGLFramebufferObjects()
        bool xret = QGLFramebufferObject::hasOpenGLFramebufferObjects();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint, GLenum)
        this->QGLFramebufferObject::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint, GLenum)
        this->QGLFramebufferObject::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_22(Smoke::Stack x) {
        // static bool hasOpenGLFramebufferBlit()
        bool xret = QGLFramebufferObject::hasOpenGLFramebufferBlit();
        x[0].s_bool = xret;
    }
    static void x_23(Smoke::Stack x) {
        // static void blitFramebuffer(QGLFramebufferObject*, const QRect&, QGLFramebufferObject*, const QRect&, GLbitfield, GLenum)
        QGLFramebufferObject::blitFramebuffer((QGLFramebufferObject*)x[1].s_class,*(const QRect*)x[2].s_class,(QGLFramebufferObject*)x[3].s_class,*(const QRect*)x[4].s_class,*(GLbitfield*)x[5].s_class,*(GLenum*)x[6].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // int metric(QPaintDevice::PaintDeviceMetric) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLFramebufferObject*>(this))) {
            int xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QGLFramebufferObject*)this)->metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // int devType() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLFramebufferObject*>(this))) {
            int xret = ((const x_QGLFramebufferObject*)this)->QGLFramebufferObject::devType();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QGLFramebufferObject*)this)->devType();
            x[0].s_int = xret;
        }
    }
    static void x_26(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(const QSize&)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject(*(const QSize*)x[1].s_class,(GLenum)GL_TEXTURE_2D);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(int, int)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject((int)x[1].s_int,(int)x[2].s_int,(GLenum)GL_TEXTURE_2D);
        x[0].s_class = (void*)xret;
    }
    static void x_28(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(const QSize&, QGLFramebufferObject::Attachment)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject(*(const QSize*)x[1].s_class,(QGLFramebufferObject::Attachment)x[2].s_enum,(GLenum)GL_TEXTURE_2D,(GLenum)GL_RGBA8);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(const QSize&, QGLFramebufferObject::Attachment, GLenum)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject(*(const QSize*)x[1].s_class,(QGLFramebufferObject::Attachment)x[2].s_enum,*(GLenum*)x[3].s_class,(GLenum)GL_RGBA8);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(int, int, QGLFramebufferObject::Attachment)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject((int)x[1].s_int,(int)x[2].s_int,(QGLFramebufferObject::Attachment)x[3].s_enum,(GLenum)GL_TEXTURE_2D,(GLenum)GL_RGBA8);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // QGLFramebufferObject* QGLFramebufferObject(int, int, QGLFramebufferObject::Attachment, GLenum)
        x_QGLFramebufferObject* xret = new x_QGLFramebufferObject((int)x[1].s_int,(int)x[2].s_int,(QGLFramebufferObject::Attachment)x[3].s_enum,*(GLenum*)x[4].s_class,(GLenum)GL_RGBA8);
        x[0].s_class = (void*)xret;
    }
    void x_32(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint)
        this->QGLFramebufferObject::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)GL_TEXTURE_2D);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint)
        this->QGLFramebufferObject::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)GL_TEXTURE_2D);
        (void)x; // noop (for compiler warning)
    }
    static void x_34(Smoke::Stack x) {
        // static void blitFramebuffer(QGLFramebufferObject*, const QRect&, QGLFramebufferObject*, const QRect&)
        QGLFramebufferObject::blitFramebuffer((QGLFramebufferObject*)x[1].s_class,*(const QRect*)x[2].s_class,(QGLFramebufferObject*)x[3].s_class,*(const QRect*)x[4].s_class,(GLbitfield)GL_COLOR_BUFFER_BIT,(GLenum)GL_NEAREST);
        (void)x; // noop (for compiler warning)
    }
    static void x_35(Smoke::Stack x) {
        // static void blitFramebuffer(QGLFramebufferObject*, const QRect&, QGLFramebufferObject*, const QRect&, GLbitfield)
        QGLFramebufferObject::blitFramebuffer((QGLFramebufferObject*)x[1].s_class,*(const QRect*)x[2].s_class,(QGLFramebufferObject*)x[3].s_class,*(const QRect*)x[4].s_class,*(GLbitfield*)x[5].s_class,(GLenum)GL_NEAREST);
        (void)x; // noop (for compiler warning)
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFramebufferObject::NoAttachment;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFramebufferObject::CombinedDepthStencil;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)QGLFramebufferObject::Depth;
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(244, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLFramebufferObject::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(235, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QGLFramebufferObject::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(243, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLFramebufferObject::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 50: //QGLFramebufferObject::Attachment
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLFramebufferObject::Attachment;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLFramebufferObject::Attachment*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLFramebufferObject::Attachment*)xdata = (QGLFramebufferObject::Attachment)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLFramebufferObject::Attachment*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGLFramebufferObject() { this->_binding->deleted(21, (void*)this); }
};
void xenum_QGLFramebufferObject(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGLFramebufferObject::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGLFramebufferObject(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLFramebufferObject *xself = (x_QGLFramebufferObject*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLFramebufferObject::x_1(args);	break;
        case 2: x_QGLFramebufferObject::x_2(args);	break;
        case 3: x_QGLFramebufferObject::x_3(args);	break;
        case 4: x_QGLFramebufferObject::x_4(args);	break;
        case 5: x_QGLFramebufferObject::x_5(args);	break;
        case 6: x_QGLFramebufferObject::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: x_QGLFramebufferObject::x_18(args);	break;
        case 19: x_QGLFramebufferObject::x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: x_QGLFramebufferObject::x_22(args);	break;
        case 23: x_QGLFramebufferObject::x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: x_QGLFramebufferObject::x_26(args);	break;
        case 27: x_QGLFramebufferObject::x_27(args);	break;
        case 28: x_QGLFramebufferObject::x_28(args);	break;
        case 29: x_QGLFramebufferObject::x_29(args);	break;
        case 30: x_QGLFramebufferObject::x_30(args);	break;
        case 31: x_QGLFramebufferObject::x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: x_QGLFramebufferObject::x_34(args);	break;
        case 35: x_QGLFramebufferObject::x_35(args);	break;
        case 36: x_QGLFramebufferObject::x_36(args);	break;
        case 37: x_QGLFramebufferObject::x_37(args);	break;
        case 38: x_QGLFramebufferObject::x_38(args);	break;
        case 39: delete (QGLFramebufferObject*)xself;	break;
    }
}
class x_QGLFramebufferObjectFormat : public QGLFramebufferObjectFormat {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLFramebufferObjectFormat* QGLFramebufferObjectFormat()
        x_QGLFramebufferObjectFormat* xret = new x_QGLFramebufferObjectFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObjectFormat() : QGLFramebufferObjectFormat() {}
    static void x_2(Smoke::Stack x) {
        // QGLFramebufferObjectFormat* QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat&)
        x_QGLFramebufferObjectFormat* xret = new x_QGLFramebufferObjectFormat(*(const QGLFramebufferObjectFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLFramebufferObjectFormat(const QGLFramebufferObjectFormat& x1) : QGLFramebufferObjectFormat(x1) {}
    void x_3(Smoke::Stack x) {
        // QGLFramebufferObjectFormat& operator=(const QGLFramebufferObjectFormat&)
        QGLFramebufferObjectFormat& xret = this->QGLFramebufferObjectFormat::operator=(*(const QGLFramebufferObjectFormat*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // void setSamples(int)
        this->QGLFramebufferObjectFormat::setSamples((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // int samples() const
        int xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::samples();
        x[0].s_int = xret;
    }
    void x_6(Smoke::Stack x) {
        // void setMipmap(bool)
        this->QGLFramebufferObjectFormat::setMipmap((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // bool mipmap() const
        bool xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::mipmap();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // void setAttachment(QGLFramebufferObject::Attachment)
        this->QGLFramebufferObjectFormat::setAttachment((QGLFramebufferObject::Attachment)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // QGLFramebufferObject::Attachment attachment() const
        QGLFramebufferObject::Attachment xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::attachment();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setTextureTarget(GLenum)
        this->QGLFramebufferObjectFormat::setTextureTarget(*(GLenum*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // GLenum textureTarget() const
        GLenum xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::textureTarget();
        x[0].s_class = (void*)new GLenum(xret);
    }
    void x_12(Smoke::Stack x) {
        // void setInternalTextureFormat(GLenum)
        this->QGLFramebufferObjectFormat::setInternalTextureFormat(*(GLenum*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // GLenum internalTextureFormat() const
        GLenum xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::internalTextureFormat();
        x[0].s_class = (void*)new GLenum(xret);
    }
    void x_14(Smoke::Stack x) {
        // bool operator==(const QGLFramebufferObjectFormat&) const
        bool xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::operator==(*(const QGLFramebufferObjectFormat*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool operator!=(const QGLFramebufferObjectFormat&) const
        bool xret = ((const x_QGLFramebufferObjectFormat*)this)->QGLFramebufferObjectFormat::operator!=(*(const QGLFramebufferObjectFormat*)x[1].s_class);
        x[0].s_bool = xret;
    }
    ~x_QGLFramebufferObjectFormat() { this->_binding->deleted(22, (void*)this); }
};
void xcall_QGLFramebufferObjectFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLFramebufferObjectFormat *xself = (x_QGLFramebufferObjectFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLFramebufferObjectFormat::x_1(args);	break;
        case 2: x_QGLFramebufferObjectFormat::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: delete (QGLFramebufferObjectFormat*)xself;	break;
    }
}
class x_QGLPixelBuffer : public QGLPixelBuffer, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // QGLPixelBuffer* QGLPixelBuffer(const QSize&, const QGLFormat&, QGLWidget*)
        x_QGLPixelBuffer* xret = new x_QGLPixelBuffer(*(const QSize*)x[1].s_class,*(const QGLFormat*)x[2].s_class,(QGLWidget*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLPixelBuffer(const QSize& x1, const QGLFormat& x2, QGLWidget* x3) : QGLPixelBuffer(x1, x2, x3) {}
    static void x_2(Smoke::Stack x) {
        // QGLPixelBuffer* QGLPixelBuffer(int, int, const QGLFormat&, QGLWidget*)
        x_QGLPixelBuffer* xret = new x_QGLPixelBuffer((int)x[1].s_int,(int)x[2].s_int,*(const QGLFormat*)x[3].s_class,(QGLWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLPixelBuffer(int x1, int x2, const QGLFormat& x3, QGLWidget* x4) : QGLPixelBuffer(x1, x2, x3, x4) {}
    void x_3(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::isValid();
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // bool makeCurrent()
        bool xret = this->QGLPixelBuffer::makeCurrent();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // bool doneCurrent()
        bool xret = this->QGLPixelBuffer::doneCurrent();
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // GLuint generateDynamicTexture() const
        GLuint xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::generateDynamicTexture();
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_7(Smoke::Stack x) {
        // bool bindToDynamicTexture(GLuint)
        bool xret = this->QGLPixelBuffer::bindToDynamicTexture(*(GLuint*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // void releaseFromDynamicTexture()
        this->QGLPixelBuffer::releaseFromDynamicTexture();
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // void updateDynamicTexture(GLuint) const
        ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::updateDynamicTexture(*(GLuint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum)
        GLuint xret = this->QGLPixelBuffer::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_11(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum)
        GLuint xret = this->QGLPixelBuffer::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_12(Smoke::Stack x) {
        // GLuint bindTexture(const QString&)
        GLuint xret = this->QGLPixelBuffer::bindTexture(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_13(Smoke::Stack x) {
        // void deleteTexture(GLuint)
        this->QGLPixelBuffer::deleteTexture(*(GLuint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint, GLenum)
        this->QGLPixelBuffer::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint, GLenum)
        this->QGLPixelBuffer::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QSize size() const
        QSize xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::size();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_17(Smoke::Stack x) {
        // unsigned long handle() const
        unsigned long xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::handle();
        x[0].s_ulong = xret;
    }
    void x_18(Smoke::Stack x) {
        // QImage toImage() const
        QImage xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::toImage();
        x[0].s_class = (void*)new QImage(xret);
    }
    void x_19(Smoke::Stack x) {
        // QPaintEngine* paintEngine() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLPixelBuffer*>(this))) {
            QPaintEngine* xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::paintEngine();
            x[0].s_class = (void*)xret;
        } else {
            QPaintEngine* xret = ((const x_QGLPixelBuffer*)this)->paintEngine();
            x[0].s_class = (void*)xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // QGLFormat format() const
        QGLFormat xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::format();
        x[0].s_class = (void*)new QGLFormat(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static bool hasOpenGLPbuffers()
        bool xret = QGLPixelBuffer::hasOpenGLPbuffers();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // int metric(QPaintDevice::PaintDeviceMetric) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLPixelBuffer*>(this))) {
            int xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QGLPixelBuffer*)this)->metric((QPaintDevice::PaintDeviceMetric)x[1].s_enum);
            x[0].s_int = xret;
        }
    }
    void x_23(Smoke::Stack x) {
        // int devType() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLPixelBuffer*>(this))) {
            int xret = ((const x_QGLPixelBuffer*)this)->QGLPixelBuffer::devType();
            x[0].s_int = xret;
        } else {
            int xret = ((const x_QGLPixelBuffer*)this)->devType();
            x[0].s_int = xret;
        }
    }
    static void x_24(Smoke::Stack x) {
        // QGLPixelBuffer* QGLPixelBuffer(const QSize&)
        x_QGLPixelBuffer* xret = new x_QGLPixelBuffer(*(const QSize*)x[1].s_class,(const QGLFormat&)QGLFormat::defaultFormat(),(QGLWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_25(Smoke::Stack x) {
        // QGLPixelBuffer* QGLPixelBuffer(const QSize&, const QGLFormat&)
        x_QGLPixelBuffer* xret = new x_QGLPixelBuffer(*(const QSize*)x[1].s_class,*(const QGLFormat*)x[2].s_class,(QGLWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_26(Smoke::Stack x) {
        // QGLPixelBuffer* QGLPixelBuffer(int, int)
        x_QGLPixelBuffer* xret = new x_QGLPixelBuffer((int)x[1].s_int,(int)x[2].s_int,(const QGLFormat&)QGLFormat::defaultFormat(),(QGLWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // QGLPixelBuffer* QGLPixelBuffer(int, int, const QGLFormat&)
        x_QGLPixelBuffer* xret = new x_QGLPixelBuffer((int)x[1].s_int,(int)x[2].s_int,*(const QGLFormat*)x[3].s_class,(QGLWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_28(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&)
        GLuint xret = this->QGLPixelBuffer::bindTexture(*(const QImage*)x[1].s_class,(GLenum)0x0DE1);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_29(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&)
        GLuint xret = this->QGLPixelBuffer::bindTexture(*(const QPixmap*)x[1].s_class,(GLenum)0x0DE1);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_30(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint)
        this->QGLPixelBuffer::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)0x0DE1);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint)
        this->QGLPixelBuffer::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)0x0DE1);
        (void)x; // noop (for compiler warning)
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(297, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLPixelBuffer::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(293, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QGLPixelBuffer::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(296, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLPixelBuffer::metric(x1);
    }
    ~x_QGLPixelBuffer() { this->_binding->deleted(23, (void*)this); }
};
void xcall_QGLPixelBuffer(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLPixelBuffer *xself = (x_QGLPixelBuffer*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGLPixelBuffer::x_1(args);	break;
        case 2: x_QGLPixelBuffer::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: x_QGLPixelBuffer::x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: x_QGLPixelBuffer::x_24(args);	break;
        case 25: x_QGLPixelBuffer::x_25(args);	break;
        case 26: x_QGLPixelBuffer::x_26(args);	break;
        case 27: x_QGLPixelBuffer::x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: delete (QGLPixelBuffer*)xself;	break;
    }
}
class x_QGLShader : public QGLShader, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShader*>(this))) {
            const QMetaObject* xret = ((const x_QGLShader*)this)->QGLShader::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QGLShader*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShader*>(this))) {
            void* xret = this->QGLShader::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = QGLShader::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = QGLShader::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = QGLShader::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = QGLShader::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShader*>(this))) {
            int xret = this->QGLShader::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // QGLShader* QGLShader(QFlags<QGLShader::ShaderTypeBit>, QObject*)
        x_QGLShader* xret = new x_QGLShader((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLShader(QFlags<QGLShader::ShaderTypeBit> x1, QObject* x2) : QGLShader(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // QGLShader* QGLShader(QFlags<QGLShader::ShaderTypeBit>, const QGLContext*, QObject*)
        x_QGLShader* xret = new x_QGLShader((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(const QGLContext*)x[2].s_class,(QObject*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLShader(QFlags<QGLShader::ShaderTypeBit> x1, const QGLContext* x2, QObject* x3) : QGLShader(x1, x2, x3) {}
    void x_10(Smoke::Stack x) {
        // QFlags<QGLShader::ShaderTypeBit> shaderType() const
        QFlags<QGLShader::ShaderTypeBit> xret = ((const x_QGLShader*)this)->QGLShader::shaderType();
        x[0].s_uint = (uint)xret;
    }
    void x_11(Smoke::Stack x) {
        // bool compileSourceCode(const char*)
        bool xret = this->QGLShader::compileSourceCode((const char*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool compileSourceCode(const QByteArray&)
        bool xret = this->QGLShader::compileSourceCode(*(const QByteArray*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool compileSourceCode(const QString&)
        bool xret = this->QGLShader::compileSourceCode(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool compileSourceFile(const QString&)
        bool xret = this->QGLShader::compileSourceFile(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // QByteArray sourceCode() const
        QByteArray xret = ((const x_QGLShader*)this)->QGLShader::sourceCode();
        x[0].s_class = (void*)new QByteArray(xret);
    }
    void x_16(Smoke::Stack x) {
        // bool isCompiled() const
        bool xret = ((const x_QGLShader*)this)->QGLShader::isCompiled();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // QString log() const
        QString xret = ((const x_QGLShader*)this)->QGLShader::log();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // GLuint shaderId() const
        GLuint xret = ((const x_QGLShader*)this)->QGLShader::shaderId();
        x[0].s_class = (void*)new GLuint(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static bool hasOpenGLShaders(QFlags<QGLShader::ShaderTypeBit>, const QGLContext*)
        bool xret = QGLShader::hasOpenGLShaders((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(const QGLContext*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QGLShader::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QGLShader::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // QGLShader* QGLShader(QFlags<QGLShader::ShaderTypeBit>)
        x_QGLShader* xret = new x_QGLShader((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // QGLShader* QGLShader(QFlags<QGLShader::ShaderTypeBit>, const QGLContext*)
        x_QGLShader* xret = new x_QGLShader((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(const QGLContext*)x[2].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static bool hasOpenGLShaders(QFlags<QGLShader::ShaderTypeBit>)
        bool xret = QGLShader::hasOpenGLShaders((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(const QGLContext*)0);
        x[0].s_bool = xret;
    }
    static void x_25(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QGLShader::staticMetaObject;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QGLShader::Vertex;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QGLShader::Fragment;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QGLShader::Geometry;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(307, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QGLShader::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(308, (void*)this, x)) return (void*)x[0].s_class;
        return this->QGLShader::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(313, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLShader::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(618, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(619, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(620, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(621, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(622, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(623, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(624, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 57: //QGLShader::ShaderTypeBit
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGLShader::ShaderTypeBit;
                    break;
                case Smoke::EnumDelete:
                    delete (QGLShader::ShaderTypeBit*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGLShader::ShaderTypeBit*)xdata = (QGLShader::ShaderTypeBit)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGLShader::ShaderTypeBit*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGLShader() { this->_binding->deleted(24, (void*)this); }
};
void xenum_QGLShader(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGLShader::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGLShader(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLShader *xself = (x_QGLShader*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QGLShader::x_3(args);	break;
        case 4: x_QGLShader::x_4(args);	break;
        case 5: x_QGLShader::x_5(args);	break;
        case 6: x_QGLShader::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QGLShader::x_8(args);	break;
        case 9: x_QGLShader::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_QGLShader::x_19(args);	break;
        case 20: x_QGLShader::x_20(args);	break;
        case 21: x_QGLShader::x_21(args);	break;
        case 22: x_QGLShader::x_22(args);	break;
        case 23: x_QGLShader::x_23(args);	break;
        case 24: x_QGLShader::x_24(args);	break;
        case 25: x_QGLShader::x_25(args);	break;
        case 26: x_QGLShader::x_26(args);	break;
        case 27: x_QGLShader::x_27(args);	break;
        case 28: x_QGLShader::x_28(args);	break;
        case 29: delete (QGLShader*)xself;	break;
    }
}
class x_QGLShaderProgram : public QGLShaderProgram, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShaderProgram*>(this))) {
            const QMetaObject* xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QGLShaderProgram*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShaderProgram*>(this))) {
            void* xret = this->QGLShaderProgram::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = QGLShaderProgram::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = QGLShaderProgram::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = QGLShaderProgram::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = QGLShaderProgram::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShaderProgram*>(this))) {
            int xret = this->QGLShaderProgram::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // QGLShaderProgram* QGLShaderProgram(QObject*)
        x_QGLShaderProgram* xret = new x_QGLShaderProgram((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLShaderProgram(QObject* x1) : QGLShaderProgram(x1) {}
    static void x_9(Smoke::Stack x) {
        // QGLShaderProgram* QGLShaderProgram(const QGLContext*, QObject*)
        x_QGLShaderProgram* xret = new x_QGLShaderProgram((const QGLContext*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLShaderProgram(const QGLContext* x1, QObject* x2) : QGLShaderProgram(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // bool addShader(QGLShader*)
        bool xret = this->QGLShaderProgram::addShader((QGLShader*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void removeShader(QGLShader*)
        this->QGLShaderProgram::removeShader((QGLShader*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QList<QGLShader*> shaders() const
        QList<QGLShader*> xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::shaders();
        x[0].s_class = (void*)new QList<QGLShader*>(xret);
    }
    void x_13(Smoke::Stack x) {
        // bool addShaderFromSourceCode(QFlags<QGLShader::ShaderTypeBit>, const char*)
        bool xret = this->QGLShaderProgram::addShaderFromSourceCode((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,(const char*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool addShaderFromSourceCode(QFlags<QGLShader::ShaderTypeBit>, const QByteArray&)
        bool xret = this->QGLShaderProgram::addShaderFromSourceCode((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,*(const QByteArray*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool addShaderFromSourceCode(QFlags<QGLShader::ShaderTypeBit>, const QString&)
        bool xret = this->QGLShaderProgram::addShaderFromSourceCode((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // bool addShaderFromSourceFile(QFlags<QGLShader::ShaderTypeBit>, const QString&)
        bool xret = this->QGLShaderProgram::addShaderFromSourceFile((QFlags<QGLShader::ShaderTypeBit>)x[1].s_uint,*(const QString*)x[2].s_class);
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // void removeAllShaders()
        this->QGLShaderProgram::removeAllShaders();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // virtual bool link()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLShaderProgram*>(this))) {
            bool xret = this->QGLShaderProgram::link();
            x[0].s_bool = xret;
        } else {
            bool xret = this->link();
            x[0].s_bool = xret;
        }
    }
    void x_19(Smoke::Stack x) {
        // bool isLinked() const
        bool xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::isLinked();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // QString log() const
        QString xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::log();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_21(Smoke::Stack x) {
        // bool bind()
        bool xret = this->QGLShaderProgram::bind();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // void release()
        this->QGLShaderProgram::release();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // GLuint programId() const
        GLuint xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::programId();
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_24(Smoke::Stack x) {
        // int maxGeometryOutputVertices() const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::maxGeometryOutputVertices();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setGeometryOutputVertexCount(int)
        this->QGLShaderProgram::setGeometryOutputVertexCount((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // int geometryOutputVertexCount() const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::geometryOutputVertexCount();
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // void setGeometryInputType(GLenum)
        this->QGLShaderProgram::setGeometryInputType(*(GLenum*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // GLenum geometryInputType() const
        GLenum xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::geometryInputType();
        x[0].s_class = (void*)new GLenum(xret);
    }
    void x_29(Smoke::Stack x) {
        // void setGeometryOutputType(GLenum)
        this->QGLShaderProgram::setGeometryOutputType(*(GLenum*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // GLenum geometryOutputType() const
        GLenum xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::geometryOutputType();
        x[0].s_class = (void*)new GLenum(xret);
    }
    void x_31(Smoke::Stack x) {
        // void bindAttributeLocation(const char*, int)
        this->QGLShaderProgram::bindAttributeLocation((const char*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void bindAttributeLocation(const QByteArray&, int)
        this->QGLShaderProgram::bindAttributeLocation(*(const QByteArray*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // void bindAttributeLocation(const QString&, int)
        this->QGLShaderProgram::bindAttributeLocation(*(const QString*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // int attributeLocation(const char*) const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::attributeLocation((const char*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_35(Smoke::Stack x) {
        // int attributeLocation(const QByteArray&) const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::attributeLocation(*(const QByteArray*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_36(Smoke::Stack x) {
        // int attributeLocation(const QString&) const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::attributeLocation(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setAttributeValue(int, GLfloat)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(GLfloat*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void setAttributeValue(int, GLfloat, GLfloat)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_39(Smoke::Stack x) {
        // void setAttributeValue(int, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void setAttributeValue(int, GLfloat, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class,*(GLfloat*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void setAttributeValue(int, const QVector2D&)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(const QVector2D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // void setAttributeValue(int, const QVector3D&)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(const QVector3D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_43(Smoke::Stack x) {
        // void setAttributeValue(int, const QVector4D&)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(const QVector4D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // void setAttributeValue(int, const QColor&)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // void setAttributeValue(int, const GLfloat*, int, int)
        this->QGLShaderProgram::setAttributeValue((int)x[1].s_int,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // void setAttributeValue(const char*, GLfloat)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // void setAttributeValue(const char*, GLfloat, GLfloat)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void setAttributeValue(const char*, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_49(Smoke::Stack x) {
        // void setAttributeValue(const char*, GLfloat, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class,*(GLfloat*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void setAttributeValue(const char*, const QVector2D&)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(const QVector2D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // void setAttributeValue(const char*, const QVector3D&)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(const QVector3D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // void setAttributeValue(const char*, const QVector4D&)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(const QVector4D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_53(Smoke::Stack x) {
        // void setAttributeValue(const char*, const QColor&)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_54(Smoke::Stack x) {
        // void setAttributeValue(const char*, const GLfloat*, int, int)
        this->QGLShaderProgram::setAttributeValue((const char*)x[1].s_class,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_55(Smoke::Stack x) {
        // void setAttributeArray(int, const GLfloat*, int, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void setAttributeArray(int, const QVector2D*, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const QVector2D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void setAttributeArray(int, const QVector3D*, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const QVector3D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void setAttributeArray(int, const QVector4D*, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const QVector4D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void setAttributeArray(int, GLenum, const void*, int, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,*(GLenum*)x[2].s_class,(const void*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void setAttributeArray(const char*, const GLfloat*, int, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void setAttributeArray(const char*, const QVector2D*, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const QVector2D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // void setAttributeArray(const char*, const QVector3D*, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const QVector3D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void setAttributeArray(const char*, const QVector4D*, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const QVector4D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // void setAttributeArray(const char*, GLenum, const void*, int, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,*(GLenum*)x[2].s_class,(const void*)x[3].s_class,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_65(Smoke::Stack x) {
        // void setAttributeBuffer(int, GLenum, int, int, int)
        this->QGLShaderProgram::setAttributeBuffer((int)x[1].s_int,*(GLenum*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // void setAttributeBuffer(const char*, GLenum, int, int, int)
        this->QGLShaderProgram::setAttributeBuffer((const char*)x[1].s_class,*(GLenum*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_67(Smoke::Stack x) {
        // void enableAttributeArray(int)
        this->QGLShaderProgram::enableAttributeArray((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void enableAttributeArray(const char*)
        this->QGLShaderProgram::enableAttributeArray((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void disableAttributeArray(int)
        this->QGLShaderProgram::disableAttributeArray((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // void disableAttributeArray(const char*)
        this->QGLShaderProgram::disableAttributeArray((const char*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // int uniformLocation(const char*) const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::uniformLocation((const char*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_72(Smoke::Stack x) {
        // int uniformLocation(const QByteArray&) const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::uniformLocation(*(const QByteArray*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_73(Smoke::Stack x) {
        // int uniformLocation(const QString&) const
        int xret = ((const x_QGLShaderProgram*)this)->QGLShaderProgram::uniformLocation(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_74(Smoke::Stack x) {
        // void setUniformValue(int, GLfloat)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(GLfloat*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void setUniformValue(int, GLint)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(GLint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // void setUniformValue(int, GLuint)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(GLuint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // void setUniformValue(int, GLfloat, GLfloat)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_78(Smoke::Stack x) {
        // void setUniformValue(int, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_79(Smoke::Stack x) {
        // void setUniformValue(int, GLfloat, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class,*(GLfloat*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_80(Smoke::Stack x) {
        // void setUniformValue(int, const QVector2D&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QVector2D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_81(Smoke::Stack x) {
        // void setUniformValue(int, const QVector3D&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QVector3D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_82(Smoke::Stack x) {
        // void setUniformValue(int, const QVector4D&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QVector4D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_83(Smoke::Stack x) {
        // void setUniformValue(int, const QColor&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_84(Smoke::Stack x) {
        // void setUniformValue(int, const QPoint&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_85(Smoke::Stack x) {
        // void setUniformValue(int, const QPointF&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QPointF*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_86(Smoke::Stack x) {
        // void setUniformValue(int, const QSize&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QSize*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_87(Smoke::Stack x) {
        // void setUniformValue(int, const QSizeF&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QSizeF*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_88(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<2,2,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<2,2,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_89(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<2,3,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<2,3,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_90(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<2,4,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<2,4,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_91(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<3,2,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<3,2,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_92(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<3,3,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<3,3,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_93(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<3,4,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<3,4,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_94(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<4,2,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<4,2,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_95(Smoke::Stack x) {
        // void setUniformValue(int, const QGenericMatrix<4,3,double>&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QGenericMatrix<4,3,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_96(Smoke::Stack x) {
        // void setUniformValue(int, const QMatrix4x4&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QMatrix4x4*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_97(Smoke::Stack x) {
        // void setUniformValue(int, const GLfloat[2][2])
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const GLfloat(*)[2][2])x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_98(Smoke::Stack x) {
        // void setUniformValue(int, const GLfloat[3][3])
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const GLfloat(*)[3][3])x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_99(Smoke::Stack x) {
        // void setUniformValue(int, const GLfloat[4][4])
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const GLfloat(*)[4][4])x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_100(Smoke::Stack x) {
        // void setUniformValue(int, const QTransform&)
        this->QGLShaderProgram::setUniformValue((int)x[1].s_int,*(const QTransform*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_101(Smoke::Stack x) {
        // void setUniformValue(const char*, GLfloat)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_102(Smoke::Stack x) {
        // void setUniformValue(const char*, GLint)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(GLint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_103(Smoke::Stack x) {
        // void setUniformValue(const char*, GLuint)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(GLuint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_104(Smoke::Stack x) {
        // void setUniformValue(const char*, GLfloat, GLfloat)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_105(Smoke::Stack x) {
        // void setUniformValue(const char*, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_106(Smoke::Stack x) {
        // void setUniformValue(const char*, GLfloat, GLfloat, GLfloat, GLfloat)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(GLfloat*)x[2].s_class,*(GLfloat*)x[3].s_class,*(GLfloat*)x[4].s_class,*(GLfloat*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_107(Smoke::Stack x) {
        // void setUniformValue(const char*, const QVector2D&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QVector2D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_108(Smoke::Stack x) {
        // void setUniformValue(const char*, const QVector3D&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QVector3D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_109(Smoke::Stack x) {
        // void setUniformValue(const char*, const QVector4D&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QVector4D*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_110(Smoke::Stack x) {
        // void setUniformValue(const char*, const QColor&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QColor*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_111(Smoke::Stack x) {
        // void setUniformValue(const char*, const QPoint&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QPoint*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_112(Smoke::Stack x) {
        // void setUniformValue(const char*, const QPointF&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QPointF*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_113(Smoke::Stack x) {
        // void setUniformValue(const char*, const QSize&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QSize*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_114(Smoke::Stack x) {
        // void setUniformValue(const char*, const QSizeF&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QSizeF*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_115(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<2,2,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<2,2,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_116(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<2,3,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<2,3,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_117(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<2,4,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<2,4,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_118(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<3,2,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<3,2,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_119(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<3,3,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<3,3,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_120(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<3,4,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<3,4,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_121(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<4,2,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<4,2,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_122(Smoke::Stack x) {
        // void setUniformValue(const char*, const QGenericMatrix<4,3,double>&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QGenericMatrix<4,3,double>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_123(Smoke::Stack x) {
        // void setUniformValue(const char*, const QMatrix4x4&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QMatrix4x4*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_124(Smoke::Stack x) {
        // void setUniformValue(const char*, const GLfloat[2][2])
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const GLfloat(*)[2][2])x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_125(Smoke::Stack x) {
        // void setUniformValue(const char*, const GLfloat[3][3])
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const GLfloat(*)[3][3])x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_126(Smoke::Stack x) {
        // void setUniformValue(const char*, const GLfloat[4][4])
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const GLfloat(*)[4][4])x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_127(Smoke::Stack x) {
        // void setUniformValue(const char*, const QTransform&)
        this->QGLShaderProgram::setUniformValue((const char*)x[1].s_class,*(const QTransform*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_128(Smoke::Stack x) {
        // void setUniformValueArray(int, const GLfloat*, int, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_129(Smoke::Stack x) {
        // void setUniformValueArray(int, const GLint*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const GLint*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_130(Smoke::Stack x) {
        // void setUniformValueArray(int, const GLuint*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const GLuint*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_131(Smoke::Stack x) {
        // void setUniformValueArray(int, const QVector2D*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QVector2D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_132(Smoke::Stack x) {
        // void setUniformValueArray(int, const QVector3D*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QVector3D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_133(Smoke::Stack x) {
        // void setUniformValueArray(int, const QVector4D*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QVector4D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_134(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<2,2,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<2,2,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_135(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<2,3,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<2,3,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_136(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<2,4,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<2,4,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_137(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<3,2,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<3,2,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_138(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<3,3,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<3,3,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_139(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<3,4,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<3,4,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_140(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<4,2,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<4,2,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_141(Smoke::Stack x) {
        // void setUniformValueArray(int, const QGenericMatrix<4,3,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QGenericMatrix<4,3,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_142(Smoke::Stack x) {
        // void setUniformValueArray(int, const QMatrix4x4*, int)
        this->QGLShaderProgram::setUniformValueArray((int)x[1].s_int,(const QMatrix4x4*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_143(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const GLfloat*, int, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_144(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const GLint*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const GLint*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_145(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const GLuint*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const GLuint*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_146(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QVector2D*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QVector2D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_147(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QVector3D*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QVector3D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_148(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QVector4D*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QVector4D*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_149(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<2,2,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<2,2,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_150(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<2,3,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<2,3,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_151(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<2,4,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<2,4,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_152(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<3,2,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<3,2,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_153(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<3,3,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<3,3,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_154(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<3,4,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<3,4,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_155(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<4,2,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<4,2,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_156(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QGenericMatrix<4,3,double>*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QGenericMatrix<4,3,double>*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_157(Smoke::Stack x) {
        // void setUniformValueArray(const char*, const QMatrix4x4*, int)
        this->QGLShaderProgram::setUniformValueArray((const char*)x[1].s_class,(const QMatrix4x4*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_158(Smoke::Stack x) {
        // static bool hasOpenGLShaderPrograms(const QGLContext*)
        bool xret = QGLShaderProgram::hasOpenGLShaderPrograms((const QGLContext*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_159(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QGLShaderProgram::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_160(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QGLShaderProgram::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_161(Smoke::Stack x) {
        // QGLShaderProgram* QGLShaderProgram()
        x_QGLShaderProgram* xret = new x_QGLShaderProgram((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_162(Smoke::Stack x) {
        // QGLShaderProgram* QGLShaderProgram(const QGLContext*)
        x_QGLShaderProgram* xret = new x_QGLShaderProgram((const QGLContext*)x[1].s_class,(QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_163(Smoke::Stack x) {
        // void setAttributeArray(int, const GLfloat*, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_164(Smoke::Stack x) {
        // void setAttributeArray(int, const QVector2D*)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const QVector2D*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_165(Smoke::Stack x) {
        // void setAttributeArray(int, const QVector3D*)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const QVector3D*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_166(Smoke::Stack x) {
        // void setAttributeArray(int, const QVector4D*)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,(const QVector4D*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_167(Smoke::Stack x) {
        // void setAttributeArray(int, GLenum, const void*, int)
        this->QGLShaderProgram::setAttributeArray((int)x[1].s_int,*(GLenum*)x[2].s_class,(const void*)x[3].s_class,(int)x[4].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_168(Smoke::Stack x) {
        // void setAttributeArray(const char*, const GLfloat*, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const GLfloat*)x[2].s_class,(int)x[3].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_169(Smoke::Stack x) {
        // void setAttributeArray(const char*, const QVector2D*)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const QVector2D*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_170(Smoke::Stack x) {
        // void setAttributeArray(const char*, const QVector3D*)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const QVector3D*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_171(Smoke::Stack x) {
        // void setAttributeArray(const char*, const QVector4D*)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,(const QVector4D*)x[2].s_class,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_172(Smoke::Stack x) {
        // void setAttributeArray(const char*, GLenum, const void*, int)
        this->QGLShaderProgram::setAttributeArray((const char*)x[1].s_class,*(GLenum*)x[2].s_class,(const void*)x[3].s_class,(int)x[4].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_173(Smoke::Stack x) {
        // void setAttributeBuffer(int, GLenum, int, int)
        this->QGLShaderProgram::setAttributeBuffer((int)x[1].s_int,*(GLenum*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    void x_174(Smoke::Stack x) {
        // void setAttributeBuffer(const char*, GLenum, int, int)
        this->QGLShaderProgram::setAttributeBuffer((const char*)x[1].s_class,*(GLenum*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int,(int)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_175(Smoke::Stack x) {
        // static bool hasOpenGLShaderPrograms()
        bool xret = QGLShaderProgram::hasOpenGLShaderPrograms((const QGLContext*)0);
        x[0].s_bool = xret;
    }
    static void x_176(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QGLShaderProgram::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(336, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QGLShaderProgram::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(337, (void*)this, x)) return (void*)x[0].s_class;
        return this->QGLShaderProgram::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(342, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLShaderProgram::qt_metacall(x1, x2, x3);
    }
    virtual bool link() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(353, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGLShaderProgram::link();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(618, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(619, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(620, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(621, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(622, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(623, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(624, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QGLShaderProgram() { this->_binding->deleted(25, (void*)this); }
};
void xcall_QGLShaderProgram(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLShaderProgram *xself = (x_QGLShaderProgram*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QGLShaderProgram::x_3(args);	break;
        case 4: x_QGLShaderProgram::x_4(args);	break;
        case 5: x_QGLShaderProgram::x_5(args);	break;
        case 6: x_QGLShaderProgram::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QGLShaderProgram::x_8(args);	break;
        case 9: x_QGLShaderProgram::x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: xself->x_58(args);	break;
        case 59: xself->x_59(args);	break;
        case 60: xself->x_60(args);	break;
        case 61: xself->x_61(args);	break;
        case 62: xself->x_62(args);	break;
        case 63: xself->x_63(args);	break;
        case 64: xself->x_64(args);	break;
        case 65: xself->x_65(args);	break;
        case 66: xself->x_66(args);	break;
        case 67: xself->x_67(args);	break;
        case 68: xself->x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: xself->x_86(args);	break;
        case 87: xself->x_87(args);	break;
        case 88: xself->x_88(args);	break;
        case 89: xself->x_89(args);	break;
        case 90: xself->x_90(args);	break;
        case 91: xself->x_91(args);	break;
        case 92: xself->x_92(args);	break;
        case 93: xself->x_93(args);	break;
        case 94: xself->x_94(args);	break;
        case 95: xself->x_95(args);	break;
        case 96: xself->x_96(args);	break;
        case 97: xself->x_97(args);	break;
        case 98: xself->x_98(args);	break;
        case 99: xself->x_99(args);	break;
        case 100: xself->x_100(args);	break;
        case 101: xself->x_101(args);	break;
        case 102: xself->x_102(args);	break;
        case 103: xself->x_103(args);	break;
        case 104: xself->x_104(args);	break;
        case 105: xself->x_105(args);	break;
        case 106: xself->x_106(args);	break;
        case 107: xself->x_107(args);	break;
        case 108: xself->x_108(args);	break;
        case 109: xself->x_109(args);	break;
        case 110: xself->x_110(args);	break;
        case 111: xself->x_111(args);	break;
        case 112: xself->x_112(args);	break;
        case 113: xself->x_113(args);	break;
        case 114: xself->x_114(args);	break;
        case 115: xself->x_115(args);	break;
        case 116: xself->x_116(args);	break;
        case 117: xself->x_117(args);	break;
        case 118: xself->x_118(args);	break;
        case 119: xself->x_119(args);	break;
        case 120: xself->x_120(args);	break;
        case 121: xself->x_121(args);	break;
        case 122: xself->x_122(args);	break;
        case 123: xself->x_123(args);	break;
        case 124: xself->x_124(args);	break;
        case 125: xself->x_125(args);	break;
        case 126: xself->x_126(args);	break;
        case 127: xself->x_127(args);	break;
        case 128: xself->x_128(args);	break;
        case 129: xself->x_129(args);	break;
        case 130: xself->x_130(args);	break;
        case 131: xself->x_131(args);	break;
        case 132: xself->x_132(args);	break;
        case 133: xself->x_133(args);	break;
        case 134: xself->x_134(args);	break;
        case 135: xself->x_135(args);	break;
        case 136: xself->x_136(args);	break;
        case 137: xself->x_137(args);	break;
        case 138: xself->x_138(args);	break;
        case 139: xself->x_139(args);	break;
        case 140: xself->x_140(args);	break;
        case 141: xself->x_141(args);	break;
        case 142: xself->x_142(args);	break;
        case 143: xself->x_143(args);	break;
        case 144: xself->x_144(args);	break;
        case 145: xself->x_145(args);	break;
        case 146: xself->x_146(args);	break;
        case 147: xself->x_147(args);	break;
        case 148: xself->x_148(args);	break;
        case 149: xself->x_149(args);	break;
        case 150: xself->x_150(args);	break;
        case 151: xself->x_151(args);	break;
        case 152: xself->x_152(args);	break;
        case 153: xself->x_153(args);	break;
        case 154: xself->x_154(args);	break;
        case 155: xself->x_155(args);	break;
        case 156: xself->x_156(args);	break;
        case 157: xself->x_157(args);	break;
        case 158: x_QGLShaderProgram::x_158(args);	break;
        case 159: x_QGLShaderProgram::x_159(args);	break;
        case 160: x_QGLShaderProgram::x_160(args);	break;
        case 161: x_QGLShaderProgram::x_161(args);	break;
        case 162: x_QGLShaderProgram::x_162(args);	break;
        case 163: xself->x_163(args);	break;
        case 164: xself->x_164(args);	break;
        case 165: xself->x_165(args);	break;
        case 166: xself->x_166(args);	break;
        case 167: xself->x_167(args);	break;
        case 168: xself->x_168(args);	break;
        case 169: xself->x_169(args);	break;
        case 170: xself->x_170(args);	break;
        case 171: xself->x_171(args);	break;
        case 172: xself->x_172(args);	break;
        case 173: xself->x_173(args);	break;
        case 174: xself->x_174(args);	break;
        case 175: x_QGLShaderProgram::x_175(args);	break;
        case 176: x_QGLShaderProgram::x_176(args);	break;
        case 177: delete (QGLShaderProgram*)xself;	break;
    }
}
class x_QGLWidget : public QGLWidget, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            const QMetaObject* xret = ((const x_QGLWidget*)this)->QGLWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QGLWidget*)this)->metaObject();
            x[0].s_class = (void*)xret;
        }
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            void* xret = this->QGLWidget::qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            void* xret = this->qt_metacast((const char*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    static void x_3(Smoke::Stack x) {
        // static QString tr(const char*, const char*)
        QString xret = QGLWidget::tr((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_4(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*)
        QString xret = QGLWidget::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QString tr(const char*, const char*, int)
        QString xret = QGLWidget::tr((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_6(Smoke::Stack x) {
        // static QString trUtf8(const char*, const char*, int)
        QString xret = QGLWidget::trUtf8((const char*)x[1].s_class,(const char*)x[2].s_class,(int)x[3].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_7(Smoke::Stack x) {
        // virtual int qt_metacall(QMetaObject::Call, int, void**)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            int xret = this->QGLWidget::qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        } else {
            int xret = this->qt_metacall((QMetaObject::Call)x[1].s_enum,(int)x[2].s_int,(void**)x[3].s_class);
            x[0].s_int = xret;
        }
    }
    static void x_8(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QWidget*, const QGLWidget*, QFlags<Qt::WindowType>)
        x_QGLWidget* xret = new x_QGLWidget((QWidget*)x[1].s_class,(const QGLWidget*)x[2].s_class,(QFlags<Qt::WindowType>)x[3].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLWidget(QWidget* x1, const QGLWidget* x2, QFlags<Qt::WindowType> x3) : QGLWidget(x1, x2, x3) {}
    static void x_9(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QGLContext*, QWidget*, const QGLWidget*, QFlags<Qt::WindowType>)
        x_QGLWidget* xret = new x_QGLWidget((QGLContext*)x[1].s_class,(QWidget*)x[2].s_class,(const QGLWidget*)x[3].s_class,(QFlags<Qt::WindowType>)x[4].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLWidget(QGLContext* x1, QWidget* x2, const QGLWidget* x3, QFlags<Qt::WindowType> x4) : QGLWidget(x1, x2, x3, x4) {}
    static void x_10(Smoke::Stack x) {
        // QGLWidget* QGLWidget(const QGLFormat&, QWidget*, const QGLWidget*, QFlags<Qt::WindowType>)
        x_QGLWidget* xret = new x_QGLWidget(*(const QGLFormat*)x[1].s_class,(QWidget*)x[2].s_class,(const QGLWidget*)x[3].s_class,(QFlags<Qt::WindowType>)x[4].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QGLWidget(const QGLFormat& x1, QWidget* x2, const QGLWidget* x3, QFlags<Qt::WindowType> x4) : QGLWidget(x1, x2, x3, x4) {}
    void x_11(Smoke::Stack x) {
        // void qglColor(const QColor&) const
        ((const x_QGLWidget*)this)->QGLWidget::qglColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void qglClearColor(const QColor&) const
        ((const x_QGLWidget*)this)->QGLWidget::qglClearColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QGLWidget*)this)->QGLWidget::isValid();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isSharing() const
        bool xret = ((const x_QGLWidget*)this)->QGLWidget::isSharing();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void makeCurrent()
        this->QGLWidget::makeCurrent();
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void doneCurrent()
        this->QGLWidget::doneCurrent();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // bool doubleBuffer() const
        bool xret = ((const x_QGLWidget*)this)->QGLWidget::doubleBuffer();
        x[0].s_bool = xret;
    }
    void x_18(Smoke::Stack x) {
        // void swapBuffers()
        this->QGLWidget::swapBuffers();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QGLFormat format() const
        QGLFormat xret = ((const x_QGLWidget*)this)->QGLWidget::format();
        x[0].s_class = (void*)new QGLFormat(xret);
    }
    void x_20(Smoke::Stack x) {
        // void setFormat(const QGLFormat&)
        this->QGLWidget::setFormat(*(const QGLFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // const QGLContext* context() const
        const QGLContext* xret = ((const x_QGLWidget*)this)->QGLWidget::context();
        x[0].s_class = (void*)xret;
    }
    void x_22(Smoke::Stack x) {
        // void setContext(QGLContext*, const QGLContext*, bool)
        this->QGLWidget::setContext((QGLContext*)x[1].s_class,(const QGLContext*)x[2].s_class,(bool)x[3].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QPixmap renderPixmap(int, int, bool)
        QPixmap xret = this->QGLWidget::renderPixmap((int)x[1].s_int,(int)x[2].s_int,(bool)x[3].s_bool);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_24(Smoke::Stack x) {
        // QImage grabFrameBuffer(bool)
        QImage xret = this->QGLWidget::grabFrameBuffer((bool)x[1].s_bool);
        x[0].s_class = (void*)new QImage(xret);
    }
    void x_25(Smoke::Stack x) {
        // void makeOverlayCurrent()
        this->QGLWidget::makeOverlayCurrent();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // const QGLContext* overlayContext() const
        const QGLContext* xret = ((const x_QGLWidget*)this)->QGLWidget::overlayContext();
        x[0].s_class = (void*)xret;
    }
    static void x_27(Smoke::Stack x) {
        // static QImage convertToGLFormat(const QImage&)
        QImage xret = QGLWidget::convertToGLFormat(*(const QImage*)x[1].s_class);
        x[0].s_class = (void*)new QImage(xret);
    }
    void x_28(Smoke::Stack x) {
        // void setMouseTracking(bool)
        this->QGLWidget::setMouseTracking((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // const QGLColormap& colormap() const
        const QGLColormap& xret = ((const x_QGLWidget*)this)->QGLWidget::colormap();
        x[0].s_class = (void*)&xret;
    }
    void x_30(Smoke::Stack x) {
        // void setColormap(const QGLColormap&)
        this->QGLWidget::setColormap(*(const QGLColormap*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_31(Smoke::Stack x) {
        // void renderText(int, int, const QString&, const QFont&, int)
        this->QGLWidget::renderText((int)x[1].s_int,(int)x[2].s_int,*(const QString*)x[3].s_class,*(const QFont*)x[4].s_class,(int)x[5].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // void renderText(double, double, double, const QString&, const QFont&, int)
        this->QGLWidget::renderText((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,*(const QString*)x[4].s_class,*(const QFont*)x[5].s_class,(int)x[6].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_33(Smoke::Stack x) {
        // QPaintEngine* paintEngine() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            QPaintEngine* xret = ((const x_QGLWidget*)this)->QGLWidget::paintEngine();
            x[0].s_class = (void*)xret;
        } else {
            QPaintEngine* xret = ((const x_QGLWidget*)this)->paintEngine();
            x[0].s_class = (void*)xret;
        }
    }
    void x_34(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum, GLint, QFlags<QGLContext::BindOption>)
        GLuint xret = this->QGLWidget::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class,(QFlags<QGLContext::BindOption>)x[4].s_uint);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_35(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum, GLint, QFlags<QGLContext::BindOption>)
        GLuint xret = this->QGLWidget::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class,(QFlags<QGLContext::BindOption>)x[4].s_uint);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_36(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum, GLint)
        GLuint xret = this->QGLWidget::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_37(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum, GLint)
        GLuint xret = this->QGLWidget::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class,*(GLint*)x[3].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_38(Smoke::Stack x) {
        // GLuint bindTexture(const QString&)
        GLuint xret = this->QGLWidget::bindTexture(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_39(Smoke::Stack x) {
        // void deleteTexture(GLuint)
        this->QGLWidget::deleteTexture(*(GLuint*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint, GLenum)
        this->QGLWidget::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_41(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint, GLenum)
        this->QGLWidget::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,*(GLenum*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // virtual void updateGL()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::updateGL();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateGL();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_43(Smoke::Stack x) {
        // virtual void updateOverlayGL()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::updateOverlayGL();
            (void)x; // noop (for compiler warning)
        } else {
            this->updateOverlayGL();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_44(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            bool xret = this->QGLWidget::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_45(Smoke::Stack x) {
        // virtual void initializeGL()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::initializeGL();
            (void)x; // noop (for compiler warning)
        } else {
            this->initializeGL();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_46(Smoke::Stack x) {
        // virtual void resizeGL(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::resizeGL((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeGL((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_47(Smoke::Stack x) {
        // virtual void paintGL()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::paintGL();
            (void)x; // noop (for compiler warning)
        } else {
            this->paintGL();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_48(Smoke::Stack x) {
        // virtual void initializeOverlayGL()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::initializeOverlayGL();
            (void)x; // noop (for compiler warning)
        } else {
            this->initializeOverlayGL();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_49(Smoke::Stack x) {
        // virtual void resizeOverlayGL(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::resizeOverlayGL((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeOverlayGL((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_50(Smoke::Stack x) {
        // virtual void paintOverlayGL()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::paintOverlayGL();
            (void)x; // noop (for compiler warning)
        } else {
            this->paintOverlayGL();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_51(Smoke::Stack x) {
        // void setAutoBufferSwap(bool)
        this->QGLWidget::setAutoBufferSwap((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_52(Smoke::Stack x) {
        // bool autoBufferSwap() const
        bool xret = ((const x_QGLWidget*)this)->QGLWidget::autoBufferSwap();
        x[0].s_bool = xret;
    }
    void x_53(Smoke::Stack x) {
        // void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->paintEvent((QPaintEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_54(Smoke::Stack x) {
        // void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->resizeEvent((QResizeEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_55(Smoke::Stack x) {
        // virtual void glInit()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::glInit();
            (void)x; // noop (for compiler warning)
        } else {
            this->glInit();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_56(Smoke::Stack x) {
        // virtual void glDraw()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QGLWidget*>(this))) {
            this->QGLWidget::glDraw();
            (void)x; // noop (for compiler warning)
        } else {
            this->glDraw();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_57(Smoke::Stack x) {
        // int fontDisplayListBase(const QFont&, int)
        int xret = this->QGLWidget::fontDisplayListBase(*(const QFont*)x[1].s_class,(int)x[2].s_int);
        x[0].s_int = xret;
    }
    static void x_58(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QGLWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_59(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QGLWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_60(Smoke::Stack x) {
        // QGLWidget* QGLWidget()
        x_QGLWidget* xret = new x_QGLWidget((QWidget*)0,(const QGLWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_61(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QWidget*)
        x_QGLWidget* xret = new x_QGLWidget((QWidget*)x[1].s_class,(const QGLWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_62(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QWidget*, const QGLWidget*)
        x_QGLWidget* xret = new x_QGLWidget((QWidget*)x[1].s_class,(const QGLWidget*)x[2].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_63(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QGLContext*)
        x_QGLWidget* xret = new x_QGLWidget((QGLContext*)x[1].s_class,(QWidget*)0,(const QGLWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_64(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QGLContext*, QWidget*)
        x_QGLWidget* xret = new x_QGLWidget((QGLContext*)x[1].s_class,(QWidget*)x[2].s_class,(const QGLWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_65(Smoke::Stack x) {
        // QGLWidget* QGLWidget(QGLContext*, QWidget*, const QGLWidget*)
        x_QGLWidget* xret = new x_QGLWidget((QGLContext*)x[1].s_class,(QWidget*)x[2].s_class,(const QGLWidget*)x[3].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_66(Smoke::Stack x) {
        // QGLWidget* QGLWidget(const QGLFormat&)
        x_QGLWidget* xret = new x_QGLWidget(*(const QGLFormat*)x[1].s_class,(QWidget*)0,(const QGLWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_67(Smoke::Stack x) {
        // QGLWidget* QGLWidget(const QGLFormat&, QWidget*)
        x_QGLWidget* xret = new x_QGLWidget(*(const QGLFormat*)x[1].s_class,(QWidget*)x[2].s_class,(const QGLWidget*)0,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    static void x_68(Smoke::Stack x) {
        // QGLWidget* QGLWidget(const QGLFormat&, QWidget*, const QGLWidget*)
        x_QGLWidget* xret = new x_QGLWidget(*(const QGLFormat*)x[1].s_class,(QWidget*)x[2].s_class,(const QGLWidget*)x[3].s_class,(QFlags<Qt::WindowType>)0);
        x[0].s_class = (void*)xret;
    }
    void x_69(Smoke::Stack x) {
        // void setContext(QGLContext*)
        this->QGLWidget::setContext((QGLContext*)x[1].s_class,(const QGLContext*)0,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // void setContext(QGLContext*, const QGLContext*)
        this->QGLWidget::setContext((QGLContext*)x[1].s_class,(const QGLContext*)x[2].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // QPixmap renderPixmap()
        QPixmap xret = this->QGLWidget::renderPixmap((int)0,(int)0,(bool)false);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_72(Smoke::Stack x) {
        // QPixmap renderPixmap(int)
        QPixmap xret = this->QGLWidget::renderPixmap((int)x[1].s_int,(int)0,(bool)false);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_73(Smoke::Stack x) {
        // QPixmap renderPixmap(int, int)
        QPixmap xret = this->QGLWidget::renderPixmap((int)x[1].s_int,(int)x[2].s_int,(bool)false);
        x[0].s_class = (void*)new QPixmap(xret);
    }
    void x_74(Smoke::Stack x) {
        // QImage grabFrameBuffer()
        QImage xret = this->QGLWidget::grabFrameBuffer((bool)false);
        x[0].s_class = (void*)new QImage(xret);
    }
    void x_75(Smoke::Stack x) {
        // void renderText(int, int, const QString&)
        this->QGLWidget::renderText((int)x[1].s_int,(int)x[2].s_int,*(const QString*)x[3].s_class,(const QFont&)QFont(),(int)2000);
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // void renderText(int, int, const QString&, const QFont&)
        this->QGLWidget::renderText((int)x[1].s_int,(int)x[2].s_int,*(const QString*)x[3].s_class,*(const QFont*)x[4].s_class,(int)2000);
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // void renderText(double, double, double, const QString&)
        this->QGLWidget::renderText((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,*(const QString*)x[4].s_class,(const QFont&)QFont(),(int)2000);
        (void)x; // noop (for compiler warning)
    }
    void x_78(Smoke::Stack x) {
        // void renderText(double, double, double, const QString&, const QFont&)
        this->QGLWidget::renderText((double)x[1].s_double,(double)x[2].s_double,(double)x[3].s_double,*(const QString*)x[4].s_class,*(const QFont*)x[5].s_class,(int)2000);
        (void)x; // noop (for compiler warning)
    }
    void x_79(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&)
        GLuint xret = this->QGLWidget::bindTexture(*(const QImage*)x[1].s_class,(GLenum)GL_TEXTURE_2D,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_80(Smoke::Stack x) {
        // GLuint bindTexture(const QImage&, GLenum)
        GLuint xret = this->QGLWidget::bindTexture(*(const QImage*)x[1].s_class,*(GLenum*)x[2].s_class,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_81(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&)
        GLuint xret = this->QGLWidget::bindTexture(*(const QPixmap*)x[1].s_class,(GLenum)GL_TEXTURE_2D,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_82(Smoke::Stack x) {
        // GLuint bindTexture(const QPixmap&, GLenum)
        GLuint xret = this->QGLWidget::bindTexture(*(const QPixmap*)x[1].s_class,*(GLenum*)x[2].s_class,(GLint)GL_RGBA);
        x[0].s_class = (void*)new GLuint(xret);
    }
    void x_83(Smoke::Stack x) {
        // void drawTexture(const QRectF&, GLuint)
        this->QGLWidget::drawTexture(*(const QRectF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)GL_TEXTURE_2D);
        (void)x; // noop (for compiler warning)
    }
    void x_84(Smoke::Stack x) {
        // void drawTexture(const QPointF&, GLuint)
        this->QGLWidget::drawTexture(*(const QPointF*)x[1].s_class,*(GLuint*)x[2].s_class,(GLenum)GL_TEXTURE_2D);
        (void)x; // noop (for compiler warning)
    }
    void x_85(Smoke::Stack x) {
        // int fontDisplayListBase(const QFont&)
        int xret = this->QGLWidget::fontDisplayListBase(*(const QFont*)x[1].s_class,(int)2000);
        x[0].s_int = xret;
    }
    static void x_86(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QGLWidget::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(513, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QGLWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(514, (void*)this, x)) return (void*)x[0].s_class;
        return this->QGLWidget::qt_metacast(x1);
    }
    virtual int qt_metacall(QMetaObject::Call x1, int x2, void** x3) {
        Smoke::StackItem x[4];
        x[1].s_enum = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)x3;
        if (this->_binding->callMethod(519, (void*)this, x)) return (int)x[0].s_int;
        return this->QGLWidget::qt_metacall(x1, x2, x3);
    }
    virtual void updateGL() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(554, (void*)this, x)) return;
        this->QGLWidget::updateGL();
    }
    virtual void updateOverlayGL() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(555, (void*)this, x)) return;
        this->QGLWidget::updateOverlayGL();
    }
    virtual void initializeGL() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(557, (void*)this, x)) return;
        this->QGLWidget::initializeGL();
    }
    virtual void resizeGL(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(558, (void*)this, x)) return;
        this->QGLWidget::resizeGL(x1, x2);
    }
    virtual void paintGL() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(559, (void*)this, x)) return;
        this->QGLWidget::paintGL();
    }
    virtual void initializeOverlayGL() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(560, (void*)this, x)) return;
        this->QGLWidget::initializeOverlayGL();
    }
    virtual void resizeOverlayGL(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(561, (void*)this, x)) return;
        this->QGLWidget::resizeOverlayGL(x1, x2);
    }
    virtual void paintOverlayGL() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(562, (void*)this, x)) return;
        this->QGLWidget::paintOverlayGL();
    }
    virtual void glInit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(567, (void*)this, x)) return;
        this->QGLWidget::glInit();
    }
    virtual void glDraw() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(568, (void*)this, x)) return;
        this->QGLWidget::glDraw();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(626, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(627, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(628, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(629, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(630, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(631, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(632, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(633, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(634, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(635, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(636, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(637, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(638, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(639, (void*)this, x)) return;
        this->QWidget::enterEvent(x1);
    }
    virtual void leaveEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(640, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(565, (void*)this, x)) return;
        this->QGLWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(641, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(566, (void*)this, x)) return;
        this->QGLWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(642, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(643, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(644, (void*)this, x)) return;
        this->QWidget::tabletEvent(x1);
    }
    virtual void actionEvent(QActionEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(645, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(646, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(647, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(648, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(649, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(650, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(651, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(652, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(653, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(655, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(656, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(657, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(658, (void*)this, x)) return;
        this->QWidget::styleChange(x1);
    }
    virtual void enabledChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(659, (void*)this, x)) return;
        this->QWidget::enabledChange(x1);
    }
    virtual void paletteChange(const QPalette& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(660, (void*)this, x)) return;
        this->QWidget::paletteChange(x1);
    }
    virtual void fontChange(const QFont& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(661, (void*)this, x)) return;
        this->QWidget::fontChange(x1);
    }
    virtual void windowActivationChange(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(662, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(663, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(556, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QGLWidget::event(x1);
    }
    virtual bool eventFilter(QObject* x1, QEvent* x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        if (this->_binding->callMethod(619, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(620, (void*)this, x)) return;
        this->QObject::timerEvent(x1);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(621, (void*)this, x)) return;
        this->QObject::childEvent(x1);
    }
    virtual void customEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(622, (void*)this, x)) return;
        this->QObject::customEvent(x1);
    }
    virtual void connectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(623, (void*)this, x)) return;
        this->QObject::connectNotify(x1);
    }
    virtual void disconnectNotify(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(624, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(625, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::devType();
    }
    virtual QPaintEngine* paintEngine() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(545, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QGLWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(654, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_QGLWidget() { this->_binding->deleted(26, (void*)this); }
};
void xcall_QGLWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGLWidget *xself = (x_QGLWidget*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_QGLWidget::x_3(args);	break;
        case 4: x_QGLWidget::x_4(args);	break;
        case 5: x_QGLWidget::x_5(args);	break;
        case 6: x_QGLWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QGLWidget::x_8(args);	break;
        case 9: x_QGLWidget::x_9(args);	break;
        case 10: x_QGLWidget::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: x_QGLWidget::x_27(args);	break;
        case 28: xself->x_28(args);	break;
        case 29: xself->x_29(args);	break;
        case 30: xself->x_30(args);	break;
        case 31: xself->x_31(args);	break;
        case 32: xself->x_32(args);	break;
        case 33: xself->x_33(args);	break;
        case 34: xself->x_34(args);	break;
        case 35: xself->x_35(args);	break;
        case 36: xself->x_36(args);	break;
        case 37: xself->x_37(args);	break;
        case 38: xself->x_38(args);	break;
        case 39: xself->x_39(args);	break;
        case 40: xself->x_40(args);	break;
        case 41: xself->x_41(args);	break;
        case 42: xself->x_42(args);	break;
        case 43: xself->x_43(args);	break;
        case 44: xself->x_44(args);	break;
        case 45: xself->x_45(args);	break;
        case 46: xself->x_46(args);	break;
        case 47: xself->x_47(args);	break;
        case 48: xself->x_48(args);	break;
        case 49: xself->x_49(args);	break;
        case 50: xself->x_50(args);	break;
        case 51: xself->x_51(args);	break;
        case 52: xself->x_52(args);	break;
        case 53: xself->x_53(args);	break;
        case 54: xself->x_54(args);	break;
        case 55: xself->x_55(args);	break;
        case 56: xself->x_56(args);	break;
        case 57: xself->x_57(args);	break;
        case 58: x_QGLWidget::x_58(args);	break;
        case 59: x_QGLWidget::x_59(args);	break;
        case 60: x_QGLWidget::x_60(args);	break;
        case 61: x_QGLWidget::x_61(args);	break;
        case 62: x_QGLWidget::x_62(args);	break;
        case 63: x_QGLWidget::x_63(args);	break;
        case 64: x_QGLWidget::x_64(args);	break;
        case 65: x_QGLWidget::x_65(args);	break;
        case 66: x_QGLWidget::x_66(args);	break;
        case 67: x_QGLWidget::x_67(args);	break;
        case 68: x_QGLWidget::x_68(args);	break;
        case 69: xself->x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: xself->x_72(args);	break;
        case 73: xself->x_73(args);	break;
        case 74: xself->x_74(args);	break;
        case 75: xself->x_75(args);	break;
        case 76: xself->x_76(args);	break;
        case 77: xself->x_77(args);	break;
        case 78: xself->x_78(args);	break;
        case 79: xself->x_79(args);	break;
        case 80: xself->x_80(args);	break;
        case 81: xself->x_81(args);	break;
        case 82: xself->x_82(args);	break;
        case 83: xself->x_83(args);	break;
        case 84: xself->x_84(args);	break;
        case 85: xself->x_85(args);	break;
        case 86: x_QGLWidget::x_86(args);	break;
        case 87: delete (QGLWidget*)xself;	break;
    }
}
class x_QGlobalSpace {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static bool operator==(const QGLFormat&, const QGLFormat&)
        bool xret = operator==(*(const QGLFormat*)x[1].s_class,*(const QGLFormat*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static QFlags<QGLFunctions::OpenGLFeature> operator|(QGLFunctions::OpenGLFeature, QGLFunctions::OpenGLFeature)
        QFlags<QGLFunctions::OpenGLFeature> xret = operator|((QGLFunctions::OpenGLFeature)x[1].s_enum,(QGLFunctions::OpenGLFeature)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_3(Smoke::Stack x) {
        // static QFlags<QGLShader::ShaderTypeBit> operator|(QGLShader::ShaderTypeBit, QGLShader::ShaderTypeBit)
        QFlags<QGLShader::ShaderTypeBit> xret = operator|((QGLShader::ShaderTypeBit)x[1].s_enum,(QGLShader::ShaderTypeBit)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const QGLFormat&)
        QDebug xret = operator<<(*(QDebug*)x[1].s_class,*(const QGLFormat*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static QFlags<QGLFormat::OpenGLVersionFlag> operator|(QGLFormat::OpenGLVersionFlag, QGLFormat::OpenGLVersionFlag)
        QFlags<QGLFormat::OpenGLVersionFlag> xret = operator|((QGLFormat::OpenGLVersionFlag)x[1].s_enum,(QGLFormat::OpenGLVersionFlag)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_6(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QGL::FormatOption, int)
        QIncompatibleFlag xret = operator|((QGL::FormatOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_7(Smoke::Stack x) {
        // static QFlags<QGL::FormatOption> operator|(QGL::FormatOption, QGL::FormatOption)
        QFlags<QGL::FormatOption> xret = operator|((QGL::FormatOption)x[1].s_enum,(QGL::FormatOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_8(Smoke::Stack x) {
        // static QFlags<QGLContext::BindOption> operator|(QGLContext::BindOption, QGLContext::BindOption)
        QFlags<QGLContext::BindOption> xret = operator|((QGLContext::BindOption)x[1].s_enum,(QGLContext::BindOption)x[2].s_enum);
        x[0].s_uint = (uint)xret;
    }
    static void x_9(Smoke::Stack x) {
        // static bool operator!=(const QGLFormat&, const QGLFormat&)
        bool xret = operator!=(*(const QGLFormat*)x[1].s_class,*(const QGLFormat*)x[2].s_class);
        x[0].s_bool = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QGLShader::ShaderTypeBit, int)
        QIncompatibleFlag xret = operator|((QGLShader::ShaderTypeBit)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static QFlags<QGLFunctions::OpenGLFeature> operator|(QGLFunctions::OpenGLFeature, QFlags<QGLFunctions::OpenGLFeature>)
        QFlags<QGLFunctions::OpenGLFeature> xret = operator|((QGLFunctions::OpenGLFeature)x[1].s_enum,(QFlags<QGLFunctions::OpenGLFeature>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_12(Smoke::Stack x) {
        // static QFlags<QGLFormat::OpenGLVersionFlag> operator|(QGLFormat::OpenGLVersionFlag, QFlags<QGLFormat::OpenGLVersionFlag>)
        QFlags<QGLFormat::OpenGLVersionFlag> xret = operator|((QGLFormat::OpenGLVersionFlag)x[1].s_enum,(QFlags<QGLFormat::OpenGLVersionFlag>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QFlags<QGL::FormatOption> operator|(QGL::FormatOption, QFlags<QGL::FormatOption>)
        QFlags<QGL::FormatOption> xret = operator|((QGL::FormatOption)x[1].s_enum,(QFlags<QGL::FormatOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_14(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QGLFormat::OpenGLVersionFlag, int)
        QIncompatibleFlag xret = operator|((QGLFormat::OpenGLVersionFlag)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QGLFunctions::OpenGLFeature, int)
        QIncompatibleFlag xret = operator|((QGLFunctions::OpenGLFeature)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QFlags<QGLContext::BindOption> operator|(QGLContext::BindOption, QFlags<QGLContext::BindOption>)
        QFlags<QGLContext::BindOption> xret = operator|((QGLContext::BindOption)x[1].s_enum,(QFlags<QGLContext::BindOption>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    static void x_17(Smoke::Stack x) {
        // static QIncompatibleFlag operator|(QGLContext::BindOption, int)
        QIncompatibleFlag xret = operator|((QGLContext::BindOption)x[1].s_enum,(int)x[2].s_int);
        x[0].s_class = (void*)new QIncompatibleFlag(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QFlags<QGLShader::ShaderTypeBit> operator|(QGLShader::ShaderTypeBit, QFlags<QGLShader::ShaderTypeBit>)
        QFlags<QGLShader::ShaderTypeBit> xret = operator|((QGLShader::ShaderTypeBit)x[1].s_enum,(QFlags<QGLShader::ShaderTypeBit>)x[2].s_uint);
        x[0].s_uint = (uint)xret;
    }
    ~x_QGlobalSpace() { this->_binding->deleted(27, (void*)this); }
};
void xcall_QGlobalSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGlobalSpace *xself = (x_QGlobalSpace*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGlobalSpace::x_1(args);	break;
        case 2: x_QGlobalSpace::x_2(args);	break;
        case 3: x_QGlobalSpace::x_3(args);	break;
        case 4: x_QGlobalSpace::x_4(args);	break;
        case 5: x_QGlobalSpace::x_5(args);	break;
        case 6: x_QGlobalSpace::x_6(args);	break;
        case 7: x_QGlobalSpace::x_7(args);	break;
        case 8: x_QGlobalSpace::x_8(args);	break;
        case 9: x_QGlobalSpace::x_9(args);	break;
        case 10: x_QGlobalSpace::x_10(args);	break;
        case 11: x_QGlobalSpace::x_11(args);	break;
        case 12: x_QGlobalSpace::x_12(args);	break;
        case 13: x_QGlobalSpace::x_13(args);	break;
        case 14: x_QGlobalSpace::x_14(args);	break;
        case 15: x_QGlobalSpace::x_15(args);	break;
        case 16: x_QGlobalSpace::x_16(args);	break;
        case 17: x_QGlobalSpace::x_17(args);	break;
        case 18: x_QGlobalSpace::x_18(args);	break;
    }
}
class x_QGL {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // static void setPreferredPaintEngine(QPaintEngine::Type)
        QGL::setPreferredPaintEngine((QPaintEngine::Type)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    static void x_2(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::DoubleBuffer;
    }
    static void x_3(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::DepthBuffer;
    }
    static void x_4(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::Rgba;
    }
    static void x_5(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::AlphaChannel;
    }
    static void x_6(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::AccumBuffer;
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::StencilBuffer;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::StereoBuffers;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::DirectRendering;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::HasOverlay;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::SampleBuffers;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::DeprecatedFunctions;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::SingleBuffer;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoDepthBuffer;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::ColorIndex;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoAlphaChannel;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoAccumBuffer;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoStencilBuffer;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoStereoBuffers;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::IndirectRendering;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoOverlay;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoSampleBuffers;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QGL::NoDeprecatedFunctions;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 34: //QGL::FormatOption
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QGL::FormatOption;
                    break;
                case Smoke::EnumDelete:
                    delete (QGL::FormatOption*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QGL::FormatOption*)xdata = (QGL::FormatOption)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QGL::FormatOption*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QGL() { this->_binding->deleted(16, (void*)this); }
};
void xenum_QGL(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QGL::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QGL(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGL *xself = (x_QGL*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QGL::x_1(args);	break;
        case 2: x_QGL::x_2(args);	break;
        case 3: x_QGL::x_3(args);	break;
        case 4: x_QGL::x_4(args);	break;
        case 5: x_QGL::x_5(args);	break;
        case 6: x_QGL::x_6(args);	break;
        case 7: x_QGL::x_7(args);	break;
        case 8: x_QGL::x_8(args);	break;
        case 9: x_QGL::x_9(args);	break;
        case 10: x_QGL::x_10(args);	break;
        case 11: x_QGL::x_11(args);	break;
        case 12: x_QGL::x_12(args);	break;
        case 13: x_QGL::x_13(args);	break;
        case 14: x_QGL::x_14(args);	break;
        case 15: x_QGL::x_15(args);	break;
        case 16: x_QGL::x_16(args);	break;
        case 17: x_QGL::x_17(args);	break;
        case 18: x_QGL::x_18(args);	break;
        case 19: x_QGL::x_19(args);	break;
        case 20: x_QGL::x_20(args);	break;
        case 21: x_QGL::x_21(args);	break;
        case 22: x_QGL::x_22(args);	break;
        case 23: x_QGL::x_23(args);	break;
    }
}

}
