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

#include <smoke.h>
#include <qtgui_smoke.h>

class __internal_SmokeClass {};

namespace __smokeqtgui {

class x_QTextEdit : public QTextEdit, 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<QTextEdit*>(this))) {
            const QMetaObject* xret = ((const x_QTextEdit*)this)->QTextEdit::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTextEdit*)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<QTextEdit*>(this))) {
            void* xret = this->QTextEdit::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 = QTextEdit::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 = QTextEdit::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 = QTextEdit::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 = QTextEdit::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<QTextEdit*>(this))) {
            int xret = this->QTextEdit::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) {
        // QTextEdit* QTextEdit(QWidget*)
        x_QTextEdit* xret = new x_QTextEdit((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextEdit(QWidget* x1) : QTextEdit(x1) {}
    static void x_9(Smoke::Stack x) {
        // QTextEdit* QTextEdit(const QString&, QWidget*)
        x_QTextEdit* xret = new x_QTextEdit(*(const QString*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextEdit(const QString& x1, QWidget* x2) : QTextEdit(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // void setDocument(QTextDocument*)
        this->QTextEdit::setDocument((QTextDocument*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QTextDocument* document() const
        QTextDocument* xret = ((const x_QTextEdit*)this)->QTextEdit::document();
        x[0].s_class = (void*)xret;
    }
    void x_12(Smoke::Stack x) {
        // void setTextCursor(const QTextCursor&)
        this->QTextEdit::setTextCursor(*(const QTextCursor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // QTextCursor textCursor() const
        QTextCursor xret = ((const x_QTextEdit*)this)->QTextEdit::textCursor();
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_14(Smoke::Stack x) {
        // bool isReadOnly() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::isReadOnly();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setReadOnly(bool)
        this->QTextEdit::setReadOnly((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setTextInteractionFlags(QFlags<Qt::TextInteractionFlag>)
        this->QTextEdit::setTextInteractionFlags((QFlags<Qt::TextInteractionFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QFlags<Qt::TextInteractionFlag> textInteractionFlags() const
        QFlags<Qt::TextInteractionFlag> xret = ((const x_QTextEdit*)this)->QTextEdit::textInteractionFlags();
        x[0].s_uint = (uint)xret;
    }
    void x_18(Smoke::Stack x) {
        // double fontPointSize() const
        double xret = ((const x_QTextEdit*)this)->QTextEdit::fontPointSize();
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // QString fontFamily() const
        QString xret = ((const x_QTextEdit*)this)->QTextEdit::fontFamily();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_20(Smoke::Stack x) {
        // int fontWeight() const
        int xret = ((const x_QTextEdit*)this)->QTextEdit::fontWeight();
        x[0].s_int = xret;
    }
    void x_21(Smoke::Stack x) {
        // bool fontUnderline() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::fontUnderline();
        x[0].s_bool = xret;
    }
    void x_22(Smoke::Stack x) {
        // bool fontItalic() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::fontItalic();
        x[0].s_bool = xret;
    }
    void x_23(Smoke::Stack x) {
        // QColor textColor() const
        QColor xret = ((const x_QTextEdit*)this)->QTextEdit::textColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_24(Smoke::Stack x) {
        // QColor textBackgroundColor() const
        QColor xret = ((const x_QTextEdit*)this)->QTextEdit::textBackgroundColor();
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_25(Smoke::Stack x) {
        // QFont currentFont() const
        QFont xret = ((const x_QTextEdit*)this)->QTextEdit::currentFont();
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_26(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QTextEdit*)this)->QTextEdit::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_27(Smoke::Stack x) {
        // void mergeCurrentCharFormat(const QTextCharFormat&)
        this->QTextEdit::mergeCurrentCharFormat(*(const QTextCharFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setCurrentCharFormat(const QTextCharFormat&)
        this->QTextEdit::setCurrentCharFormat(*(const QTextCharFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // QTextCharFormat currentCharFormat() const
        QTextCharFormat xret = ((const x_QTextEdit*)this)->QTextEdit::currentCharFormat();
        x[0].s_class = (void*)new QTextCharFormat(xret);
    }
    void x_30(Smoke::Stack x) {
        // QFlags<QTextEdit::AutoFormattingFlag> autoFormatting() const
        QFlags<QTextEdit::AutoFormattingFlag> xret = ((const x_QTextEdit*)this)->QTextEdit::autoFormatting();
        x[0].s_uint = (uint)xret;
    }
    void x_31(Smoke::Stack x) {
        // void setAutoFormatting(QFlags<QTextEdit::AutoFormattingFlag>)
        this->QTextEdit::setAutoFormatting((QFlags<QTextEdit::AutoFormattingFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_32(Smoke::Stack x) {
        // bool tabChangesFocus() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::tabChangesFocus();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // void setTabChangesFocus(bool)
        this->QTextEdit::setTabChangesFocus((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void setDocumentTitle(const QString&)
        this->QTextEdit::setDocumentTitle(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // QString documentTitle() const
        QString xret = ((const x_QTextEdit*)this)->QTextEdit::documentTitle();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_36(Smoke::Stack x) {
        // bool isUndoRedoEnabled() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::isUndoRedoEnabled();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void setUndoRedoEnabled(bool)
        this->QTextEdit::setUndoRedoEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // QTextEdit::LineWrapMode lineWrapMode() const
        QTextEdit::LineWrapMode xret = ((const x_QTextEdit*)this)->QTextEdit::lineWrapMode();
        x[0].s_enum = xret;
    }
    void x_39(Smoke::Stack x) {
        // void setLineWrapMode(QTextEdit::LineWrapMode)
        this->QTextEdit::setLineWrapMode((QTextEdit::LineWrapMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_40(Smoke::Stack x) {
        // int lineWrapColumnOrWidth() const
        int xret = ((const x_QTextEdit*)this)->QTextEdit::lineWrapColumnOrWidth();
        x[0].s_int = xret;
    }
    void x_41(Smoke::Stack x) {
        // void setLineWrapColumnOrWidth(int)
        this->QTextEdit::setLineWrapColumnOrWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_42(Smoke::Stack x) {
        // QTextOption::WrapMode wordWrapMode() const
        QTextOption::WrapMode xret = ((const x_QTextEdit*)this)->QTextEdit::wordWrapMode();
        x[0].s_enum = xret;
    }
    void x_43(Smoke::Stack x) {
        // void setWordWrapMode(QTextOption::WrapMode)
        this->QTextEdit::setWordWrapMode((QTextOption::WrapMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_44(Smoke::Stack x) {
        // bool find(const QString&, QFlags<QTextDocument::FindFlag>)
        bool xret = this->QTextEdit::find(*(const QString*)x[1].s_class,(QFlags<QTextDocument::FindFlag>)x[2].s_uint);
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // QString toPlainText() const
        QString xret = ((const x_QTextEdit*)this)->QTextEdit::toPlainText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_46(Smoke::Stack x) {
        // QString toHtml() const
        QString xret = ((const x_QTextEdit*)this)->QTextEdit::toHtml();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_47(Smoke::Stack x) {
        // void ensureCursorVisible()
        this->QTextEdit::ensureCursorVisible();
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // virtual QVariant loadResource(int, const QUrl&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            QVariant xret = this->QTextEdit::loadResource((int)x[1].s_int,*(const QUrl*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = this->loadResource((int)x[1].s_int,*(const QUrl*)x[2].s_class);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_49(Smoke::Stack x) {
        // QMenu* createStandardContextMenu()
        QMenu* xret = this->QTextEdit::createStandardContextMenu();
        x[0].s_class = (void*)xret;
    }
    void x_50(Smoke::Stack x) {
        // QMenu* createStandardContextMenu(const QPoint&)
        QMenu* xret = this->QTextEdit::createStandardContextMenu(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_51(Smoke::Stack x) {
        // QTextCursor cursorForPosition(const QPoint&) const
        QTextCursor xret = ((const x_QTextEdit*)this)->QTextEdit::cursorForPosition(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_52(Smoke::Stack x) {
        // QRect cursorRect(const QTextCursor&) const
        QRect xret = ((const x_QTextEdit*)this)->QTextEdit::cursorRect(*(const QTextCursor*)x[1].s_class);
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_53(Smoke::Stack x) {
        // QRect cursorRect() const
        QRect xret = ((const x_QTextEdit*)this)->QTextEdit::cursorRect();
        x[0].s_class = (void*)new QRect(xret);
    }
    void x_54(Smoke::Stack x) {
        // QString anchorAt(const QPoint&) const
        QString xret = ((const x_QTextEdit*)this)->QTextEdit::anchorAt(*(const QPoint*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_55(Smoke::Stack x) {
        // bool overwriteMode() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::overwriteMode();
        x[0].s_bool = xret;
    }
    void x_56(Smoke::Stack x) {
        // void setOverwriteMode(bool)
        this->QTextEdit::setOverwriteMode((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // int tabStopWidth() const
        int xret = ((const x_QTextEdit*)this)->QTextEdit::tabStopWidth();
        x[0].s_int = xret;
    }
    void x_58(Smoke::Stack x) {
        // void setTabStopWidth(int)
        this->QTextEdit::setTabStopWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // int cursorWidth() const
        int xret = ((const x_QTextEdit*)this)->QTextEdit::cursorWidth();
        x[0].s_int = xret;
    }
    void x_60(Smoke::Stack x) {
        // void setCursorWidth(int)
        this->QTextEdit::setCursorWidth((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // bool acceptRichText() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::acceptRichText();
        x[0].s_bool = xret;
    }
    void x_62(Smoke::Stack x) {
        // void setAcceptRichText(bool)
        this->QTextEdit::setAcceptRichText((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_63(Smoke::Stack x) {
        // void setExtraSelections(const QList<QTextEdit::ExtraSelection>&)
        this->QTextEdit::setExtraSelections(*(const QList<QTextEdit::ExtraSelection>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_64(Smoke::Stack x) {
        // QList<QTextEdit::ExtraSelection> extraSelections() const
        QList<QTextEdit::ExtraSelection> xret = ((const x_QTextEdit*)this)->QTextEdit::extraSelections();
        x[0].s_class = (void*)new QList<QTextEdit::ExtraSelection>(xret);
    }
    void x_65(Smoke::Stack x) {
        // void moveCursor(QTextCursor::MoveOperation, QTextCursor::MoveMode)
        this->QTextEdit::moveCursor((QTextCursor::MoveOperation)x[1].s_enum,(QTextCursor::MoveMode)x[2].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_66(Smoke::Stack x) {
        // bool canPaste() const
        bool xret = ((const x_QTextEdit*)this)->QTextEdit::canPaste();
        x[0].s_bool = xret;
    }
    void x_67(Smoke::Stack x) {
        // void print(QPrinter*) const
        ((const x_QTextEdit*)this)->QTextEdit::print((QPrinter*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_68(Smoke::Stack x) {
        // void setFontPointSize(qreal)
        this->QTextEdit::setFontPointSize((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_69(Smoke::Stack x) {
        // void setFontFamily(const QString&)
        this->QTextEdit::setFontFamily(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_70(Smoke::Stack x) {
        // void setFontWeight(int)
        this->QTextEdit::setFontWeight((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // void setFontUnderline(bool)
        this->QTextEdit::setFontUnderline((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_72(Smoke::Stack x) {
        // void setFontItalic(bool)
        this->QTextEdit::setFontItalic((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_73(Smoke::Stack x) {
        // void setTextColor(const QColor&)
        this->QTextEdit::setTextColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_74(Smoke::Stack x) {
        // void setTextBackgroundColor(const QColor&)
        this->QTextEdit::setTextBackgroundColor(*(const QColor*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_75(Smoke::Stack x) {
        // void setCurrentFont(const QFont&)
        this->QTextEdit::setCurrentFont(*(const QFont*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_76(Smoke::Stack x) {
        // void setAlignment(Qt::Alignment)
        this->QTextEdit::setAlignment((Qt::Alignment)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_77(Smoke::Stack x) {
        // void setPlainText(const QString&)
        this->QTextEdit::setPlainText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_78(Smoke::Stack x) {
        // void setHtml(const QString&)
        this->QTextEdit::setHtml(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_79(Smoke::Stack x) {
        // void setText(const QString&)
        this->QTextEdit::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_80(Smoke::Stack x) {
        // void cut()
        this->QTextEdit::cut();
        (void)x; // noop (for compiler warning)
    }
    void x_81(Smoke::Stack x) {
        // void copy()
        this->QTextEdit::copy();
        (void)x; // noop (for compiler warning)
    }
    void x_82(Smoke::Stack x) {
        // void paste()
        this->QTextEdit::paste();
        (void)x; // noop (for compiler warning)
    }
    void x_83(Smoke::Stack x) {
        // void undo()
        this->QTextEdit::undo();
        (void)x; // noop (for compiler warning)
    }
    void x_84(Smoke::Stack x) {
        // void redo()
        this->QTextEdit::redo();
        (void)x; // noop (for compiler warning)
    }
    void x_85(Smoke::Stack x) {
        // void clear()
        this->QTextEdit::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_86(Smoke::Stack x) {
        // void selectAll()
        this->QTextEdit::selectAll();
        (void)x; // noop (for compiler warning)
    }
    void x_87(Smoke::Stack x) {
        // void insertPlainText(const QString&)
        this->QTextEdit::insertPlainText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_88(Smoke::Stack x) {
        // void insertHtml(const QString&)
        this->QTextEdit::insertHtml(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_89(Smoke::Stack x) {
        // void append(const QString&)
        this->QTextEdit::append(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_90(Smoke::Stack x) {
        // void scrollToAnchor(const QString&)
        this->QTextEdit::scrollToAnchor(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_91(Smoke::Stack x) {
        // void zoomIn(int)
        this->QTextEdit::zoomIn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_92(Smoke::Stack x) {
        // void zoomOut(int)
        this->QTextEdit::zoomOut((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_93(Smoke::Stack x) {
        // void textChanged()
        this->QTextEdit::textChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_94(Smoke::Stack x) {
        // void undoAvailable(bool)
        this->QTextEdit::undoAvailable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_95(Smoke::Stack x) {
        // void redoAvailable(bool)
        this->QTextEdit::redoAvailable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_96(Smoke::Stack x) {
        // void currentCharFormatChanged(const QTextCharFormat&)
        this->QTextEdit::currentCharFormatChanged(*(const QTextCharFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_97(Smoke::Stack x) {
        // void copyAvailable(bool)
        this->QTextEdit::copyAvailable((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_98(Smoke::Stack x) {
        // void selectionChanged()
        this->QTextEdit::selectionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_99(Smoke::Stack x) {
        // void cursorPositionChanged()
        this->QTextEdit::cursorPositionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_100(Smoke::Stack x) {
        // virtual bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            bool xret = this->QTextEdit::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_101(Smoke::Stack x) {
        // virtual void timerEvent(QTimerEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->timerEvent((QTimerEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_102(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyPressEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_103(Smoke::Stack x) {
        // virtual void keyReleaseEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->keyReleaseEvent((QKeyEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_104(Smoke::Stack x) {
        // virtual void resizeEvent(QResizeEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::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_105(Smoke::Stack x) {
        // virtual void paintEvent(QPaintEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::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_106(Smoke::Stack x) {
        // virtual void mousePressEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mousePressEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_107(Smoke::Stack x) {
        // virtual void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_108(Smoke::Stack x) {
        // virtual void mouseReleaseEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseReleaseEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_109(Smoke::Stack x) {
        // virtual void mouseDoubleClickEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseDoubleClickEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_110(Smoke::Stack x) {
        // virtual bool focusNextPrevChild(bool)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            bool xret = this->QTextEdit::focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        } else {
            bool xret = this->focusNextPrevChild((bool)x[1].s_bool);
            x[0].s_bool = xret;
        }
    }
    void x_111(Smoke::Stack x) {
        // virtual void contextMenuEvent(QContextMenuEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->contextMenuEvent((QContextMenuEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_112(Smoke::Stack x) {
        // virtual void dragEnterEvent(QDragEnterEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragEnterEvent((QDragEnterEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_113(Smoke::Stack x) {
        // virtual void dragLeaveEvent(QDragLeaveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragLeaveEvent((QDragLeaveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_114(Smoke::Stack x) {
        // virtual void dragMoveEvent(QDragMoveEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dragMoveEvent((QDragMoveEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_115(Smoke::Stack x) {
        // virtual void dropEvent(QDropEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->dropEvent((QDropEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_116(Smoke::Stack x) {
        // virtual void focusInEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusInEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_117(Smoke::Stack x) {
        // virtual void focusOutEvent(QFocusEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->focusOutEvent((QFocusEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_118(Smoke::Stack x) {
        // virtual void showEvent(QShowEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->showEvent((QShowEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_119(Smoke::Stack x) {
        // virtual void changeEvent(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->changeEvent((QEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_120(Smoke::Stack x) {
        // virtual void wheelEvent(QWheelEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->wheelEvent((QWheelEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_121(Smoke::Stack x) {
        // virtual QMimeData* createMimeDataFromSelection() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            QMimeData* xret = ((const x_QTextEdit*)this)->QTextEdit::createMimeDataFromSelection();
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_QTextEdit*)this)->createMimeDataFromSelection();
            x[0].s_class = (void*)xret;
        }
    }
    void x_122(Smoke::Stack x) {
        // virtual bool canInsertFromMimeData(const QMimeData*) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            bool xret = ((const x_QTextEdit*)this)->QTextEdit::canInsertFromMimeData((const QMimeData*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_QTextEdit*)this)->canInsertFromMimeData((const QMimeData*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_123(Smoke::Stack x) {
        // virtual void insertFromMimeData(const QMimeData*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::insertFromMimeData((const QMimeData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->insertFromMimeData((const QMimeData*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_124(Smoke::Stack x) {
        // virtual void inputMethodEvent(QInputMethodEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->inputMethodEvent((QInputMethodEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_125(Smoke::Stack x) {
        // QVariant inputMethodQuery(Qt::InputMethodQuery) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            QVariant xret = ((const x_QTextEdit*)this)->QTextEdit::inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_QTextEdit*)this)->inputMethodQuery((Qt::InputMethodQuery)x[1].s_enum);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_126(Smoke::Stack x) {
        // virtual void scrollContentsBy(int, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<QTextEdit*>(this))) {
            this->QTextEdit::scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        } else {
            this->scrollContentsBy((int)x[1].s_int,(int)x[2].s_int);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_127(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTextEdit::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_128(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTextEdit::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_129(Smoke::Stack x) {
        // QTextEdit* QTextEdit()
        x_QTextEdit* xret = new x_QTextEdit((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_130(Smoke::Stack x) {
        // QTextEdit* QTextEdit(const QString&)
        x_QTextEdit* xret = new x_QTextEdit(*(const QString*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_131(Smoke::Stack x) {
        // bool find(const QString&)
        bool xret = this->QTextEdit::find(*(const QString*)x[1].s_class,(QFlags<QTextDocument::FindFlag>)0);
        x[0].s_bool = xret;
    }
    void x_132(Smoke::Stack x) {
        // void moveCursor(QTextCursor::MoveOperation)
        this->QTextEdit::moveCursor((QTextCursor::MoveOperation)x[1].s_enum,(QTextCursor::MoveMode)QTextCursor::MoveAnchor);
        (void)x; // noop (for compiler warning)
    }
    void x_133(Smoke::Stack x) {
        // void zoomIn()
        this->QTextEdit::zoomIn((int)1);
        (void)x; // noop (for compiler warning)
    }
    void x_134(Smoke::Stack x) {
        // void zoomOut()
        this->QTextEdit::zoomOut((int)1);
        (void)x; // noop (for compiler warning)
    }
    static void x_135(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTextEdit::staticMetaObject;
    }
    static void x_136(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::NoWrap;
    }
    static void x_137(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::WidgetWidth;
    }
    static void x_138(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::FixedPixelWidth;
    }
    static void x_139(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::FixedColumnWidth;
    }
    static void x_140(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::AutoNone;
    }
    static void x_141(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::AutoBulletList;
    }
    static void x_142(Smoke::Stack x) {
        x[0].s_enum = (long)QTextEdit::AutoAll;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(13662, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTextEdit::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13663, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTextEdit::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(13668, (void*)this, x)) return (int)x[0].s_int;
        return this->QTextEdit::qt_metacall(x1, x2, x3);
    }
    virtual QVariant loadResource(int x1, const QUrl& x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(13709, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTextEdit::loadResource(x1, x2);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13761, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextEdit::event(x1);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13762, (void*)this, x)) return;
        this->QTextEdit::timerEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13763, (void*)this, x)) return;
        this->QTextEdit::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13764, (void*)this, x)) return;
        this->QTextEdit::keyReleaseEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13765, (void*)this, x)) return;
        this->QTextEdit::resizeEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13766, (void*)this, x)) return;
        this->QTextEdit::paintEvent(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13767, (void*)this, x)) return;
        this->QTextEdit::mousePressEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13768, (void*)this, x)) return;
        this->QTextEdit::mouseMoveEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13769, (void*)this, x)) return;
        this->QTextEdit::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13770, (void*)this, x)) return;
        this->QTextEdit::mouseDoubleClickEvent(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(13771, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextEdit::focusNextPrevChild(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13772, (void*)this, x)) return;
        this->QTextEdit::contextMenuEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13773, (void*)this, x)) return;
        this->QTextEdit::dragEnterEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13774, (void*)this, x)) return;
        this->QTextEdit::dragLeaveEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13775, (void*)this, x)) return;
        this->QTextEdit::dragMoveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13776, (void*)this, x)) return;
        this->QTextEdit::dropEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13777, (void*)this, x)) return;
        this->QTextEdit::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13778, (void*)this, x)) return;
        this->QTextEdit::focusOutEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13779, (void*)this, x)) return;
        this->QTextEdit::showEvent(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13780, (void*)this, x)) return;
        this->QTextEdit::changeEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13781, (void*)this, x)) return;
        this->QTextEdit::wheelEvent(x1);
    }
    virtual QMimeData* createMimeDataFromSelection() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(13782, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->QTextEdit::createMimeDataFromSelection();
    }
    virtual bool canInsertFromMimeData(const QMimeData* x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13783, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QTextEdit::canInsertFromMimeData(x1);
    }
    virtual void insertFromMimeData(const QMimeData* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13784, (void*)this, x)) return;
        this->QTextEdit::insertFromMimeData(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13785, (void*)this, x)) return;
        this->QTextEdit::inputMethodEvent(x1);
    }
    virtual void scrollContentsBy(int x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(13787, (void*)this, x)) return;
        this->QTextEdit::scrollContentsBy(x1, x2);
    }
    virtual bool viewportEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(445, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractScrollArea::viewportEvent(x1);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(15532, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(440, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(439, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractScrollArea::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(15568, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15626, (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(15627, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15629, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15631, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15633, (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(15634, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(15640, (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(15641, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(13786, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QTextEdit::inputMethodQuery(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(15655, (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(15656, (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(15657, (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(15658, (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(15659, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15660, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    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(8375, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QObject::eventFilter(x1, x2);
    }
    virtual void childEvent(QChildEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(15374, (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(15606, (void*)this, x)) return (QPaintEngine*)x[0].s_class;
        return this->QWidget::paintEngine();
    }
    virtual int metric(QPaintDevice::PaintDeviceMetric x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(15643, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 949: //QTextEdit::LineWrapMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextEdit::LineWrapMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextEdit::LineWrapMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextEdit::LineWrapMode*)xdata = (QTextEdit::LineWrapMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextEdit::LineWrapMode*)xdata;
                    break;
            }
            break;
        case 946: //QTextEdit::AutoFormattingFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextEdit::AutoFormattingFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextEdit::AutoFormattingFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextEdit::AutoFormattingFlag*)xdata = (QTextEdit::AutoFormattingFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextEdit::AutoFormattingFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextEdit() { this->_binding->deleted(392, (void*)this); }
};
void xenum_QTextEdit(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextEdit::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextEdit(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextEdit *xself = (x_QTextEdit*)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_QTextEdit::x_3(args);	break;
        case 4: x_QTextEdit::x_4(args);	break;
        case 5: x_QTextEdit::x_5(args);	break;
        case 6: x_QTextEdit::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTextEdit::x_8(args);	break;
        case 9: x_QTextEdit::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: x_QTextEdit::x_127(args);	break;
        case 128: x_QTextEdit::x_128(args);	break;
        case 129: x_QTextEdit::x_129(args);	break;
        case 130: x_QTextEdit::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: x_QTextEdit::x_135(args);	break;
        case 136: x_QTextEdit::x_136(args);	break;
        case 137: x_QTextEdit::x_137(args);	break;
        case 138: x_QTextEdit::x_138(args);	break;
        case 139: x_QTextEdit::x_139(args);	break;
        case 140: x_QTextEdit::x_140(args);	break;
        case 141: x_QTextEdit::x_141(args);	break;
        case 142: x_QTextEdit::x_142(args);	break;
        case 143: delete (QTextEdit*)xself;	break;
    }
}
class x_QTextEdit__ExtraSelection : public QTextEdit::ExtraSelection {
    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) {
        // QTextEdit::ExtraSelection* ExtraSelection()
        x_QTextEdit__ExtraSelection* xret = new x_QTextEdit__ExtraSelection();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextEdit__ExtraSelection() : ExtraSelection() {}
    static void x_2(Smoke::Stack x) {
        // QTextEdit::ExtraSelection* ExtraSelection(const QTextEdit::ExtraSelection&)
        x_QTextEdit__ExtraSelection* xret = new x_QTextEdit__ExtraSelection(*(const QTextEdit::ExtraSelection*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextEdit__ExtraSelection(const QTextEdit::ExtraSelection& x1) : ExtraSelection(x1) {}
    void x_3(Smoke::Stack x) {
        // QTextCursor cursor
        x[0].s_class = (void*)&this->QTextEdit::ExtraSelection::cursor;
    }
    void x_4(Smoke::Stack x) {
        // QTextCursor cursor=
        this->QTextEdit::ExtraSelection::cursor = *(const QTextCursor*)x[1].s_class;
    }
    void x_5(Smoke::Stack x) {
        // QTextCharFormat format
        x[0].s_class = (void*)&this->QTextEdit::ExtraSelection::format;
    }
    void x_6(Smoke::Stack x) {
        // QTextCharFormat format=
        this->QTextEdit::ExtraSelection::format = *(const QTextCharFormat*)x[1].s_class;
    }
    ~x_QTextEdit__ExtraSelection() { this->_binding->deleted(393, (void*)this); }
};
void xcall_QTextEdit__ExtraSelection(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextEdit__ExtraSelection *xself = (x_QTextEdit__ExtraSelection*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextEdit__ExtraSelection::x_1(args);	break;
        case 2: x_QTextEdit__ExtraSelection::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: delete (QTextEdit::ExtraSelection*)xself;	break;
    }
}
class x_QTextFormat : public QTextFormat {
    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) {
        // QTextFormat* QTextFormat()
        x_QTextFormat* xret = new x_QTextFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFormat() : QTextFormat() {}
    static void x_2(Smoke::Stack x) {
        // QTextFormat* QTextFormat(int)
        x_QTextFormat* xret = new x_QTextFormat((int)x[1].s_int);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFormat(int x1) : QTextFormat(x1) {}
    static void x_3(Smoke::Stack x) {
        // QTextFormat* QTextFormat(const QTextFormat&)
        x_QTextFormat* xret = new x_QTextFormat(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFormat(const QTextFormat& x1) : QTextFormat(x1) {}
    void x_4(Smoke::Stack x) {
        // QTextFormat& operator=(const QTextFormat&)
        QTextFormat& xret = this->QTextFormat::operator=(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // void merge(const QTextFormat&)
        this->QTextFormat::merge(*(const QTextFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isValid();
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // int type() const
        int xret = ((const x_QTextFormat*)this)->QTextFormat::type();
        x[0].s_int = xret;
    }
    void x_8(Smoke::Stack x) {
        // int objectIndex() const
        int xret = ((const x_QTextFormat*)this)->QTextFormat::objectIndex();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setObjectIndex(int)
        this->QTextFormat::setObjectIndex((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QVariant property(int) const
        QVariant xret = ((const x_QTextFormat*)this)->QTextFormat::property((int)x[1].s_int);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setProperty(int, const QVariant&)
        this->QTextFormat::setProperty((int)x[1].s_int,*(const QVariant*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void clearProperty(int)
        this->QTextFormat::clearProperty((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // bool hasProperty(int) const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::hasProperty((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool boolProperty(int) const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::boolProperty((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // int intProperty(int) const
        int xret = ((const x_QTextFormat*)this)->QTextFormat::intProperty((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_16(Smoke::Stack x) {
        // double doubleProperty(int) const
        double xret = ((const x_QTextFormat*)this)->QTextFormat::doubleProperty((int)x[1].s_int);
        x[0].s_double = xret;
    }
    void x_17(Smoke::Stack x) {
        // QString stringProperty(int) const
        QString xret = ((const x_QTextFormat*)this)->QTextFormat::stringProperty((int)x[1].s_int);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_18(Smoke::Stack x) {
        // QColor colorProperty(int) const
        QColor xret = ((const x_QTextFormat*)this)->QTextFormat::colorProperty((int)x[1].s_int);
        x[0].s_class = (void*)new QColor(xret);
    }
    void x_19(Smoke::Stack x) {
        // QPen penProperty(int) const
        QPen xret = ((const x_QTextFormat*)this)->QTextFormat::penProperty((int)x[1].s_int);
        x[0].s_class = (void*)new QPen(xret);
    }
    void x_20(Smoke::Stack x) {
        // QBrush brushProperty(int) const
        QBrush xret = ((const x_QTextFormat*)this)->QTextFormat::brushProperty((int)x[1].s_int);
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_21(Smoke::Stack x) {
        // QTextLength lengthProperty(int) const
        QTextLength xret = ((const x_QTextFormat*)this)->QTextFormat::lengthProperty((int)x[1].s_int);
        x[0].s_class = (void*)new QTextLength(xret);
    }
    void x_22(Smoke::Stack x) {
        // QVector<QTextLength> lengthVectorProperty(int) const
        QVector<QTextLength> xret = ((const x_QTextFormat*)this)->QTextFormat::lengthVectorProperty((int)x[1].s_int);
        x[0].s_class = (void*)new QVector<QTextLength>(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setProperty(int, const QVector<QTextLength>&)
        this->QTextFormat::setProperty((int)x[1].s_int,*(const QVector<QTextLength>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QMap<int,QVariant> properties() const
        QMap<int,QVariant> xret = ((const x_QTextFormat*)this)->QTextFormat::properties();
        x[0].s_class = (void*)new QMap<int,QVariant>(xret);
    }
    void x_25(Smoke::Stack x) {
        // int propertyCount() const
        int xret = ((const x_QTextFormat*)this)->QTextFormat::propertyCount();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // void setObjectType(int)
        this->QTextFormat::setObjectType((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // int objectType() const
        int xret = ((const x_QTextFormat*)this)->QTextFormat::objectType();
        x[0].s_int = xret;
    }
    void x_28(Smoke::Stack x) {
        // bool isCharFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isCharFormat();
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // bool isBlockFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isBlockFormat();
        x[0].s_bool = xret;
    }
    void x_30(Smoke::Stack x) {
        // bool isListFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isListFormat();
        x[0].s_bool = xret;
    }
    void x_31(Smoke::Stack x) {
        // bool isFrameFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isFrameFormat();
        x[0].s_bool = xret;
    }
    void x_32(Smoke::Stack x) {
        // bool isImageFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isImageFormat();
        x[0].s_bool = xret;
    }
    void x_33(Smoke::Stack x) {
        // bool isTableFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isTableFormat();
        x[0].s_bool = xret;
    }
    void x_34(Smoke::Stack x) {
        // bool isTableCellFormat() const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::isTableCellFormat();
        x[0].s_bool = xret;
    }
    void x_35(Smoke::Stack x) {
        // QTextBlockFormat toBlockFormat() const
        QTextBlockFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toBlockFormat();
        x[0].s_class = (void*)new QTextBlockFormat(xret);
    }
    void x_36(Smoke::Stack x) {
        // QTextCharFormat toCharFormat() const
        QTextCharFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toCharFormat();
        x[0].s_class = (void*)new QTextCharFormat(xret);
    }
    void x_37(Smoke::Stack x) {
        // QTextListFormat toListFormat() const
        QTextListFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toListFormat();
        x[0].s_class = (void*)new QTextListFormat(xret);
    }
    void x_38(Smoke::Stack x) {
        // QTextTableFormat toTableFormat() const
        QTextTableFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toTableFormat();
        x[0].s_class = (void*)new QTextTableFormat(xret);
    }
    void x_39(Smoke::Stack x) {
        // QTextFrameFormat toFrameFormat() const
        QTextFrameFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toFrameFormat();
        x[0].s_class = (void*)new QTextFrameFormat(xret);
    }
    void x_40(Smoke::Stack x) {
        // QTextImageFormat toImageFormat() const
        QTextImageFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toImageFormat();
        x[0].s_class = (void*)new QTextImageFormat(xret);
    }
    void x_41(Smoke::Stack x) {
        // QTextTableCellFormat toTableCellFormat() const
        QTextTableCellFormat xret = ((const x_QTextFormat*)this)->QTextFormat::toTableCellFormat();
        x[0].s_class = (void*)new QTextTableCellFormat(xret);
    }
    void x_42(Smoke::Stack x) {
        // bool operator==(const QTextFormat&) const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::operator==(*(const QTextFormat*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_43(Smoke::Stack x) {
        // bool operator!=(const QTextFormat&) const
        bool xret = ((const x_QTextFormat*)this)->QTextFormat::operator!=(*(const QTextFormat*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_44(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QTextFormat*)this)->QTextFormat::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_45(Smoke::Stack x) {
        // void setLayoutDirection(Qt::LayoutDirection)
        this->QTextFormat::setLayoutDirection((Qt::LayoutDirection)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_46(Smoke::Stack x) {
        // Qt::LayoutDirection layoutDirection() const
        Qt::LayoutDirection xret = ((const x_QTextFormat*)this)->QTextFormat::layoutDirection();
        x[0].s_enum = xret;
    }
    void x_47(Smoke::Stack x) {
        // void setBackground(const QBrush&)
        this->QTextFormat::setBackground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // QBrush background() const
        QBrush xret = ((const x_QTextFormat*)this)->QTextFormat::background();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_49(Smoke::Stack x) {
        // void clearBackground()
        this->QTextFormat::clearBackground();
        (void)x; // noop (for compiler warning)
    }
    void x_50(Smoke::Stack x) {
        // void setForeground(const QBrush&)
        this->QTextFormat::setForeground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_51(Smoke::Stack x) {
        // QBrush foreground() const
        QBrush xret = ((const x_QTextFormat*)this)->QTextFormat::foreground();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_52(Smoke::Stack x) {
        // void clearForeground()
        this->QTextFormat::clearForeground();
        (void)x; // noop (for compiler warning)
    }
    static void x_53(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTextFormat::staticMetaObject;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::InvalidFormat;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockFormat;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::CharFormat;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ListFormat;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableFormat;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameFormat;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::UserFormat;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ObjectIndex;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::CssFloat;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::LayoutDirection;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::OutlinePen;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BackgroundBrush;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ForegroundBrush;
    }
    static void x_67(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BackgroundImageUrl;
    }
    static void x_68(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockAlignment;
    }
    static void x_69(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockTopMargin;
    }
    static void x_70(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockBottomMargin;
    }
    static void x_71(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockLeftMargin;
    }
    static void x_72(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockRightMargin;
    }
    static void x_73(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TextIndent;
    }
    static void x_74(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TabPositions;
    }
    static void x_75(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockIndent;
    }
    static void x_76(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::LineHeight;
    }
    static void x_77(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::LineHeightType;
    }
    static void x_78(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockNonBreakableLines;
    }
    static void x_79(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::BlockTrailingHorizontalRulerWidth;
    }
    static void x_80(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FirstFontProperty;
    }
    static void x_81(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontCapitalization;
    }
    static void x_82(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontLetterSpacing;
    }
    static void x_83(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontWordSpacing;
    }
    static void x_84(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontStyleHint;
    }
    static void x_85(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontStyleStrategy;
    }
    static void x_86(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontKerning;
    }
    static void x_87(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontHintingPreference;
    }
    static void x_88(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontFamily;
    }
    static void x_89(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontPointSize;
    }
    static void x_90(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontSizeAdjustment;
    }
    static void x_91(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontSizeIncrement;
    }
    static void x_92(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontWeight;
    }
    static void x_93(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontItalic;
    }
    static void x_94(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontUnderline;
    }
    static void x_95(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontOverline;
    }
    static void x_96(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontStrikeOut;
    }
    static void x_97(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontFixedPitch;
    }
    static void x_98(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FontPixelSize;
    }
    static void x_99(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::LastFontProperty;
    }
    static void x_100(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TextUnderlineColor;
    }
    static void x_101(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TextVerticalAlignment;
    }
    static void x_102(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TextOutline;
    }
    static void x_103(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TextUnderlineStyle;
    }
    static void x_104(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TextToolTip;
    }
    static void x_105(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::IsAnchor;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::AnchorHref;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::AnchorName;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ObjectType;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ListStyle;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ListIndent;
    }
    static void x_111(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ListNumberPrefix;
    }
    static void x_112(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ListNumberSuffix;
    }
    static void x_113(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameBorder;
    }
    static void x_114(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameMargin;
    }
    static void x_115(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FramePadding;
    }
    static void x_116(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameWidth;
    }
    static void x_117(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameHeight;
    }
    static void x_118(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameTopMargin;
    }
    static void x_119(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameBottomMargin;
    }
    static void x_120(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameLeftMargin;
    }
    static void x_121(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameRightMargin;
    }
    static void x_122(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameBorderBrush;
    }
    static void x_123(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FrameBorderStyle;
    }
    static void x_124(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableColumns;
    }
    static void x_125(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableColumnWidthConstraints;
    }
    static void x_126(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellSpacing;
    }
    static void x_127(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellPadding;
    }
    static void x_128(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableHeaderRowCount;
    }
    static void x_129(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellRowSpan;
    }
    static void x_130(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellColumnSpan;
    }
    static void x_131(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellTopPadding;
    }
    static void x_132(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellBottomPadding;
    }
    static void x_133(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellLeftPadding;
    }
    static void x_134(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellRightPadding;
    }
    static void x_135(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ImageName;
    }
    static void x_136(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ImageWidth;
    }
    static void x_137(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ImageHeight;
    }
    static void x_138(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::FullWidthSelection;
    }
    static void x_139(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::PageBreakPolicy;
    }
    static void x_140(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::UserProperty;
    }
    static void x_141(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::NoObject;
    }
    static void x_142(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::ImageObject;
    }
    static void x_143(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableObject;
    }
    static void x_144(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::TableCellObject;
    }
    static void x_145(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::UserObject;
    }
    static void x_146(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::PageBreak_Auto;
    }
    static void x_147(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::PageBreak_AlwaysBefore;
    }
    static void x_148(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFormat::PageBreak_AlwaysAfter;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 954: //QTextFormat::FormatType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextFormat::FormatType;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextFormat::FormatType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextFormat::FormatType*)xdata = (QTextFormat::FormatType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextFormat::FormatType*)xdata;
                    break;
            }
            break;
        case 957: //QTextFormat::Property
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextFormat::Property;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextFormat::Property*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextFormat::Property*)xdata = (QTextFormat::Property)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextFormat::Property*)xdata;
                    break;
            }
            break;
        case 955: //QTextFormat::ObjectTypes
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextFormat::ObjectTypes;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextFormat::ObjectTypes*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextFormat::ObjectTypes*)xdata = (QTextFormat::ObjectTypes)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextFormat::ObjectTypes*)xdata;
                    break;
            }
            break;
        case 956: //QTextFormat::PageBreakFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextFormat::PageBreakFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextFormat::PageBreakFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextFormat::PageBreakFlag*)xdata = (QTextFormat::PageBreakFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextFormat::PageBreakFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextFormat() { this->_binding->deleted(395, (void*)this); }
};
void xenum_QTextFormat(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextFormat::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextFormat *xself = (x_QTextFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextFormat::x_1(args);	break;
        case 2: x_QTextFormat::x_2(args);	break;
        case 3: x_QTextFormat::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: 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: x_QTextFormat::x_53(args);	break;
        case 54: x_QTextFormat::x_54(args);	break;
        case 55: x_QTextFormat::x_55(args);	break;
        case 56: x_QTextFormat::x_56(args);	break;
        case 57: x_QTextFormat::x_57(args);	break;
        case 58: x_QTextFormat::x_58(args);	break;
        case 59: x_QTextFormat::x_59(args);	break;
        case 60: x_QTextFormat::x_60(args);	break;
        case 61: x_QTextFormat::x_61(args);	break;
        case 62: x_QTextFormat::x_62(args);	break;
        case 63: x_QTextFormat::x_63(args);	break;
        case 64: x_QTextFormat::x_64(args);	break;
        case 65: x_QTextFormat::x_65(args);	break;
        case 66: x_QTextFormat::x_66(args);	break;
        case 67: x_QTextFormat::x_67(args);	break;
        case 68: x_QTextFormat::x_68(args);	break;
        case 69: x_QTextFormat::x_69(args);	break;
        case 70: x_QTextFormat::x_70(args);	break;
        case 71: x_QTextFormat::x_71(args);	break;
        case 72: x_QTextFormat::x_72(args);	break;
        case 73: x_QTextFormat::x_73(args);	break;
        case 74: x_QTextFormat::x_74(args);	break;
        case 75: x_QTextFormat::x_75(args);	break;
        case 76: x_QTextFormat::x_76(args);	break;
        case 77: x_QTextFormat::x_77(args);	break;
        case 78: x_QTextFormat::x_78(args);	break;
        case 79: x_QTextFormat::x_79(args);	break;
        case 80: x_QTextFormat::x_80(args);	break;
        case 81: x_QTextFormat::x_81(args);	break;
        case 82: x_QTextFormat::x_82(args);	break;
        case 83: x_QTextFormat::x_83(args);	break;
        case 84: x_QTextFormat::x_84(args);	break;
        case 85: x_QTextFormat::x_85(args);	break;
        case 86: x_QTextFormat::x_86(args);	break;
        case 87: x_QTextFormat::x_87(args);	break;
        case 88: x_QTextFormat::x_88(args);	break;
        case 89: x_QTextFormat::x_89(args);	break;
        case 90: x_QTextFormat::x_90(args);	break;
        case 91: x_QTextFormat::x_91(args);	break;
        case 92: x_QTextFormat::x_92(args);	break;
        case 93: x_QTextFormat::x_93(args);	break;
        case 94: x_QTextFormat::x_94(args);	break;
        case 95: x_QTextFormat::x_95(args);	break;
        case 96: x_QTextFormat::x_96(args);	break;
        case 97: x_QTextFormat::x_97(args);	break;
        case 98: x_QTextFormat::x_98(args);	break;
        case 99: x_QTextFormat::x_99(args);	break;
        case 100: x_QTextFormat::x_100(args);	break;
        case 101: x_QTextFormat::x_101(args);	break;
        case 102: x_QTextFormat::x_102(args);	break;
        case 103: x_QTextFormat::x_103(args);	break;
        case 104: x_QTextFormat::x_104(args);	break;
        case 105: x_QTextFormat::x_105(args);	break;
        case 106: x_QTextFormat::x_106(args);	break;
        case 107: x_QTextFormat::x_107(args);	break;
        case 108: x_QTextFormat::x_108(args);	break;
        case 109: x_QTextFormat::x_109(args);	break;
        case 110: x_QTextFormat::x_110(args);	break;
        case 111: x_QTextFormat::x_111(args);	break;
        case 112: x_QTextFormat::x_112(args);	break;
        case 113: x_QTextFormat::x_113(args);	break;
        case 114: x_QTextFormat::x_114(args);	break;
        case 115: x_QTextFormat::x_115(args);	break;
        case 116: x_QTextFormat::x_116(args);	break;
        case 117: x_QTextFormat::x_117(args);	break;
        case 118: x_QTextFormat::x_118(args);	break;
        case 119: x_QTextFormat::x_119(args);	break;
        case 120: x_QTextFormat::x_120(args);	break;
        case 121: x_QTextFormat::x_121(args);	break;
        case 122: x_QTextFormat::x_122(args);	break;
        case 123: x_QTextFormat::x_123(args);	break;
        case 124: x_QTextFormat::x_124(args);	break;
        case 125: x_QTextFormat::x_125(args);	break;
        case 126: x_QTextFormat::x_126(args);	break;
        case 127: x_QTextFormat::x_127(args);	break;
        case 128: x_QTextFormat::x_128(args);	break;
        case 129: x_QTextFormat::x_129(args);	break;
        case 130: x_QTextFormat::x_130(args);	break;
        case 131: x_QTextFormat::x_131(args);	break;
        case 132: x_QTextFormat::x_132(args);	break;
        case 133: x_QTextFormat::x_133(args);	break;
        case 134: x_QTextFormat::x_134(args);	break;
        case 135: x_QTextFormat::x_135(args);	break;
        case 136: x_QTextFormat::x_136(args);	break;
        case 137: x_QTextFormat::x_137(args);	break;
        case 138: x_QTextFormat::x_138(args);	break;
        case 139: x_QTextFormat::x_139(args);	break;
        case 140: x_QTextFormat::x_140(args);	break;
        case 141: x_QTextFormat::x_141(args);	break;
        case 142: x_QTextFormat::x_142(args);	break;
        case 143: x_QTextFormat::x_143(args);	break;
        case 144: x_QTextFormat::x_144(args);	break;
        case 145: x_QTextFormat::x_145(args);	break;
        case 146: x_QTextFormat::x_146(args);	break;
        case 147: x_QTextFormat::x_147(args);	break;
        case 148: x_QTextFormat::x_148(args);	break;
        case 149: delete (QTextFormat*)xself;	break;
    }
}
class x_QTextFragment : public QTextFragment {
    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) {
        // QTextFragment* QTextFragment()
        x_QTextFragment* xret = new x_QTextFragment();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFragment() : QTextFragment() {}
    static void x_2(Smoke::Stack x) {
        // QTextFragment* QTextFragment(const QTextFragment&)
        x_QTextFragment* xret = new x_QTextFragment(*(const QTextFragment*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFragment(const QTextFragment& x1) : QTextFragment(x1) {}
    void x_3(Smoke::Stack x) {
        // QTextFragment& operator=(const QTextFragment&)
        QTextFragment& xret = this->QTextFragment::operator=(*(const QTextFragment*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextFragment*)this)->QTextFragment::isValid();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // bool operator==(const QTextFragment&) const
        bool xret = ((const x_QTextFragment*)this)->QTextFragment::operator==(*(const QTextFragment*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_6(Smoke::Stack x) {
        // bool operator!=(const QTextFragment&) const
        bool xret = ((const x_QTextFragment*)this)->QTextFragment::operator!=(*(const QTextFragment*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool operator<(const QTextFragment&) const
        bool xret = ((const x_QTextFragment*)this)->QTextFragment::operator<(*(const QTextFragment*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // int position() const
        int xret = ((const x_QTextFragment*)this)->QTextFragment::position();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // int length() const
        int xret = ((const x_QTextFragment*)this)->QTextFragment::length();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool contains(int) const
        bool xret = ((const x_QTextFragment*)this)->QTextFragment::contains((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QTextCharFormat charFormat() const
        QTextCharFormat xret = ((const x_QTextFragment*)this)->QTextFragment::charFormat();
        x[0].s_class = (void*)new QTextCharFormat(xret);
    }
    void x_12(Smoke::Stack x) {
        // int charFormatIndex() const
        int xret = ((const x_QTextFragment*)this)->QTextFragment::charFormatIndex();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QTextFragment*)this)->QTextFragment::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QList<QGlyphRun> glyphRuns() const
        QList<QGlyphRun> xret = ((const x_QTextFragment*)this)->QTextFragment::glyphRuns();
        x[0].s_class = (void*)new QList<QGlyphRun>(xret);
    }
    ~x_QTextFragment() { this->_binding->deleted(396, (void*)this); }
};
void xcall_QTextFragment(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextFragment *xself = (x_QTextFragment*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextFragment::x_1(args);	break;
        case 2: x_QTextFragment::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: delete (QTextFragment*)xself;	break;
    }
}
class x_QTextFrame : public QTextFrame, 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<QTextFrame*>(this))) {
            const QMetaObject* xret = ((const x_QTextFrame*)this)->QTextFrame::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTextFrame*)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<QTextFrame*>(this))) {
            void* xret = this->QTextFrame::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 = QTextFrame::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 = QTextFrame::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 = QTextFrame::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 = QTextFrame::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<QTextFrame*>(this))) {
            int xret = this->QTextFrame::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) {
        // QTextFrame* QTextFrame(QTextDocument*)
        x_QTextFrame* xret = new x_QTextFrame((QTextDocument*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrame(QTextDocument* x1) : QTextFrame(x1) {}
    void x_9(Smoke::Stack x) {
        // void setFrameFormat(const QTextFrameFormat&)
        this->QTextFrame::setFrameFormat(*(const QTextFrameFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QTextFrameFormat frameFormat() const
        QTextFrameFormat xret = ((const x_QTextFrame*)this)->QTextFrame::frameFormat();
        x[0].s_class = (void*)new QTextFrameFormat(xret);
    }
    void x_11(Smoke::Stack x) {
        // QTextCursor firstCursorPosition() const
        QTextCursor xret = ((const x_QTextFrame*)this)->QTextFrame::firstCursorPosition();
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_12(Smoke::Stack x) {
        // QTextCursor lastCursorPosition() const
        QTextCursor xret = ((const x_QTextFrame*)this)->QTextFrame::lastCursorPosition();
        x[0].s_class = (void*)new QTextCursor(xret);
    }
    void x_13(Smoke::Stack x) {
        // int firstPosition() const
        int xret = ((const x_QTextFrame*)this)->QTextFrame::firstPosition();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int lastPosition() const
        int xret = ((const x_QTextFrame*)this)->QTextFrame::lastPosition();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // QTextFrameLayoutData* layoutData() const
        QTextFrameLayoutData* xret = ((const x_QTextFrame*)this)->QTextFrame::layoutData();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // void setLayoutData(QTextFrameLayoutData*)
        this->QTextFrame::setLayoutData((QTextFrameLayoutData*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // QList<QTextFrame*> childFrames() const
        QList<QTextFrame*> xret = ((const x_QTextFrame*)this)->QTextFrame::childFrames();
        x[0].s_class = (void*)new QList<QTextFrame*>(xret);
    }
    void x_18(Smoke::Stack x) {
        // QTextFrame* parentFrame() const
        QTextFrame* xret = ((const x_QTextFrame*)this)->QTextFrame::parentFrame();
        x[0].s_class = (void*)xret;
    }
    void x_19(Smoke::Stack x) {
        // QTextFrame::iterator begin() const
        QTextFrame::iterator xret = ((const x_QTextFrame*)this)->QTextFrame::begin();
        x[0].s_class = (void*)new QTextFrame::iterator(xret);
    }
    void x_20(Smoke::Stack x) {
        // QTextFrame::iterator end() const
        QTextFrame::iterator xret = ((const x_QTextFrame*)this)->QTextFrame::end();
        x[0].s_class = (void*)new QTextFrame::iterator(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTextFrame::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTextFrame::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_23(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTextFrame::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(13976, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTextFrame::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(13977, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTextFrame::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(13982, (void*)this, x)) return (int)x[0].s_int;
        return this->QTextFrame::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QTextFrame() { this->_binding->deleted(397, (void*)this); }
};
void xcall_QTextFrame(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextFrame *xself = (x_QTextFrame*)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_QTextFrame::x_3(args);	break;
        case 4: x_QTextFrame::x_4(args);	break;
        case 5: x_QTextFrame::x_5(args);	break;
        case 6: x_QTextFrame::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTextFrame::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_QTextFrame::x_21(args);	break;
        case 22: x_QTextFrame::x_22(args);	break;
        case 23: x_QTextFrame::x_23(args);	break;
        case 24: delete (QTextFrame*)xself;	break;
    }
}
class x_QTextFrame__iterator : public QTextFrame::iterator {
    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) {
        // QTextFrame::iterator* iterator()
        x_QTextFrame__iterator* xret = new x_QTextFrame__iterator();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrame__iterator() : iterator() {}
    static void x_2(Smoke::Stack x) {
        // QTextFrame::iterator* iterator(const QTextFrame::iterator&)
        x_QTextFrame__iterator* xret = new x_QTextFrame__iterator(*(const QTextFrame::iterator*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrame__iterator(const QTextFrame::iterator& x1) : iterator(x1) {}
    void x_3(Smoke::Stack x) {
        // QTextFrame::iterator& operator=(const QTextFrame::iterator&)
        QTextFrame::iterator& xret = this->QTextFrame::iterator::operator=(*(const QTextFrame::iterator*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // QTextFrame* parentFrame() const
        QTextFrame* xret = ((const x_QTextFrame__iterator*)this)->QTextFrame::iterator::parentFrame();
        x[0].s_class = (void*)xret;
    }
    void x_5(Smoke::Stack x) {
        // QTextFrame* currentFrame() const
        QTextFrame* xret = ((const x_QTextFrame__iterator*)this)->QTextFrame::iterator::currentFrame();
        x[0].s_class = (void*)xret;
    }
    void x_6(Smoke::Stack x) {
        // QTextBlock currentBlock() const
        QTextBlock xret = ((const x_QTextFrame__iterator*)this)->QTextFrame::iterator::currentBlock();
        x[0].s_class = (void*)new QTextBlock(xret);
    }
    void x_7(Smoke::Stack x) {
        // bool atEnd() const
        bool xret = ((const x_QTextFrame__iterator*)this)->QTextFrame::iterator::atEnd();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // bool operator==(const QTextFrame::iterator&) const
        bool xret = ((const x_QTextFrame__iterator*)this)->QTextFrame::iterator::operator==(*(const QTextFrame::iterator*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool operator!=(const QTextFrame::iterator&) const
        bool xret = ((const x_QTextFrame__iterator*)this)->QTextFrame::iterator::operator!=(*(const QTextFrame::iterator*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // QTextFrame::iterator& operator++()
        QTextFrame::iterator& xret = this->QTextFrame::iterator::operator++();
        x[0].s_class = (void*)&xret;
    }
    void x_11(Smoke::Stack x) {
        // QTextFrame::iterator operator++(int)
        QTextFrame::iterator xret = this->QTextFrame::iterator::operator++((int)x[1].s_int);
        x[0].s_class = (void*)new QTextFrame::iterator(xret);
    }
    void x_12(Smoke::Stack x) {
        // QTextFrame::iterator& operator--()
        QTextFrame::iterator& xret = this->QTextFrame::iterator::operator--();
        x[0].s_class = (void*)&xret;
    }
    void x_13(Smoke::Stack x) {
        // QTextFrame::iterator operator--(int)
        QTextFrame::iterator xret = this->QTextFrame::iterator::operator--((int)x[1].s_int);
        x[0].s_class = (void*)new QTextFrame::iterator(xret);
    }
    ~x_QTextFrame__iterator() { this->_binding->deleted(398, (void*)this); }
};
void xcall_QTextFrame__iterator(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextFrame__iterator *xself = (x_QTextFrame__iterator*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextFrame__iterator::x_1(args);	break;
        case 2: x_QTextFrame__iterator::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: delete (QTextFrame::iterator*)xself;	break;
    }
}
class x_QTextFrameFormat : public QTextFrameFormat {
    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) {
        // QTextFrameFormat* QTextFrameFormat()
        x_QTextFrameFormat* xret = new x_QTextFrameFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrameFormat() : QTextFrameFormat() {}
    void x_2(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::isValid();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // void setPosition(QTextFrameFormat::Position)
        this->QTextFrameFormat::setPosition((QTextFrameFormat::Position)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // QTextFrameFormat::Position position() const
        QTextFrameFormat::Position xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::position();
        x[0].s_enum = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setBorder(double)
        this->QTextFrameFormat::setBorder((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // double border() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::border();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setBorderBrush(const QBrush&)
        this->QTextFrameFormat::setBorderBrush(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QBrush borderBrush() const
        QBrush xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::borderBrush();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setBorderStyle(QTextFrameFormat::BorderStyle)
        this->QTextFrameFormat::setBorderStyle((QTextFrameFormat::BorderStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QTextFrameFormat::BorderStyle borderStyle() const
        QTextFrameFormat::BorderStyle xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::borderStyle();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setMargin(double)
        this->QTextFrameFormat::setMargin((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // double margin() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::margin();
        x[0].s_double = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setTopMargin(double)
        this->QTextFrameFormat::setTopMargin((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // double topMargin() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::topMargin();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setBottomMargin(double)
        this->QTextFrameFormat::setBottomMargin((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // double bottomMargin() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::bottomMargin();
        x[0].s_double = xret;
    }
    void x_17(Smoke::Stack x) {
        // void setLeftMargin(double)
        this->QTextFrameFormat::setLeftMargin((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // double leftMargin() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::leftMargin();
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setRightMargin(double)
        this->QTextFrameFormat::setRightMargin((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // double rightMargin() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::rightMargin();
        x[0].s_double = xret;
    }
    void x_21(Smoke::Stack x) {
        // void setPadding(double)
        this->QTextFrameFormat::setPadding((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // double padding() const
        double xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::padding();
        x[0].s_double = xret;
    }
    void x_23(Smoke::Stack x) {
        // void setWidth(double)
        this->QTextFrameFormat::setWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setWidth(const QTextLength&)
        this->QTextFrameFormat::setWidth(*(const QTextLength*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // QTextLength width() const
        QTextLength xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::width();
        x[0].s_class = (void*)new QTextLength(xret);
    }
    void x_26(Smoke::Stack x) {
        // void setHeight(double)
        this->QTextFrameFormat::setHeight((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setHeight(const QTextLength&)
        this->QTextFrameFormat::setHeight(*(const QTextLength*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // QTextLength height() const
        QTextLength xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::height();
        x[0].s_class = (void*)new QTextLength(xret);
    }
    void x_29(Smoke::Stack x) {
        // void setPageBreakPolicy(QFlags<QTextFormat::PageBreakFlag>)
        this->QTextFrameFormat::setPageBreakPolicy((QFlags<QTextFormat::PageBreakFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // QFlags<QTextFormat::PageBreakFlag> pageBreakPolicy() const
        QFlags<QTextFormat::PageBreakFlag> xret = ((const x_QTextFrameFormat*)this)->QTextFrameFormat::pageBreakPolicy();
        x[0].s_uint = (uint)xret;
    }
    static void x_31(Smoke::Stack x) {
        // QTextFrameFormat* QTextFrameFormat(const QTextFormat&)
        x_QTextFrameFormat* xret = new x_QTextFrameFormat(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrameFormat(const QTextFormat& x1) : QTextFrameFormat(x1) {}
    static void x_32(Smoke::Stack x) {
        // QTextFrameFormat* QTextFrameFormat(const QTextFrameFormat&)
        x_QTextFrameFormat* xret = new x_QTextFrameFormat(*(const QTextFrameFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrameFormat(const QTextFrameFormat& x1) : QTextFrameFormat(x1) {}
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::InFlow;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::FloatLeft;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::FloatRight;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_None;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Dotted;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Dashed;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Solid;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Double;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_DotDash;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_DotDotDash;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Groove;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Ridge;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Inset;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)QTextFrameFormat::BorderStyle_Outset;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 968: //QTextFrameFormat::Position
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextFrameFormat::Position;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextFrameFormat::Position*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextFrameFormat::Position*)xdata = (QTextFrameFormat::Position)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextFrameFormat::Position*)xdata;
                    break;
            }
            break;
        case 967: //QTextFrameFormat::BorderStyle
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextFrameFormat::BorderStyle;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextFrameFormat::BorderStyle*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextFrameFormat::BorderStyle*)xdata = (QTextFrameFormat::BorderStyle)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextFrameFormat::BorderStyle*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextFrameFormat() { this->_binding->deleted(399, (void*)this); }
};
void xenum_QTextFrameFormat(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextFrameFormat::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextFrameFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextFrameFormat *xself = (x_QTextFrameFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextFrameFormat::x_1(args);	break;
        case 2: xself->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: 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: x_QTextFrameFormat::x_31(args);	break;
        case 32: x_QTextFrameFormat::x_32(args);	break;
        case 33: x_QTextFrameFormat::x_33(args);	break;
        case 34: x_QTextFrameFormat::x_34(args);	break;
        case 35: x_QTextFrameFormat::x_35(args);	break;
        case 36: x_QTextFrameFormat::x_36(args);	break;
        case 37: x_QTextFrameFormat::x_37(args);	break;
        case 38: x_QTextFrameFormat::x_38(args);	break;
        case 39: x_QTextFrameFormat::x_39(args);	break;
        case 40: x_QTextFrameFormat::x_40(args);	break;
        case 41: x_QTextFrameFormat::x_41(args);	break;
        case 42: x_QTextFrameFormat::x_42(args);	break;
        case 43: x_QTextFrameFormat::x_43(args);	break;
        case 44: x_QTextFrameFormat::x_44(args);	break;
        case 45: x_QTextFrameFormat::x_45(args);	break;
        case 46: x_QTextFrameFormat::x_46(args);	break;
        case 47: delete (QTextFrameFormat*)xself;	break;
    }
}
class x_QTextFrameLayoutData : public QTextFrameLayoutData, 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) {
        // QTextFrameLayoutData* QTextFrameLayoutData()
        x_QTextFrameLayoutData* xret = new x_QTextFrameLayoutData();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrameLayoutData() : QTextFrameLayoutData() {}
    static void x_2(Smoke::Stack x) {
        // QTextFrameLayoutData* QTextFrameLayoutData(const QTextFrameLayoutData&)
        x_QTextFrameLayoutData* xret = new x_QTextFrameLayoutData(*(const QTextFrameLayoutData*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextFrameLayoutData(const QTextFrameLayoutData& x1) : QTextFrameLayoutData(x1) {}
    ~x_QTextFrameLayoutData() { this->_binding->deleted(400, (void*)this); }
};
void xcall_QTextFrameLayoutData(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextFrameLayoutData *xself = (x_QTextFrameLayoutData*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextFrameLayoutData::x_1(args);	break;
        case 2: x_QTextFrameLayoutData::x_2(args);	break;
        case 3: delete (QTextFrameLayoutData*)xself;	break;
    }
}
class x_QTextImageFormat : public QTextImageFormat {
    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) {
        // QTextImageFormat* QTextImageFormat()
        x_QTextImageFormat* xret = new x_QTextImageFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextImageFormat() : QTextImageFormat() {}
    void x_2(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextImageFormat*)this)->QTextImageFormat::isValid();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // void setName(const QString&)
        this->QTextImageFormat::setName(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // QString name() const
        QString xret = ((const x_QTextImageFormat*)this)->QTextImageFormat::name();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_5(Smoke::Stack x) {
        // void setWidth(double)
        this->QTextImageFormat::setWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QTextImageFormat*)this)->QTextImageFormat::width();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setHeight(double)
        this->QTextImageFormat::setHeight((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // double height() const
        double xret = ((const x_QTextImageFormat*)this)->QTextImageFormat::height();
        x[0].s_double = xret;
    }
    static void x_9(Smoke::Stack x) {
        // QTextImageFormat* QTextImageFormat(const QTextFormat&)
        x_QTextImageFormat* xret = new x_QTextImageFormat(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextImageFormat(const QTextFormat& x1) : QTextImageFormat(x1) {}
    static void x_10(Smoke::Stack x) {
        // QTextImageFormat* QTextImageFormat(const QTextImageFormat&)
        x_QTextImageFormat* xret = new x_QTextImageFormat(*(const QTextImageFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextImageFormat(const QTextImageFormat& x1) : QTextImageFormat(x1) {}
    ~x_QTextImageFormat() { this->_binding->deleted(401, (void*)this); }
};
void xcall_QTextImageFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextImageFormat *xself = (x_QTextImageFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextImageFormat::x_1(args);	break;
        case 2: xself->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: x_QTextImageFormat::x_9(args);	break;
        case 10: x_QTextImageFormat::x_10(args);	break;
        case 11: delete (QTextImageFormat*)xself;	break;
    }
}
class x_QTextInlineObject : public QTextInlineObject {
    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) {
        // QTextInlineObject* QTextInlineObject(int, QTextEngine*)
        x_QTextInlineObject* xret = new x_QTextInlineObject((int)x[1].s_int,(QTextEngine*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextInlineObject(int x1, QTextEngine* x2) : QTextInlineObject(x1, x2) {}
    static void x_2(Smoke::Stack x) {
        // QTextInlineObject* QTextInlineObject()
        x_QTextInlineObject* xret = new x_QTextInlineObject();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextInlineObject() : QTextInlineObject() {}
    void x_3(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::isValid();
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // QRectF rect() const
        QRectF xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::rect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_5(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::width();
        x[0].s_double = xret;
    }
    void x_6(Smoke::Stack x) {
        // double ascent() const
        double xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::ascent();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // double descent() const
        double xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::descent();
        x[0].s_double = xret;
    }
    void x_8(Smoke::Stack x) {
        // double height() const
        double xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::height();
        x[0].s_double = xret;
    }
    void x_9(Smoke::Stack x) {
        // Qt::LayoutDirection textDirection() const
        Qt::LayoutDirection xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::textDirection();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setWidth(double)
        this->QTextInlineObject::setWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // void setAscent(double)
        this->QTextInlineObject::setAscent((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void setDescent(double)
        this->QTextInlineObject::setDescent((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // int textPosition() const
        int xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::textPosition();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // int formatIndex() const
        int xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::formatIndex();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // QTextFormat format() const
        QTextFormat xret = ((const x_QTextInlineObject*)this)->QTextInlineObject::format();
        x[0].s_class = (void*)new QTextFormat(xret);
    }
    static void x_16(Smoke::Stack x) {
        // QTextInlineObject* QTextInlineObject(const QTextInlineObject&)
        x_QTextInlineObject* xret = new x_QTextInlineObject(*(const QTextInlineObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextInlineObject(const QTextInlineObject& x1) : QTextInlineObject(x1) {}
    ~x_QTextInlineObject() { this->_binding->deleted(402, (void*)this); }
};
void xcall_QTextInlineObject(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextInlineObject *xself = (x_QTextInlineObject*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextInlineObject::x_1(args);	break;
        case 2: x_QTextInlineObject::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: x_QTextInlineObject::x_16(args);	break;
        case 17: delete (QTextInlineObject*)xself;	break;
    }
}
class x_QTextItem : public QTextItem {
    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) {
        // double descent() const
        double xret = ((const x_QTextItem*)this)->QTextItem::descent();
        x[0].s_double = xret;
    }
    void x_2(Smoke::Stack x) {
        // double ascent() const
        double xret = ((const x_QTextItem*)this)->QTextItem::ascent();
        x[0].s_double = xret;
    }
    void x_3(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QTextItem*)this)->QTextItem::width();
        x[0].s_double = xret;
    }
    void x_4(Smoke::Stack x) {
        // QFlags<QTextItem::RenderFlag> renderFlags() const
        QFlags<QTextItem::RenderFlag> xret = ((const x_QTextItem*)this)->QTextItem::renderFlags();
        x[0].s_uint = (uint)xret;
    }
    void x_5(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QTextItem*)this)->QTextItem::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_6(Smoke::Stack x) {
        // QFont font() const
        QFont xret = ((const x_QTextItem*)this)->QTextItem::font();
        x[0].s_class = (void*)new QFont(xret);
    }
    static void x_7(Smoke::Stack x) {
        // QTextItem* QTextItem()
        x_QTextItem* xret = new x_QTextItem();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextItem() : QTextItem() {}
    static void x_8(Smoke::Stack x) {
        // QTextItem* QTextItem(const QTextItem&)
        x_QTextItem* xret = new x_QTextItem(*(const QTextItem*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextItem(const QTextItem& x1) : QTextItem(x1) {}
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)QTextItem::RightToLeft;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QTextItem::Overline;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QTextItem::Underline;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QTextItem::StrikeOut;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QTextItem::Dummy;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 975: //QTextItem::RenderFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextItem::RenderFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextItem::RenderFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextItem::RenderFlag*)xdata = (QTextItem::RenderFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextItem::RenderFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextItem() { this->_binding->deleted(403, (void*)this); }
};
void xenum_QTextItem(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextItem::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextItem(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextItem *xself = (x_QTextItem*)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: 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_QTextItem::x_7(args);	break;
        case 8: x_QTextItem::x_8(args);	break;
        case 9: x_QTextItem::x_9(args);	break;
        case 10: x_QTextItem::x_10(args);	break;
        case 11: x_QTextItem::x_11(args);	break;
        case 12: x_QTextItem::x_12(args);	break;
        case 13: x_QTextItem::x_13(args);	break;
        case 14: delete (QTextItem*)xself;	break;
    }
}
class x_QTextLayout : public QTextLayout {
    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) {
        // QTextLayout* QTextLayout()
        x_QTextLayout* xret = new x_QTextLayout();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLayout() : QTextLayout() {}
    static void x_2(Smoke::Stack x) {
        // QTextLayout* QTextLayout(const QString&)
        x_QTextLayout* xret = new x_QTextLayout(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLayout(const QString& x1) : QTextLayout(x1) {}
    static void x_3(Smoke::Stack x) {
        // QTextLayout* QTextLayout(const QString&, const QFont&, QPaintDevice*)
        x_QTextLayout* xret = new x_QTextLayout(*(const QString*)x[1].s_class,*(const QFont*)x[2].s_class,(QPaintDevice*)x[3].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLayout(const QString& x1, const QFont& x2, QPaintDevice* x3) : QTextLayout(x1, x2, x3) {}
    static void x_4(Smoke::Stack x) {
        // QTextLayout* QTextLayout(const QTextBlock&)
        x_QTextLayout* xret = new x_QTextLayout(*(const QTextBlock*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLayout(const QTextBlock& x1) : QTextLayout(x1) {}
    void x_5(Smoke::Stack x) {
        // void setFont(const QFont&)
        this->QTextLayout::setFont(*(const QFont*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QFont font() const
        QFont xret = ((const x_QTextLayout*)this)->QTextLayout::font();
        x[0].s_class = (void*)new QFont(xret);
    }
    void x_7(Smoke::Stack x) {
        // void setText(const QString&)
        this->QTextLayout::setText(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QString text() const
        QString xret = ((const x_QTextLayout*)this)->QTextLayout::text();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setTextOption(const QTextOption&)
        this->QTextLayout::setTextOption(*(const QTextOption*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QTextOption textOption() const
        QTextOption xret = ((const x_QTextLayout*)this)->QTextLayout::textOption();
        x[0].s_class = (void*)new QTextOption(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setPreeditArea(int, const QString&)
        this->QTextLayout::setPreeditArea((int)x[1].s_int,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // int preeditAreaPosition() const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::preeditAreaPosition();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString preeditAreaText() const
        QString xret = ((const x_QTextLayout*)this)->QTextLayout::preeditAreaText();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setAdditionalFormats(const QList<QTextLayout::FormatRange>&)
        this->QTextLayout::setAdditionalFormats(*(const QList<QTextLayout::FormatRange>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // QList<QTextLayout::FormatRange> additionalFormats() const
        QList<QTextLayout::FormatRange> xret = ((const x_QTextLayout*)this)->QTextLayout::additionalFormats();
        x[0].s_class = (void*)new QList<QTextLayout::FormatRange>(xret);
    }
    void x_16(Smoke::Stack x) {
        // void clearAdditionalFormats()
        this->QTextLayout::clearAdditionalFormats();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setCacheEnabled(bool)
        this->QTextLayout::setCacheEnabled((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool cacheEnabled() const
        bool xret = ((const x_QTextLayout*)this)->QTextLayout::cacheEnabled();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setCursorMoveStyle(Qt::CursorMoveStyle)
        this->QTextLayout::setCursorMoveStyle((Qt::CursorMoveStyle)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // Qt::CursorMoveStyle cursorMoveStyle() const
        Qt::CursorMoveStyle xret = ((const x_QTextLayout*)this)->QTextLayout::cursorMoveStyle();
        x[0].s_enum = xret;
    }
    void x_21(Smoke::Stack x) {
        // void beginLayout()
        this->QTextLayout::beginLayout();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void endLayout()
        this->QTextLayout::endLayout();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void clearLayout()
        this->QTextLayout::clearLayout();
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QTextLine createLine()
        QTextLine xret = this->QTextLayout::createLine();
        x[0].s_class = (void*)new QTextLine(xret);
    }
    void x_25(Smoke::Stack x) {
        // int lineCount() const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::lineCount();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // QTextLine lineAt(int) const
        QTextLine xret = ((const x_QTextLayout*)this)->QTextLayout::lineAt((int)x[1].s_int);
        x[0].s_class = (void*)new QTextLine(xret);
    }
    void x_27(Smoke::Stack x) {
        // QTextLine lineForTextPosition(int) const
        QTextLine xret = ((const x_QTextLayout*)this)->QTextLayout::lineForTextPosition((int)x[1].s_int);
        x[0].s_class = (void*)new QTextLine(xret);
    }
    void x_28(Smoke::Stack x) {
        // bool isValidCursorPosition(int) const
        bool xret = ((const x_QTextLayout*)this)->QTextLayout::isValidCursorPosition((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    void x_29(Smoke::Stack x) {
        // int nextCursorPosition(int, QTextLayout::CursorMode) const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::nextCursorPosition((int)x[1].s_int,(QTextLayout::CursorMode)x[2].s_enum);
        x[0].s_int = xret;
    }
    void x_30(Smoke::Stack x) {
        // int previousCursorPosition(int, QTextLayout::CursorMode) const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::previousCursorPosition((int)x[1].s_int,(QTextLayout::CursorMode)x[2].s_enum);
        x[0].s_int = xret;
    }
    void x_31(Smoke::Stack x) {
        // int leftCursorPosition(int) const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::leftCursorPosition((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_32(Smoke::Stack x) {
        // int rightCursorPosition(int) const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::rightCursorPosition((int)x[1].s_int);
        x[0].s_int = xret;
    }
    void x_33(Smoke::Stack x) {
        // void draw(QPainter*, const QPointF&, const QVector<QTextLayout::FormatRange>&, const QRectF&) const
        ((const x_QTextLayout*)this)->QTextLayout::draw((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,*(const QVector<QTextLayout::FormatRange>*)x[3].s_class,*(const QRectF*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_34(Smoke::Stack x) {
        // void drawCursor(QPainter*, const QPointF&, int) const
        ((const x_QTextLayout*)this)->QTextLayout::drawCursor((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void drawCursor(QPainter*, const QPointF&, int, int) const
        ((const x_QTextLayout*)this)->QTextLayout::drawCursor((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,(int)x[3].s_int,(int)x[4].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // QPointF position() const
        QPointF xret = ((const x_QTextLayout*)this)->QTextLayout::position();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_37(Smoke::Stack x) {
        // void setPosition(const QPointF&)
        this->QTextLayout::setPosition(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // QRectF boundingRect() const
        QRectF xret = ((const x_QTextLayout*)this)->QTextLayout::boundingRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_39(Smoke::Stack x) {
        // double minimumWidth() const
        double xret = ((const x_QTextLayout*)this)->QTextLayout::minimumWidth();
        x[0].s_double = xret;
    }
    void x_40(Smoke::Stack x) {
        // double maximumWidth() const
        double xret = ((const x_QTextLayout*)this)->QTextLayout::maximumWidth();
        x[0].s_double = xret;
    }
    void x_41(Smoke::Stack x) {
        // QList<QGlyphRun> glyphRuns() const
        QList<QGlyphRun> xret = ((const x_QTextLayout*)this)->QTextLayout::glyphRuns();
        x[0].s_class = (void*)new QList<QGlyphRun>(xret);
    }
    void x_42(Smoke::Stack x) {
        // QTextEngine* engine() const
        QTextEngine* xret = ((const x_QTextLayout*)this)->QTextLayout::engine();
        x[0].s_class = (void*)xret;
    }
    void x_43(Smoke::Stack x) {
        // void setFlags(int)
        this->QTextLayout::setFlags((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_44(Smoke::Stack x) {
        // QTextLayout* QTextLayout(const QString&, const QFont&)
        x_QTextLayout* xret = new x_QTextLayout(*(const QString*)x[1].s_class,*(const QFont*)x[2].s_class,(QPaintDevice*)0);
        x[0].s_class = (void*)xret;
    }
    void x_45(Smoke::Stack x) {
        // int nextCursorPosition(int) const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::nextCursorPosition((int)x[1].s_int,(QTextLayout::CursorMode)QTextLayout::SkipCharacters);
        x[0].s_int = xret;
    }
    void x_46(Smoke::Stack x) {
        // int previousCursorPosition(int) const
        int xret = ((const x_QTextLayout*)this)->QTextLayout::previousCursorPosition((int)x[1].s_int,(QTextLayout::CursorMode)QTextLayout::SkipCharacters);
        x[0].s_int = xret;
    }
    void x_47(Smoke::Stack x) {
        // void draw(QPainter*, const QPointF&) const
        ((const x_QTextLayout*)this)->QTextLayout::draw((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,(const QVector<QTextLayout::FormatRange>&)QVector< QTextLayout::FormatRange >(),(const QRectF&)QRectF());
        (void)x; // noop (for compiler warning)
    }
    void x_48(Smoke::Stack x) {
        // void draw(QPainter*, const QPointF&, const QVector<QTextLayout::FormatRange>&) const
        ((const x_QTextLayout*)this)->QTextLayout::draw((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,*(const QVector<QTextLayout::FormatRange>*)x[3].s_class,(const QRectF&)QRectF());
        (void)x; // noop (for compiler warning)
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLayout::SkipCharacters;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLayout::SkipWords;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 977: //QTextLayout::CursorMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextLayout::CursorMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextLayout::CursorMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextLayout::CursorMode*)xdata = (QTextLayout::CursorMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextLayout::CursorMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextLayout() { this->_binding->deleted(404, (void*)this); }
};
void xenum_QTextLayout(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextLayout::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextLayout(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextLayout *xself = (x_QTextLayout*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextLayout::x_1(args);	break;
        case 2: x_QTextLayout::x_2(args);	break;
        case 3: x_QTextLayout::x_3(args);	break;
        case 4: x_QTextLayout::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: x_QTextLayout::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_QTextLayout::x_49(args);	break;
        case 50: x_QTextLayout::x_50(args);	break;
        case 51: delete (QTextLayout*)xself;	break;
    }
}
class x_QTextLayout__FormatRange : public QTextLayout::FormatRange {
    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) {
        // QTextLayout::FormatRange* FormatRange()
        x_QTextLayout__FormatRange* xret = new x_QTextLayout__FormatRange();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLayout__FormatRange() : FormatRange() {}
    static void x_2(Smoke::Stack x) {
        // QTextLayout::FormatRange* FormatRange(const QTextLayout::FormatRange&)
        x_QTextLayout__FormatRange* xret = new x_QTextLayout__FormatRange(*(const QTextLayout::FormatRange*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLayout__FormatRange(const QTextLayout::FormatRange& x1) : FormatRange(x1) {}
    void x_3(Smoke::Stack x) {
        // int start
        x[0].s_int = this->QTextLayout::FormatRange::start;
    }
    void x_4(Smoke::Stack x) {
        // int start=
        this->QTextLayout::FormatRange::start = (int)x[1].s_int;
    }
    void x_5(Smoke::Stack x) {
        // int length
        x[0].s_int = this->QTextLayout::FormatRange::length;
    }
    void x_6(Smoke::Stack x) {
        // int length=
        this->QTextLayout::FormatRange::length = (int)x[1].s_int;
    }
    void x_7(Smoke::Stack x) {
        // QTextCharFormat format
        x[0].s_class = (void*)&this->QTextLayout::FormatRange::format;
    }
    void x_8(Smoke::Stack x) {
        // QTextCharFormat format=
        this->QTextLayout::FormatRange::format = *(const QTextCharFormat*)x[1].s_class;
    }
    ~x_QTextLayout__FormatRange() { this->_binding->deleted(405, (void*)this); }
};
void xcall_QTextLayout__FormatRange(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextLayout__FormatRange *xself = (x_QTextLayout__FormatRange*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextLayout__FormatRange::x_1(args);	break;
        case 2: x_QTextLayout__FormatRange::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: delete (QTextLayout::FormatRange*)xself;	break;
    }
}
class x_QTextLength : public QTextLength {
    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) {
        // QTextLength* QTextLength()
        x_QTextLength* xret = new x_QTextLength();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLength() : QTextLength() {}
    static void x_2(Smoke::Stack x) {
        // QTextLength* QTextLength(QTextLength::Type, double)
        x_QTextLength* xret = new x_QTextLength((QTextLength::Type)x[1].s_enum,(double)x[2].s_double);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLength(QTextLength::Type x1, double x2) : QTextLength(x1, x2) {}
    void x_3(Smoke::Stack x) {
        // QTextLength::Type type() const
        QTextLength::Type xret = ((const x_QTextLength*)this)->QTextLength::type();
        x[0].s_enum = xret;
    }
    void x_4(Smoke::Stack x) {
        // double value(double) const
        double xret = ((const x_QTextLength*)this)->QTextLength::value((double)x[1].s_double);
        x[0].s_double = xret;
    }
    void x_5(Smoke::Stack x) {
        // double rawValue() const
        double xret = ((const x_QTextLength*)this)->QTextLength::rawValue();
        x[0].s_double = xret;
    }
    void x_6(Smoke::Stack x) {
        // bool operator==(const QTextLength&) const
        bool xret = ((const x_QTextLength*)this)->QTextLength::operator==(*(const QTextLength*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_7(Smoke::Stack x) {
        // bool operator!=(const QTextLength&) const
        bool xret = ((const x_QTextLength*)this)->QTextLength::operator!=(*(const QTextLength*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // QVariant operator QVariant() const
        QVariant xret = ((const x_QTextLength*)this)->QTextLength::operator QVariant();
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_9(Smoke::Stack x) {
        // QTextLength* QTextLength(const QTextLength&)
        x_QTextLength* xret = new x_QTextLength(*(const QTextLength*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLength(const QTextLength& x1) : QTextLength(x1) {}
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLength::VariableLength;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLength::FixedLength;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLength::PercentageLength;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 983: //QTextLength::Type
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextLength::Type;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextLength::Type*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextLength::Type*)xdata = (QTextLength::Type)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextLength::Type*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextLength() { this->_binding->deleted(406, (void*)this); }
};
void xenum_QTextLength(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextLength::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextLength(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextLength *xself = (x_QTextLength*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextLength::x_1(args);	break;
        case 2: x_QTextLength::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: x_QTextLength::x_9(args);	break;
        case 10: x_QTextLength::x_10(args);	break;
        case 11: x_QTextLength::x_11(args);	break;
        case 12: x_QTextLength::x_12(args);	break;
        case 13: delete (QTextLength*)xself;	break;
    }
}
class x_QTextLine : public QTextLine {
    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) {
        // QTextLine* QTextLine()
        x_QTextLine* xret = new x_QTextLine();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLine() : QTextLine() {}
    void x_2(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextLine*)this)->QTextLine::isValid();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // QRectF rect() const
        QRectF xret = ((const x_QTextLine*)this)->QTextLine::rect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_4(Smoke::Stack x) {
        // double x() const
        double xret = ((const x_QTextLine*)this)->QTextLine::x();
        x[0].s_double = xret;
    }
    void x_5(Smoke::Stack x) {
        // double y() const
        double xret = ((const x_QTextLine*)this)->QTextLine::y();
        x[0].s_double = xret;
    }
    void x_6(Smoke::Stack x) {
        // double width() const
        double xret = ((const x_QTextLine*)this)->QTextLine::width();
        x[0].s_double = xret;
    }
    void x_7(Smoke::Stack x) {
        // double ascent() const
        double xret = ((const x_QTextLine*)this)->QTextLine::ascent();
        x[0].s_double = xret;
    }
    void x_8(Smoke::Stack x) {
        // double descent() const
        double xret = ((const x_QTextLine*)this)->QTextLine::descent();
        x[0].s_double = xret;
    }
    void x_9(Smoke::Stack x) {
        // double height() const
        double xret = ((const x_QTextLine*)this)->QTextLine::height();
        x[0].s_double = xret;
    }
    void x_10(Smoke::Stack x) {
        // double leading() const
        double xret = ((const x_QTextLine*)this)->QTextLine::leading();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setLeadingIncluded(bool)
        this->QTextLine::setLeadingIncluded((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool leadingIncluded() const
        bool xret = ((const x_QTextLine*)this)->QTextLine::leadingIncluded();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // double naturalTextWidth() const
        double xret = ((const x_QTextLine*)this)->QTextLine::naturalTextWidth();
        x[0].s_double = xret;
    }
    void x_14(Smoke::Stack x) {
        // double horizontalAdvance() const
        double xret = ((const x_QTextLine*)this)->QTextLine::horizontalAdvance();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // QRectF naturalTextRect() const
        QRectF xret = ((const x_QTextLine*)this)->QTextLine::naturalTextRect();
        x[0].s_class = (void*)new QRectF(xret);
    }
    void x_16(Smoke::Stack x) {
        // double cursorToX(int*, QTextLine::Edge) const
        double xret = ((const x_QTextLine*)this)->QTextLine::cursorToX((int*)x[1].s_class,(QTextLine::Edge)x[2].s_enum);
        x[0].s_double = xret;
    }
    void x_17(Smoke::Stack x) {
        // double cursorToX(int, QTextLine::Edge) const
        double xret = ((const x_QTextLine*)this)->QTextLine::cursorToX((int)x[1].s_int,(QTextLine::Edge)x[2].s_enum);
        x[0].s_double = xret;
    }
    void x_18(Smoke::Stack x) {
        // int xToCursor(double, QTextLine::CursorPosition) const
        int xret = ((const x_QTextLine*)this)->QTextLine::xToCursor((double)x[1].s_double,(QTextLine::CursorPosition)x[2].s_enum);
        x[0].s_int = xret;
    }
    void x_19(Smoke::Stack x) {
        // void setLineWidth(double)
        this->QTextLine::setLineWidth((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setNumColumns(int)
        this->QTextLine::setNumColumns((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setNumColumns(int, double)
        this->QTextLine::setNumColumns((int)x[1].s_int,(double)x[2].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setPosition(const QPointF&)
        this->QTextLine::setPosition(*(const QPointF*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // QPointF position() const
        QPointF xret = ((const x_QTextLine*)this)->QTextLine::position();
        x[0].s_class = (void*)new QPointF(xret);
    }
    void x_24(Smoke::Stack x) {
        // int textStart() const
        int xret = ((const x_QTextLine*)this)->QTextLine::textStart();
        x[0].s_int = xret;
    }
    void x_25(Smoke::Stack x) {
        // int textLength() const
        int xret = ((const x_QTextLine*)this)->QTextLine::textLength();
        x[0].s_int = xret;
    }
    void x_26(Smoke::Stack x) {
        // int lineNumber() const
        int xret = ((const x_QTextLine*)this)->QTextLine::lineNumber();
        x[0].s_int = xret;
    }
    void x_27(Smoke::Stack x) {
        // void draw(QPainter*, const QPointF&, const QTextLayout::FormatRange*) const
        ((const x_QTextLine*)this)->QTextLine::draw((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,(const QTextLayout::FormatRange*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_28(Smoke::Stack x) {
        // QTextLine* QTextLine(const QTextLine&)
        x_QTextLine* xret = new x_QTextLine(*(const QTextLine*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextLine(const QTextLine& x1) : QTextLine(x1) {}
    void x_29(Smoke::Stack x) {
        // double cursorToX(int*) const
        double xret = ((const x_QTextLine*)this)->QTextLine::cursorToX((int*)x[1].s_class,(QTextLine::Edge)QTextLine::Leading);
        x[0].s_double = xret;
    }
    void x_30(Smoke::Stack x) {
        // double cursorToX(int) const
        double xret = ((const x_QTextLine*)this)->QTextLine::cursorToX((int)x[1].s_int,(QTextLine::Edge)QTextLine::Leading);
        x[0].s_double = xret;
    }
    void x_31(Smoke::Stack x) {
        // int xToCursor(double) const
        int xret = ((const x_QTextLine*)this)->QTextLine::xToCursor((double)x[1].s_double,(QTextLine::CursorPosition)QTextLine::CursorBetweenCharacters);
        x[0].s_int = xret;
    }
    void x_32(Smoke::Stack x) {
        // void draw(QPainter*, const QPointF&) const
        ((const x_QTextLine*)this)->QTextLine::draw((QPainter*)x[1].s_class,*(const QPointF*)x[2].s_class,(const QTextLayout::FormatRange*)0);
        (void)x; // noop (for compiler warning)
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLine::Leading;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLine::Trailing;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLine::CursorBetweenCharacters;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)QTextLine::CursorOnCharacter;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 987: //QTextLine::Edge
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextLine::Edge;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextLine::Edge*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextLine::Edge*)xdata = (QTextLine::Edge)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextLine::Edge*)xdata;
                    break;
            }
            break;
        case 986: //QTextLine::CursorPosition
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextLine::CursorPosition;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextLine::CursorPosition*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextLine::CursorPosition*)xdata = (QTextLine::CursorPosition)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextLine::CursorPosition*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextLine() { this->_binding->deleted(407, (void*)this); }
};
void xenum_QTextLine(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextLine::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextLine(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextLine *xself = (x_QTextLine*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextLine::x_1(args);	break;
        case 2: xself->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: 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: x_QTextLine::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: x_QTextLine::x_33(args);	break;
        case 34: x_QTextLine::x_34(args);	break;
        case 35: x_QTextLine::x_35(args);	break;
        case 36: x_QTextLine::x_36(args);	break;
        case 37: delete (QTextLine*)xself;	break;
    }
}
class x_QTextList : public QTextList, 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<QTextList*>(this))) {
            const QMetaObject* xret = ((const x_QTextList*)this)->QTextList::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTextList*)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<QTextList*>(this))) {
            void* xret = this->QTextList::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 = QTextList::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 = QTextList::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 = QTextList::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 = QTextList::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<QTextList*>(this))) {
            int xret = this->QTextList::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) {
        // QTextList* QTextList(QTextDocument*)
        x_QTextList* xret = new x_QTextList((QTextDocument*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextList(QTextDocument* x1) : QTextList(x1) {}
    void x_9(Smoke::Stack x) {
        // int count() const
        int xret = ((const x_QTextList*)this)->QTextList::count();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // bool isEmpty() const
        bool xret = ((const x_QTextList*)this)->QTextList::isEmpty();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // QTextBlock item(int) const
        QTextBlock xret = ((const x_QTextList*)this)->QTextList::item((int)x[1].s_int);
        x[0].s_class = (void*)new QTextBlock(xret);
    }
    void x_12(Smoke::Stack x) {
        // int itemNumber(const QTextBlock&) const
        int xret = ((const x_QTextList*)this)->QTextList::itemNumber(*(const QTextBlock*)x[1].s_class);
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // QString itemText(const QTextBlock&) const
        QString xret = ((const x_QTextList*)this)->QTextList::itemText(*(const QTextBlock*)x[1].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // void removeItem(int)
        this->QTextList::removeItem((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void remove(const QTextBlock&)
        this->QTextList::remove(*(const QTextBlock*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void add(const QTextBlock&)
        this->QTextList::add(*(const QTextBlock*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setFormat(const QTextListFormat&)
        this->QTextList::setFormat(*(const QTextListFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QTextListFormat format() const
        QTextListFormat xret = ((const x_QTextList*)this)->QTextList::format();
        x[0].s_class = (void*)new QTextListFormat(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTextList::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTextList::trUtf8((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 const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTextList::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14216, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTextList::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14217, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTextList::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(14222, (void*)this, x)) return (int)x[0].s_int;
        return this->QTextList::qt_metacall(x1, x2, x3);
    }
    virtual void blockInserted(const QTextBlock& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(13260, (void*)this, x)) return;
        this->QTextBlockGroup::blockInserted(x1);
    }
    virtual void blockRemoved(const QTextBlock& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(13261, (void*)this, x)) return;
        this->QTextBlockGroup::blockRemoved(x1);
    }
    virtual void blockFormatChanged(const QTextBlock& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(13262, (void*)this, x)) return;
        this->QTextBlockGroup::blockFormatChanged(x1);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QTextList() { this->_binding->deleted(408, (void*)this); }
};
void xcall_QTextList(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextList *xself = (x_QTextList*)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_QTextList::x_3(args);	break;
        case 4: x_QTextList::x_4(args);	break;
        case 5: x_QTextList::x_5(args);	break;
        case 6: x_QTextList::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTextList::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: x_QTextList::x_19(args);	break;
        case 20: x_QTextList::x_20(args);	break;
        case 21: x_QTextList::x_21(args);	break;
        case 22: delete (QTextList*)xself;	break;
    }
}
class x_QTextListFormat : public QTextListFormat {
    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) {
        // QTextListFormat* QTextListFormat()
        x_QTextListFormat* xret = new x_QTextListFormat();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextListFormat() : QTextListFormat() {}
    void x_2(Smoke::Stack x) {
        // bool isValid() const
        bool xret = ((const x_QTextListFormat*)this)->QTextListFormat::isValid();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // void setStyle(QTextListFormat::Style)
        this->QTextListFormat::setStyle((QTextListFormat::Style)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // QTextListFormat::Style style() const
        QTextListFormat::Style xret = ((const x_QTextListFormat*)this)->QTextListFormat::style();
        x[0].s_enum = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setIndent(int)
        this->QTextListFormat::setIndent((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // int indent() const
        int xret = ((const x_QTextListFormat*)this)->QTextListFormat::indent();
        x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setNumberPrefix(const QString&)
        this->QTextListFormat::setNumberPrefix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // QString numberPrefix() const
        QString xret = ((const x_QTextListFormat*)this)->QTextListFormat::numberPrefix();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_9(Smoke::Stack x) {
        // void setNumberSuffix(const QString&)
        this->QTextListFormat::setNumberSuffix(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString numberSuffix() const
        QString xret = ((const x_QTextListFormat*)this)->QTextListFormat::numberSuffix();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_11(Smoke::Stack x) {
        // QTextListFormat* QTextListFormat(const QTextFormat&)
        x_QTextListFormat* xret = new x_QTextListFormat(*(const QTextFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextListFormat(const QTextFormat& x1) : QTextListFormat(x1) {}
    static void x_12(Smoke::Stack x) {
        // QTextListFormat* QTextListFormat(const QTextListFormat&)
        x_QTextListFormat* xret = new x_QTextListFormat(*(const QTextListFormat*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextListFormat(const QTextListFormat& x1) : QTextListFormat(x1) {}
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListDisc;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListCircle;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListSquare;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListDecimal;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListLowerAlpha;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListUpperAlpha;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListLowerRoman;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListUpperRoman;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QTextListFormat::ListStyleUndefined;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 991: //QTextListFormat::Style
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextListFormat::Style;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextListFormat::Style*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextListFormat::Style*)xdata = (QTextListFormat::Style)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextListFormat::Style*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextListFormat() { this->_binding->deleted(409, (void*)this); }
};
void xenum_QTextListFormat(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextListFormat::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextListFormat(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextListFormat *xself = (x_QTextListFormat*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextListFormat::x_1(args);	break;
        case 2: xself->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: x_QTextListFormat::x_11(args);	break;
        case 12: x_QTextListFormat::x_12(args);	break;
        case 13: x_QTextListFormat::x_13(args);	break;
        case 14: x_QTextListFormat::x_14(args);	break;
        case 15: x_QTextListFormat::x_15(args);	break;
        case 16: x_QTextListFormat::x_16(args);	break;
        case 17: x_QTextListFormat::x_17(args);	break;
        case 18: x_QTextListFormat::x_18(args);	break;
        case 19: x_QTextListFormat::x_19(args);	break;
        case 20: x_QTextListFormat::x_20(args);	break;
        case 21: x_QTextListFormat::x_21(args);	break;
        case 22: delete (QTextListFormat*)xself;	break;
    }
}
class x_QTextObject : public QTextObject {
    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<QTextObject*>(this))) {
            const QMetaObject* xret = ((const x_QTextObject*)this)->QTextObject::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_QTextObject*)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<QTextObject*>(this))) {
            void* xret = this->QTextObject::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 = QTextObject::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 = QTextObject::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 = QTextObject::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 = QTextObject::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<QTextObject*>(this))) {
            int xret = this->QTextObject::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) {
        // QTextObject* QTextObject(QTextDocument*)
        x_QTextObject* xret = new x_QTextObject((QTextDocument*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextObject(QTextDocument* x1) : QTextObject(x1) {}
    void x_9(Smoke::Stack x) {
        // void setFormat(const QTextFormat&)
        this->QTextObject::setFormat(*(const QTextFormat*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QTextFormat format() const
        QTextFormat xret = ((const x_QTextObject*)this)->QTextObject::format();
        x[0].s_class = (void*)new QTextFormat(xret);
    }
    void x_11(Smoke::Stack x) {
        // int formatIndex() const
        int xret = ((const x_QTextObject*)this)->QTextObject::formatIndex();
        x[0].s_int = xret;
    }
    void x_12(Smoke::Stack x) {
        // QTextDocument* document() const
        QTextDocument* xret = ((const x_QTextObject*)this)->QTextObject::document();
        x[0].s_class = (void*)xret;
    }
    void x_13(Smoke::Stack x) {
        // int objectIndex() const
        int xret = ((const x_QTextObject*)this)->QTextObject::objectIndex();
        x[0].s_int = xret;
    }
    void x_14(Smoke::Stack x) {
        // QTextDocumentPrivate* docHandle() const
        QTextDocumentPrivate* xret = ((const x_QTextObject*)this)->QTextObject::docHandle();
        x[0].s_class = (void*)xret;
    }
    static void x_15(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = QTextObject::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = QTextObject::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_17(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&QTextObject::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(14260, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->QTextObject::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(14261, (void*)this, x)) return (void*)x[0].s_class;
        return this->QTextObject::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(14266, (void*)this, x)) return (int)x[0].s_int;
        return this->QTextObject::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(8374, (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(8375, (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(8376, (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(8377, (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(8378, (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(8379, (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(8380, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_QTextObject() { this->_binding->deleted(410, (void*)this); }
};
void xcall_QTextObject(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextObject *xself = (x_QTextObject*)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_QTextObject::x_3(args);	break;
        case 4: x_QTextObject::x_4(args);	break;
        case 5: x_QTextObject::x_5(args);	break;
        case 6: x_QTextObject::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_QTextObject::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: x_QTextObject::x_15(args);	break;
        case 16: x_QTextObject::x_16(args);	break;
        case 17: x_QTextObject::x_17(args);	break;
    }
}
class x_QTextObjectInterface : public QTextObjectInterface, 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 QSizeF intrinsicSize(QTextDocument*, int, const QTextFormat&) = 0
        QSizeF xret = this->intrinsicSize((QTextDocument*)x[1].s_class,(int)x[2].s_int,*(const QTextFormat*)x[3].s_class);
        x[0].s_class = (void*)new QSizeF(xret);
    }
    void x_2(Smoke::Stack x) {
        // virtual void drawObject(QPainter*, const QRectF&, QTextDocument*, int, const QTextFormat&) = 0
        this->drawObject((QPainter*)x[1].s_class,*(const QRectF*)x[2].s_class,(QTextDocument*)x[3].s_class,(int)x[4].s_int,*(const QTextFormat*)x[5].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_3(Smoke::Stack x) {
        // QTextObjectInterface* QTextObjectInterface()
        x_QTextObjectInterface* xret = new x_QTextObjectInterface();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextObjectInterface() : QTextObjectInterface() {}
    static void x_4(Smoke::Stack x) {
        // QTextObjectInterface* QTextObjectInterface(const QTextObjectInterface&)
        x_QTextObjectInterface* xret = new x_QTextObjectInterface(*(const QTextObjectInterface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextObjectInterface(const QTextObjectInterface& x1) : QTextObjectInterface(x1) {}
    virtual QSizeF intrinsicSize(QTextDocument* x1, int x2, const QTextFormat& x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        this->_binding->callMethod(14278, (void*)this, x, true /*pure virtual*/);
        QSizeF* xptr = (QSizeF*)x[0].s_class;
        QSizeF xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual void drawObject(QPainter* x1, const QRectF& x2, QTextDocument* x3, int x4, const QTextFormat& x5) {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)&x2;
        x[3].s_class = (void*)x3;
        x[4].s_int = x4;
        x[5].s_class = (void*)&x5;
        this->_binding->callMethod(14279, (void*)this, x, true /*pure virtual*/);
    }
    ~x_QTextObjectInterface() { this->_binding->deleted(411, (void*)this); }
};
void xcall_QTextObjectInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextObjectInterface *xself = (x_QTextObjectInterface*)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_QTextObjectInterface::x_3(args);	break;
        case 4: x_QTextObjectInterface::x_4(args);	break;
        case 5: delete (QTextObjectInterface*)xself;	break;
    }
}
class x_QTextOption : public QTextOption {
    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) {
        // QTextOption* QTextOption()
        x_QTextOption* xret = new x_QTextOption();
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextOption() : QTextOption() {}
    static void x_2(Smoke::Stack x) {
        // QTextOption* QTextOption(QFlags<Qt::AlignmentFlag>)
        x_QTextOption* xret = new x_QTextOption((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextOption(QFlags<Qt::AlignmentFlag> x1) : QTextOption(x1) {}
    static void x_3(Smoke::Stack x) {
        // QTextOption* QTextOption(const QTextOption&)
        x_QTextOption* xret = new x_QTextOption(*(const QTextOption*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_QTextOption(const QTextOption& x1) : QTextOption(x1) {}
    void x_4(Smoke::Stack x) {
        // QTextOption& operator=(const QTextOption&)
        QTextOption& xret = this->QTextOption::operator=(*(const QTextOption*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_5(Smoke::Stack x) {
        // void setAlignment(QFlags<Qt::AlignmentFlag>)
        this->QTextOption::setAlignment((QFlags<Qt::AlignmentFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // QFlags<Qt::AlignmentFlag> alignment() const
        QFlags<Qt::AlignmentFlag> xret = ((const x_QTextOption*)this)->QTextOption::alignment();
        x[0].s_uint = (uint)xret;
    }
    void x_7(Smoke::Stack x) {
        // void setTextDirection(Qt::LayoutDirection)
        this->QTextOption::setTextDirection((Qt::LayoutDirection)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // Qt::LayoutDirection textDirection() const
        Qt::LayoutDirection xret = ((const x_QTextOption*)this)->QTextOption::textDirection();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setWrapMode(QTextOption::WrapMode)
        this->QTextOption::setWrapMode((QTextOption::WrapMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QTextOption::WrapMode wrapMode() const
        QTextOption::WrapMode xret = ((const x_QTextOption*)this)->QTextOption::wrapMode();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setFlags(QFlags<QTextOption::Flag>)
        this->QTextOption::setFlags((QFlags<QTextOption::Flag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // QFlags<QTextOption::Flag> flags() const
        QFlags<QTextOption::Flag> xret = ((const x_QTextOption*)this)->QTextOption::flags();
        x[0].s_uint = (uint)xret;
    }
    void x_13(Smoke::Stack x) {
        // void setTabStop(double)
        this->QTextOption::setTabStop((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // double tabStop() const
        double xret = ((const x_QTextOption*)this)->QTextOption::tabStop();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setTabArray(QList<double>)
        this->QTextOption::setTabArray(*(QList<double>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // QList<double> tabArray() const
        QList<double> xret = ((const x_QTextOption*)this)->QTextOption::tabArray();
        x[0].s_class = (void*)new QList<double>(xret);
    }
    void x_17(Smoke::Stack x) {
        // void setTabs(QList<QTextOption::Tab>)
        this->QTextOption::setTabs(*(QList<QTextOption::Tab>*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // QList<QTextOption::Tab> tabs() const
        QList<QTextOption::Tab> xret = ((const x_QTextOption*)this)->QTextOption::tabs();
        x[0].s_class = (void*)new QList<QTextOption::Tab>(xret);
    }
    void x_19(Smoke::Stack x) {
        // void setUseDesignMetrics(bool)
        this->QTextOption::setUseDesignMetrics((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // bool useDesignMetrics() const
        bool xret = ((const x_QTextOption*)this)->QTextOption::useDesignMetrics();
        x[0].s_bool = xret;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::LeftTab;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::RightTab;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::CenterTab;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::DelimiterTab;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::NoWrap;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::WordWrap;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::ManualWrap;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::WrapAnywhere;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::WrapAtWordBoundaryOrAnywhere;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::ShowTabsAndSpaces;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::ShowLineAndParagraphSeparators;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::AddSpaceForLineAndParagraphSeparators;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::SuppressColors;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)QTextOption::IncludeTrailingSpaces;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 1000: //QTextOption::TabType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextOption::TabType;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextOption::TabType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextOption::TabType*)xdata = (QTextOption::TabType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextOption::TabType*)xdata;
                    break;
            }
            break;
        case 1001: //QTextOption::WrapMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextOption::WrapMode;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextOption::WrapMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextOption::WrapMode*)xdata = (QTextOption::WrapMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextOption::WrapMode*)xdata;
                    break;
            }
            break;
        case 997: //QTextOption::Flag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new QTextOption::Flag;
                    break;
                case Smoke::EnumDelete:
                    delete (QTextOption::Flag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(QTextOption::Flag*)xdata = (QTextOption::Flag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(QTextOption::Flag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_QTextOption() { this->_binding->deleted(412, (void*)this); }
};
void xenum_QTextOption(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_QTextOption::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_QTextOption(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextOption *xself = (x_QTextOption*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_QTextOption::x_1(args);	break;
        case 2: x_QTextOption::x_2(args);	break;
        case 3: x_QTextOption::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_QTextOption::x_21(args);	break;
        case 22: x_QTextOption::x_22(args);	break;
        case 23: x_QTextOption::x_23(args);	break;
        case 24: x_QTextOption::x_24(args);	break;
        case 25: x_QTextOption::x_25(args);	break;
        case 26: x_QTextOption::x_26(args);	break;
        case 27: x_QTextOption::x_27(args);	break;
        case 28: x_QTextOption::x_28(args);	break;
        case 29: x_QTextOption::x_29(args);	break;
        case 30: x_QTextOption::x_30(args);	break;
        case 31: x_QTextOption::x_31(args);	break;
        case 32: x_QTextOption::x_32(args);	break;
        case 33: x_QTextOption::x_33(args);	break;
        case 34: x_QTextOption::x_34(args);	break;
        case 35: delete (QTextOption*)xself;	break;
    }
}

}
