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

#include <smoke.h>
#include <ktexteditor_smoke.h>

class __internal_SmokeClass {};

namespace __smokektexteditor {

class x_KTextEditor__AnnotationInterface : public KTextEditor::AnnotationInterface, 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 void setAnnotationModel(KTextEditor::AnnotationModel*) = 0
        this->setAnnotationModel((KTextEditor::AnnotationModel*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual KTextEditor::AnnotationModel* annotationModel() const = 0
        KTextEditor::AnnotationModel* xret = ((const x_KTextEditor__AnnotationInterface*)this)->annotationModel();
        x[0].s_class = (void*)xret;
    }
    static void x_3(Smoke::Stack x) {
        // KTextEditor::AnnotationInterface* AnnotationInterface()
        x_KTextEditor__AnnotationInterface* xret = new x_KTextEditor__AnnotationInterface();
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__AnnotationInterface() : AnnotationInterface() {}
    static void x_4(Smoke::Stack x) {
        // KTextEditor::AnnotationInterface* AnnotationInterface(const KTextEditor::AnnotationInterface&)
        x_KTextEditor__AnnotationInterface* xret = new x_KTextEditor__AnnotationInterface(*(const KTextEditor::AnnotationInterface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__AnnotationInterface(const KTextEditor::AnnotationInterface& x1) : AnnotationInterface(x1) {}
    virtual void setAnnotationModel(KTextEditor::AnnotationModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(43, (void*)this, x, true /*pure virtual*/);
    }
    virtual KTextEditor::AnnotationModel* annotationModel() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(44, (void*)this, x, true /*pure virtual*/);
        return (KTextEditor::AnnotationModel*)x[0].s_class;
    }
    ~x_KTextEditor__AnnotationInterface() { this->_binding->deleted(21, (void*)this); }
};
void xcall_KTextEditor__AnnotationInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTextEditor__AnnotationInterface *xself = (x_KTextEditor__AnnotationInterface*)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_KTextEditor__AnnotationInterface::x_3(args);	break;
        case 4: x_KTextEditor__AnnotationInterface::x_4(args);	break;
        case 5: delete (KTextEditor::AnnotationInterface*)xself;	break;
    }
}
class x_KTextEditor__AnnotationModel : public KTextEditor::AnnotationModel, 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<KTextEditor::AnnotationModel*>(this))) {
            const QMetaObject* xret = ((const x_KTextEditor__AnnotationModel*)this)->KTextEditor::AnnotationModel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KTextEditor__AnnotationModel*)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<KTextEditor::AnnotationModel*>(this))) {
            void* xret = this->KTextEditor::AnnotationModel::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 = KTextEditor::AnnotationModel::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 = KTextEditor::AnnotationModel::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 = KTextEditor::AnnotationModel::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 = KTextEditor::AnnotationModel::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<KTextEditor::AnnotationModel*>(this))) {
            int xret = this->KTextEditor::AnnotationModel::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;
        }
    }
    void x_8(Smoke::Stack x) {
        // virtual QVariant data(int, Qt::ItemDataRole) const = 0
        QVariant xret = ((const x_KTextEditor__AnnotationModel*)this)->data((int)x[1].s_int,(Qt::ItemDataRole)x[2].s_enum);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_9(Smoke::Stack x) {
        // void reset()
        this->KTextEditor::AnnotationModel::reset();
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void lineChanged(int)
        this->KTextEditor::AnnotationModel::lineChanged((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
        // KTextEditor::AnnotationModel* AnnotationModel()
        x_KTextEditor__AnnotationModel* xret = new x_KTextEditor__AnnotationModel();
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__AnnotationModel() : AnnotationModel() {}
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KTextEditor::AnnotationModel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KTextEditor::AnnotationModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KTextEditor::AnnotationModel::staticMetaObject;
    }
    static void x_15(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::AnnotationModel::GroupIdentifierRole;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(48, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KTextEditor::AnnotationModel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(49, (void*)this, x)) return (void*)x[0].s_class;
        return this->KTextEditor::AnnotationModel::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(54, (void*)this, x)) return (int)x[0].s_int;
        return this->KTextEditor::AnnotationModel::qt_metacall(x1, x2, x3);
    }
    virtual QVariant data(int x1, Qt::ItemDataRole x2) const {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        this->_binding->callMethod(55, (void*)this, x, true /*pure virtual*/);
        QVariant* xptr = (QVariant*)x[0].s_class;
        QVariant xret(*xptr);
        delete xptr;
        return xret;
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1082, (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(1083, (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(1084, (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(1085, (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(1086, (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(1087, (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(1088, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KTextEditor__AnnotationModel() { this->_binding->deleted(22, (void*)this); }
};
void xcall_KTextEditor__AnnotationModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTextEditor__AnnotationModel *xself = (x_KTextEditor__AnnotationModel*)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_KTextEditor__AnnotationModel::x_3(args);	break;
        case 4: x_KTextEditor__AnnotationModel::x_4(args);	break;
        case 5: x_KTextEditor__AnnotationModel::x_5(args);	break;
        case 6: x_KTextEditor__AnnotationModel::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_KTextEditor__AnnotationModel::x_11(args);	break;
        case 12: x_KTextEditor__AnnotationModel::x_12(args);	break;
        case 13: x_KTextEditor__AnnotationModel::x_13(args);	break;
        case 14: x_KTextEditor__AnnotationModel::x_14(args);	break;
        case 15: x_KTextEditor__AnnotationModel::x_15(args);	break;
        case 16: delete (KTextEditor::AnnotationModel*)xself;	break;
    }
}
class x_KTextEditor__AnnotationViewInterface : public KTextEditor::AnnotationViewInterface, 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 void setAnnotationBorderVisible(bool) = 0
        this->setAnnotationBorderVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_2(Smoke::Stack x) {
        // virtual bool isAnnotationBorderVisible() const = 0
        bool xret = ((const x_KTextEditor__AnnotationViewInterface*)this)->isAnnotationBorderVisible();
        x[0].s_bool = xret;
    }
    void x_3(Smoke::Stack x) {
        // virtual void annotationContextMenuAboutToShow(KTextEditor::View*, QMenu*, int) = 0
        this->annotationContextMenuAboutToShow((KTextEditor::View*)x[1].s_class,(QMenu*)x[2].s_class,(int)x[3].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_4(Smoke::Stack x) {
        // virtual void annotationActivated(KTextEditor::View*, int) = 0
        this->annotationActivated((KTextEditor::View*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // virtual void annotationBorderVisibilityChanged(KTextEditor::View*, bool) = 0
        this->annotationBorderVisibilityChanged((KTextEditor::View*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
        // KTextEditor::AnnotationViewInterface* AnnotationViewInterface()
        x_KTextEditor__AnnotationViewInterface* xret = new x_KTextEditor__AnnotationViewInterface();
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__AnnotationViewInterface() : AnnotationViewInterface() {}
    static void x_7(Smoke::Stack x) {
        // KTextEditor::AnnotationViewInterface* AnnotationViewInterface(const KTextEditor::AnnotationViewInterface&)
        x_KTextEditor__AnnotationViewInterface* xret = new x_KTextEditor__AnnotationViewInterface(*(const KTextEditor::AnnotationViewInterface*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__AnnotationViewInterface(const KTextEditor::AnnotationViewInterface& x1) : AnnotationViewInterface(x1) {}
    virtual void setAnnotationBorderVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        this->_binding->callMethod(64, (void*)this, x, true /*pure virtual*/);
    }
    virtual bool isAnnotationBorderVisible() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(65, (void*)this, x, true /*pure virtual*/);
        return (bool)x[0].s_bool;
    }
    virtual void annotationContextMenuAboutToShow(KTextEditor::View* x1, QMenu* x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)x1;
        x[2].s_class = (void*)x2;
        x[3].s_int = x3;
        this->_binding->callMethod(66, (void*)this, x, true /*pure virtual*/);
    }
    virtual void annotationActivated(KTextEditor::View* x1, int x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_int = x2;
        this->_binding->callMethod(67, (void*)this, x, true /*pure virtual*/);
    }
    virtual void annotationBorderVisibilityChanged(KTextEditor::View* x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)x1;
        x[2].s_bool = x2;
        this->_binding->callMethod(68, (void*)this, x, true /*pure virtual*/);
    }
    virtual void setAnnotationModel(KTextEditor::AnnotationModel* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        this->_binding->callMethod(43, (void*)this, x, true /*pure virtual*/);
    }
    virtual KTextEditor::AnnotationModel* annotationModel() const {
        Smoke::StackItem x[1];
        this->_binding->callMethod(44, (void*)this, x, true /*pure virtual*/);
        return (KTextEditor::AnnotationModel*)x[0].s_class;
    }
    ~x_KTextEditor__AnnotationViewInterface() { this->_binding->deleted(23, (void*)this); }
};
void xcall_KTextEditor__AnnotationViewInterface(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTextEditor__AnnotationViewInterface *xself = (x_KTextEditor__AnnotationViewInterface*)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: x_KTextEditor__AnnotationViewInterface::x_6(args);	break;
        case 7: x_KTextEditor__AnnotationViewInterface::x_7(args);	break;
        case 8: delete (KTextEditor::AnnotationViewInterface*)xself;	break;
    }
}
class x_KTextEditor__Attribute : public KTextEditor::Attribute, 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) {
        // KTextEditor::Attribute* Attribute()
        x_KTextEditor__Attribute* xret = new x_KTextEditor__Attribute();
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__Attribute() : Attribute() {}
    static void x_2(Smoke::Stack x) {
        // KTextEditor::Attribute* Attribute(const KTextEditor::Attribute&)
        x_KTextEditor__Attribute* xret = new x_KTextEditor__Attribute(*(const KTextEditor::Attribute*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KTextEditor__Attribute(const KTextEditor::Attribute& x1) : Attribute(x1) {}
    void x_3(Smoke::Stack x) {
        // bool fontBold() const
        bool xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::fontBold();
        x[0].s_bool = xret;
    }
    void x_4(Smoke::Stack x) {
        // void setFontBold(bool)
        this->KTextEditor::Attribute::setFontBold((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // QBrush outline() const
        QBrush xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::outline();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_6(Smoke::Stack x) {
        // void setOutline(const QBrush&)
        this->KTextEditor::Attribute::setOutline(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // QBrush selectedForeground() const
        QBrush xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::selectedForeground();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_8(Smoke::Stack x) {
        // void setSelectedForeground(const QBrush&)
        this->KTextEditor::Attribute::setSelectedForeground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // QBrush selectedBackground() const
        QBrush xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::selectedBackground();
        x[0].s_class = (void*)new QBrush(xret);
    }
    void x_10(Smoke::Stack x) {
        // void setSelectedBackground(const QBrush&)
        this->KTextEditor::Attribute::setSelectedBackground(*(const QBrush*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool backgroundFillWhitespace() const
        bool xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::backgroundFillWhitespace();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // void setBackgroundFillWhitespace(bool)
        this->KTextEditor::Attribute::setBackgroundFillWhitespace((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void clear()
        this->KTextEditor::Attribute::clear();
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool hasAnyProperty() const
        bool xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::hasAnyProperty();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // const QList<KAction*>& associatedActions() const
        const QList<KAction*>& xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::associatedActions();
        x[0].s_class = (void*)&xret;
    }
    void x_16(Smoke::Stack x) {
        // void clearAssociatedActions()
        this->KTextEditor::Attribute::clearAssociatedActions();
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // KSharedPtr<KTextEditor::Attribute> dynamicAttribute(KTextEditor::Attribute::ActivationType) const
        KSharedPtr<KTextEditor::Attribute> xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::dynamicAttribute((KTextEditor::Attribute::ActivationType)x[1].s_enum);
        x[0].s_class = (void*)new KSharedPtr<KTextEditor::Attribute>(xret);
    }
    void x_18(Smoke::Stack x) {
        // void setDynamicAttribute(KTextEditor::Attribute::ActivationType, KSharedPtr<KTextEditor::Attribute>)
        this->KTextEditor::Attribute::setDynamicAttribute((KTextEditor::Attribute::ActivationType)x[1].s_enum,*(KSharedPtr<KTextEditor::Attribute>*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // QFlags<KTextEditor::Attribute::Effect> effects() const
        QFlags<KTextEditor::Attribute::Effect> xret = ((const x_KTextEditor__Attribute*)this)->KTextEditor::Attribute::effects();
        x[0].s_uint = (uint)xret;
    }
    void x_20(Smoke::Stack x) {
        // void setEffects(QFlags<KTextEditor::Attribute::Effect>)
        this->KTextEditor::Attribute::setEffects((QFlags<KTextEditor::Attribute::Effect>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // KTextEditor::Attribute& operator+=(const KTextEditor::Attribute&)
        KTextEditor::Attribute& xret = this->KTextEditor::Attribute::operator+=(*(const KTextEditor::Attribute*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_22(Smoke::Stack x) {
        // KTextEditor::Attribute& operator=(const KTextEditor::Attribute&)
        KTextEditor::Attribute& xret = this->KTextEditor::Attribute::operator=(*(const KTextEditor::Attribute*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_23(Smoke::Stack x) {
        // void setFontBold()
        this->KTextEditor::Attribute::setFontBold((bool)true);
        (void)x; // noop (for compiler warning)
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::Outline;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::SelectedForeground;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::SelectedBackground;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::BackgroundFillWhitespace;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::AttributeDynamicEffect;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::AttributeInternalProperty;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::AttributeUserProperty;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::ActivateMouseIn;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::ActivateCaretIn;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::EffectNone;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::EffectFadeIn;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::EffectFadeOut;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::EffectPulse;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)KTextEditor::Attribute::EffectCycleGradient;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 27: //KTextEditor::Attribute::CustomProperties
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KTextEditor::Attribute::CustomProperties;
                    break;
                case Smoke::EnumDelete:
                    delete (KTextEditor::Attribute::CustomProperties*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KTextEditor::Attribute::CustomProperties*)xdata = (KTextEditor::Attribute::CustomProperties)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KTextEditor::Attribute::CustomProperties*)xdata;
                    break;
            }
            break;
        case 26: //KTextEditor::Attribute::ActivationType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KTextEditor::Attribute::ActivationType;
                    break;
                case Smoke::EnumDelete:
                    delete (KTextEditor::Attribute::ActivationType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KTextEditor::Attribute::ActivationType*)xdata = (KTextEditor::Attribute::ActivationType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KTextEditor::Attribute::ActivationType*)xdata;
                    break;
            }
            break;
        case 28: //KTextEditor::Attribute::Effect
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KTextEditor::Attribute::Effect;
                    break;
                case Smoke::EnumDelete:
                    delete (KTextEditor::Attribute::Effect*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KTextEditor::Attribute::Effect*)xdata = (KTextEditor::Attribute::Effect)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KTextEditor::Attribute::Effect*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KTextEditor__Attribute() { this->_binding->deleted(24, (void*)this); }
};
void xenum_KTextEditor__Attribute(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KTextEditor__Attribute::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KTextEditor__Attribute(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KTextEditor__Attribute *xself = (x_KTextEditor__Attribute*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KTextEditor__Attribute::x_1(args);	break;
        case 2: x_KTextEditor__Attribute::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: x_KTextEditor__Attribute::x_24(args);	break;
        case 25: x_KTextEditor__Attribute::x_25(args);	break;
        case 26: x_KTextEditor__Attribute::x_26(args);	break;
        case 27: x_KTextEditor__Attribute::x_27(args);	break;
        case 28: x_KTextEditor__Attribute::x_28(args);	break;
        case 29: x_KTextEditor__Attribute::x_29(args);	break;
        case 30: x_KTextEditor__Attribute::x_30(args);	break;
        case 31: x_KTextEditor__Attribute::x_31(args);	break;
        case 32: x_KTextEditor__Attribute::x_32(args);	break;
        case 33: x_KTextEditor__Attribute::x_33(args);	break;
        case 34: x_KTextEditor__Attribute::x_34(args);	break;
        case 35: x_KTextEditor__Attribute::x_35(args);	break;
        case 36: x_KTextEditor__Attribute::x_36(args);	break;
        case 37: x_KTextEditor__Attribute::x_37(args);	break;
        case 38: delete (KTextEditor::Attribute*)xself;	break;
    }
}

}
