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

#include <smoke.h>
#include <kio_smoke.h>

class __internal_SmokeClass {};

namespace __smokekio {

class x_KDirModel : public KDirModel, 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<KDirModel*>(this))) {
            const QMetaObject* xret = ((const x_KDirModel*)this)->KDirModel::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDirModel*)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<KDirModel*>(this))) {
            void* xret = this->KDirModel::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 = KDirModel::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 = KDirModel::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 = KDirModel::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 = KDirModel::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<KDirModel*>(this))) {
            int xret = this->KDirModel::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) {
        // KDirModel* KDirModel(QObject*)
        x_KDirModel* xret = new x_KDirModel((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDirModel(QObject* x1) : KDirModel(x1) {}
    void x_9(Smoke::Stack x) {
        // void setDirLister(KDirLister*)
        this->KDirModel::setDirLister((KDirLister*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // KDirLister* dirLister() const
        KDirLister* xret = ((const x_KDirModel*)this)->KDirModel::dirLister();
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // KFileItem itemForIndex(const QModelIndex&) const
        KFileItem xret = ((const x_KDirModel*)this)->KDirModel::itemForIndex(*(const QModelIndex*)x[1].s_class);
        x[0].s_class = (void*)new KFileItem(xret);
    }
    void x_12(Smoke::Stack x) {
        // QModelIndex indexForItem(const KFileItem*) const
        QModelIndex xret = ((const x_KDirModel*)this)->KDirModel::indexForItem((const KFileItem*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_13(Smoke::Stack x) {
        // QModelIndex indexForItem(const KFileItem&) const
        QModelIndex xret = ((const x_KDirModel*)this)->KDirModel::indexForItem(*(const KFileItem*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_14(Smoke::Stack x) {
        // QModelIndex indexForUrl(const KUrl&) const
        QModelIndex xret = ((const x_KDirModel*)this)->KDirModel::indexForUrl(*(const KUrl*)x[1].s_class);
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_15(Smoke::Stack x) {
        // void expandToUrl(const KUrl&)
        this->KDirModel::expandToUrl(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void itemChanged(const QModelIndex&)
        this->KDirModel::itemChanged(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setDropsAllowed(QFlags<KDirModel::DropsAllowedFlag>)
        this->KDirModel::setDropsAllowed((QFlags<KDirModel::DropsAllowedFlag>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // virtual bool canFetchMore(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            bool xret = ((const x_KDirModel*)this)->KDirModel::canFetchMore(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KDirModel*)this)->canFetchMore(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_19(Smoke::Stack x) {
        // virtual int columnCount(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            int xret = ((const x_KDirModel*)this)->KDirModel::columnCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KDirModel*)this)->columnCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_20(Smoke::Stack x) {
        // virtual QVariant data(const QModelIndex&, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QVariant xret = ((const x_KDirModel*)this)->KDirModel::data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_KDirModel*)this)->data(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_21(Smoke::Stack x) {
        // virtual bool dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            bool xret = this->KDirModel::dropMimeData((const QMimeData*)x[1].s_class,(Qt::DropAction)x[2].s_enum,(int)x[3].s_int,(int)x[4].s_int,*(const QModelIndex*)x[5].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->dropMimeData((const QMimeData*)x[1].s_class,(Qt::DropAction)x[2].s_enum,(int)x[3].s_int,(int)x[4].s_int,*(const QModelIndex*)x[5].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_22(Smoke::Stack x) {
        // virtual void fetchMore(const QModelIndex&)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            this->KDirModel::fetchMore(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->fetchMore(*(const QModelIndex*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_23(Smoke::Stack x) {
        // virtual QFlags<Qt::ItemFlag> flags(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QFlags<Qt::ItemFlag> xret = ((const x_KDirModel*)this)->KDirModel::flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        } else {
            QFlags<Qt::ItemFlag> xret = ((const x_KDirModel*)this)->flags(*(const QModelIndex*)x[1].s_class);
            x[0].s_uint = (uint)xret;
        }
    }
    void x_24(Smoke::Stack x) {
        // virtual bool hasChildren(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            bool xret = ((const x_KDirModel*)this)->KDirModel::hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = ((const x_KDirModel*)this)->hasChildren(*(const QModelIndex*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    void x_25(Smoke::Stack x) {
        // virtual QVariant headerData(int, Qt::Orientation, int) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QVariant xret = ((const x_KDirModel*)this)->KDirModel::headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        } else {
            QVariant xret = ((const x_KDirModel*)this)->headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)x[3].s_int);
            x[0].s_class = (void*)new QVariant(xret);
        }
    }
    void x_26(Smoke::Stack x) {
        // virtual QModelIndex index(int, int, const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QModelIndex xret = ((const x_KDirModel*)this)->KDirModel::index((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_KDirModel*)this)->index((int)x[1].s_int,(int)x[2].s_int,*(const QModelIndex*)x[3].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_27(Smoke::Stack x) {
        // virtual QMimeData* mimeData(const QList<QModelIndex>&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QMimeData* xret = ((const x_KDirModel*)this)->KDirModel::mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        } else {
            QMimeData* xret = ((const x_KDirModel*)this)->mimeData(*(const QList<QModelIndex>*)x[1].s_class);
            x[0].s_class = (void*)xret;
        }
    }
    void x_28(Smoke::Stack x) {
        // virtual QStringList mimeTypes() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QStringList xret = ((const x_KDirModel*)this)->KDirModel::mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        } else {
            QStringList xret = ((const x_KDirModel*)this)->mimeTypes();
            x[0].s_class = (void*)new QStringList(xret);
        }
    }
    void x_29(Smoke::Stack x) {
        // virtual QModelIndex parent(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            QModelIndex xret = ((const x_KDirModel*)this)->KDirModel::parent(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        } else {
            QModelIndex xret = ((const x_KDirModel*)this)->parent(*(const QModelIndex*)x[1].s_class);
            x[0].s_class = (void*)new QModelIndex(xret);
        }
    }
    void x_30(Smoke::Stack x) {
        // virtual int rowCount(const QModelIndex&) const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            int xret = ((const x_KDirModel*)this)->KDirModel::rowCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        } else {
            int xret = ((const x_KDirModel*)this)->rowCount(*(const QModelIndex*)x[1].s_class);
            x[0].s_int = xret;
        }
    }
    void x_31(Smoke::Stack x) {
        // virtual bool setData(const QModelIndex&, const QVariant&, int)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            bool xret = this->KDirModel::setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)x[3].s_int);
            x[0].s_bool = xret;
        } else {
            bool xret = this->setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)x[3].s_int);
            x[0].s_bool = xret;
        }
    }
    void x_32(Smoke::Stack x) {
        // virtual void sort(int, Qt::SortOrder)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KDirModel*>(this))) {
            this->KDirModel::sort((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        } else {
            this->sort((int)x[1].s_int,(Qt::SortOrder)x[2].s_enum);
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_33(Smoke::Stack x) {
        // static KUrl::List simplifiedUrlList(const KUrl::List&)
        KUrl::List xret = KDirModel::simplifiedUrlList(*(const KUrl::List*)x[1].s_class);
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    void x_34(Smoke::Stack x) {
        // void requestSequenceIcon(const QModelIndex&, int)
        this->KDirModel::requestSequenceIcon(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void setJobTransfersVisible(bool)
        this->KDirModel::setJobTransfersVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // bool jobTransfersVisible() const
        bool xret = ((const x_KDirModel*)this)->KDirModel::jobTransfersVisible();
        x[0].s_bool = xret;
    }
    void x_37(Smoke::Stack x) {
        // void expand(const QModelIndex&)
        this->KDirModel::expand(*(const QModelIndex*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_38(Smoke::Stack x) {
        // void needSequenceIcon(const QModelIndex&, int)
        this->KDirModel::needSequenceIcon(*(const QModelIndex*)x[1].s_class,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_39(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDirModel::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDirModel::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_41(Smoke::Stack x) {
        // KDirModel* KDirModel()
        x_KDirModel* xret = new x_KDirModel((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_42(Smoke::Stack x) {
        // int columnCount() const
        int xret = ((const x_KDirModel*)this)->KDirModel::columnCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_43(Smoke::Stack x) {
        // QVariant data(const QModelIndex&) const
        QVariant xret = ((const x_KDirModel*)this)->KDirModel::data(*(const QModelIndex*)x[1].s_class,(int)Qt::DisplayRole);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_44(Smoke::Stack x) {
        // bool hasChildren() const
        bool xret = ((const x_KDirModel*)this)->KDirModel::hasChildren((const QModelIndex&)QModelIndex());
        x[0].s_bool = xret;
    }
    void x_45(Smoke::Stack x) {
        // QVariant headerData(int, Qt::Orientation) const
        QVariant xret = ((const x_KDirModel*)this)->KDirModel::headerData((int)x[1].s_int,(Qt::Orientation)x[2].s_enum,(int)Qt::DisplayRole);
        x[0].s_class = (void*)new QVariant(xret);
    }
    void x_46(Smoke::Stack x) {
        // QModelIndex index(int, int) const
        QModelIndex xret = ((const x_KDirModel*)this)->KDirModel::index((int)x[1].s_int,(int)x[2].s_int,(const QModelIndex&)QModelIndex());
        x[0].s_class = (void*)new QModelIndex(xret);
    }
    void x_47(Smoke::Stack x) {
        // int rowCount() const
        int xret = ((const x_KDirModel*)this)->KDirModel::rowCount((const QModelIndex&)QModelIndex());
        x[0].s_int = xret;
    }
    void x_48(Smoke::Stack x) {
        // bool setData(const QModelIndex&, const QVariant&)
        bool xret = this->KDirModel::setData(*(const QModelIndex*)x[1].s_class,*(const QVariant*)x[2].s_class,(int)Qt::EditRole);
        x[0].s_bool = xret;
    }
    void x_49(Smoke::Stack x) {
        // void sort(int)
        this->KDirModel::sort((int)x[1].s_int,(Qt::SortOrder)Qt::AscendingOrder);
        (void)x; // noop (for compiler warning)
    }
    static void x_50(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDirModel::staticMetaObject;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::Name;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::Size;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::ModifiedTime;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::Permissions;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::Owner;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::Group;
    }
    static void x_57(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::Type;
    }
    static void x_58(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::ColumnCount;
    }
    static void x_59(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::ChildCountUnknown;
    }
    static void x_60(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::FileItemRole;
    }
    static void x_61(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::ChildCountRole;
    }
    static void x_62(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::HasJobRole;
    }
    static void x_63(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::NoDrops;
    }
    static void x_64(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::DropOnDirectory;
    }
    static void x_65(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::DropOnAnyFile;
    }
    static void x_66(Smoke::Stack x) {
        x[0].s_enum = (long)KDirModel::DropOnLocalExecutable;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(772, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDirModel::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(773, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDirModel::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(778, (void*)this, x)) return (int)x[0].s_int;
        return this->KDirModel::qt_metacall(x1, x2, x3);
    }
    virtual bool canFetchMore(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(789, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KDirModel::canFetchMore(x1);
    }
    virtual int columnCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(790, (void*)this, x)) return (int)x[0].s_int;
        return this->KDirModel::columnCount(x1);
    }
    virtual QVariant data(const QModelIndex& x1, int x2) const {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        if (this->_binding->callMethod(791, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDirModel::data(x1, x2);
    }
    virtual bool dropMimeData(const QMimeData* x1, Qt::DropAction x2, int x3, int x4, const QModelIndex& x5) {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        x[4].s_int = x4;
        x[5].s_class = (void*)&x5;
        if (this->_binding->callMethod(792, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KDirModel::dropMimeData(x1, x2, x3, x4, x5);
    }
    virtual void fetchMore(const QModelIndex& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(793, (void*)this, x)) return;
        this->KDirModel::fetchMore(x1);
    }
    virtual QFlags<Qt::ItemFlag> flags(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(794, (void*)this, x)) return (QFlags<Qt::ItemFlag>)x[0].s_uint;
        return this->KDirModel::flags(x1);
    }
    virtual bool hasChildren(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(795, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KDirModel::hasChildren(x1);
    }
    virtual QVariant headerData(int x1, Qt::Orientation x2, int x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(796, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDirModel::headerData(x1, x2, x3);
    }
    virtual QModelIndex index(int x1, int x2, const QModelIndex& x3) const {
        Smoke::StackItem x[4];
        x[1].s_int = x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        if (this->_binding->callMethod(797, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDirModel::index(x1, x2, x3);
    }
    virtual QMimeData* mimeData(const QList<QModelIndex>& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(798, (void*)this, x)) return (QMimeData*)x[0].s_class;
        return this->KDirModel::mimeData(x1);
    }
    virtual QStringList mimeTypes() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(799, (void*)this, x)) {
            QStringList* xptr = (QStringList*)x[0].s_class;
            QStringList xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDirModel::mimeTypes();
    }
    virtual QModelIndex parent(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(800, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDirModel::parent(x1);
    }
    virtual int rowCount(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(801, (void*)this, x)) return (int)x[0].s_int;
        return this->KDirModel::rowCount(x1);
    }
    virtual bool setData(const QModelIndex& x1, const QVariant& x2, int x3) {
        Smoke::StackItem x[4];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        x[3].s_int = x3;
        if (this->_binding->callMethod(802, (void*)this, x)) return (bool)x[0].s_bool;
        return this->KDirModel::setData(x1, x2, x3);
    }
    virtual void sort(int x1, Qt::SortOrder x2) {
        Smoke::StackItem x[3];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        if (this->_binding->callMethod(803, (void*)this, x)) return;
        this->KDirModel::sort(x1, x2);
    }
    virtual bool setHeaderData(int x1, Qt::Orientation x2, const QVariant& x3, int x4) {
        Smoke::StackItem x[5];
        x[1].s_int = x1;
        x[2].s_enum = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        if (this->_binding->callMethod(3694, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::setHeaderData(x1, x2, x3, x4);
    }
    virtual QMap<int,QVariant> itemData(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3695, (void*)this, x)) {
            QMap<int,QVariant>* xptr = (QMap<int,QVariant>*)x[0].s_class;
            QMap<int,QVariant> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::itemData(x1);
    }
    virtual bool setItemData(const QModelIndex& x1, const QMap<int,QVariant>& x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_class = (void*)&x2;
        if (this->_binding->callMethod(3696, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::setItemData(x1, x2);
    }
    virtual QFlags<Qt::DropAction> supportedDropActions() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3700, (void*)this, x)) return (QFlags<Qt::DropAction>)x[0].s_uint;
        return this->QAbstractItemModel::supportedDropActions();
    }
    virtual QModelIndex buddy(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3709, (void*)this, x)) {
            QModelIndex* xptr = (QModelIndex*)x[0].s_class;
            QModelIndex xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::buddy(x1);
    }
    virtual QList<QModelIndex> match(const QModelIndex& x1, int x2, const QVariant& x3, int x4, QFlags<Qt::MatchFlag> x5) const {
        Smoke::StackItem x[6];
        x[1].s_class = (void*)&x1;
        x[2].s_int = x2;
        x[3].s_class = (void*)&x3;
        x[4].s_int = x4;
        x[5].s_uint = (uint)x5;
        if (this->_binding->callMethod(3710, (void*)this, x)) {
            QList<QModelIndex>* xptr = (QList<QModelIndex>*)x[0].s_class;
            QList<QModelIndex> xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::match(x1, x2, x3, x4, x5);
    }
    virtual QSize span(const QModelIndex& x1) const {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3711, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QAbstractItemModel::span(x1);
    }
    virtual bool submit() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3712, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QAbstractItemModel::submit();
    }
    virtual void revert() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3713, (void*)this, x)) return;
        this->QAbstractItemModel::revert();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 59: //KDirModel::ModelColumns
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDirModel::ModelColumns;
                    break;
                case Smoke::EnumDelete:
                    delete (KDirModel::ModelColumns*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDirModel::ModelColumns*)xdata = (KDirModel::ModelColumns)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDirModel::ModelColumns*)xdata;
                    break;
            }
            break;
        case 57: //KDirModel::AdditionalRoles
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDirModel::AdditionalRoles;
                    break;
                case Smoke::EnumDelete:
                    delete (KDirModel::AdditionalRoles*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDirModel::AdditionalRoles*)xdata = (KDirModel::AdditionalRoles)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDirModel::AdditionalRoles*)xdata;
                    break;
            }
            break;
        case 58: //KDirModel::DropsAllowedFlag
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDirModel::DropsAllowedFlag;
                    break;
                case Smoke::EnumDelete:
                    delete (KDirModel::DropsAllowedFlag*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDirModel::DropsAllowedFlag*)xdata = (KDirModel::DropsAllowedFlag)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDirModel::DropsAllowedFlag*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KDirModel() { this->_binding->deleted(47, (void*)this); }
};
void xenum_KDirModel(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KDirModel::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KDirModel(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDirModel *xself = (x_KDirModel*)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_KDirModel::x_3(args);	break;
        case 4: x_KDirModel::x_4(args);	break;
        case 5: x_KDirModel::x_5(args);	break;
        case 6: x_KDirModel::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDirModel::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: x_KDirModel::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: x_KDirModel::x_39(args);	break;
        case 40: x_KDirModel::x_40(args);	break;
        case 41: x_KDirModel::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: x_KDirModel::x_50(args);	break;
        case 51: x_KDirModel::x_51(args);	break;
        case 52: x_KDirModel::x_52(args);	break;
        case 53: x_KDirModel::x_53(args);	break;
        case 54: x_KDirModel::x_54(args);	break;
        case 55: x_KDirModel::x_55(args);	break;
        case 56: x_KDirModel::x_56(args);	break;
        case 57: x_KDirModel::x_57(args);	break;
        case 58: x_KDirModel::x_58(args);	break;
        case 59: x_KDirModel::x_59(args);	break;
        case 60: x_KDirModel::x_60(args);	break;
        case 61: x_KDirModel::x_61(args);	break;
        case 62: x_KDirModel::x_62(args);	break;
        case 63: x_KDirModel::x_63(args);	break;
        case 64: x_KDirModel::x_64(args);	break;
        case 65: x_KDirModel::x_65(args);	break;
        case 66: x_KDirModel::x_66(args);	break;
        case 67: delete (KDirModel*)xself;	break;
    }
}
class x_KDirWatch : public KDirWatch, 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<KDirWatch*>(this))) {
            const QMetaObject* xret = ((const x_KDirWatch*)this)->KDirWatch::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDirWatch*)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<KDirWatch*>(this))) {
            void* xret = this->KDirWatch::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 = KDirWatch::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 = KDirWatch::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 = KDirWatch::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 = KDirWatch::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<KDirWatch*>(this))) {
            int xret = this->KDirWatch::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) {
        // KDirWatch* KDirWatch(QObject*)
        x_KDirWatch* xret = new x_KDirWatch((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDirWatch(QObject* x1) : KDirWatch(x1) {}
    void x_9(Smoke::Stack x) {
        // void addDir(const QString&, QFlags<KDirWatch::WatchMode>)
        this->KDirWatch::addDir(*(const QString*)x[1].s_class,(QFlags<KDirWatch::WatchMode>)x[2].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // void addFile(const QString&)
        this->KDirWatch::addFile(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // QDateTime ctime(const QString&) const
        QDateTime xret = ((const x_KDirWatch*)this)->KDirWatch::ctime(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QDateTime(xret);
    }
    void x_12(Smoke::Stack x) {
        // void removeDir(const QString&)
        this->KDirWatch::removeDir(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void removeFile(const QString&)
        this->KDirWatch::removeFile(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // bool stopDirScan(const QString&)
        bool xret = this->KDirWatch::stopDirScan(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // bool restartDirScan(const QString&)
        bool xret = this->KDirWatch::restartDirScan(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // void startScan(bool, bool)
        this->KDirWatch::startScan((bool)x[1].s_bool,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void stopScan()
        this->KDirWatch::stopScan();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // bool isStopped()
        bool xret = this->KDirWatch::isStopped();
        x[0].s_bool = xret;
    }
    void x_19(Smoke::Stack x) {
        // bool contains(const QString&) const
        bool xret = ((const x_KDirWatch*)this)->KDirWatch::contains(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void deleteQFSWatcher()
        this->KDirWatch::deleteQFSWatcher();
        (void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
        // static void statistics()
        KDirWatch::statistics();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // KDirWatch::Method internalMethod()
        KDirWatch::Method xret = this->KDirWatch::internalMethod();
        x[0].s_enum = xret;
    }
    static void x_23(Smoke::Stack x) {
        // static KDirWatch* self()
        KDirWatch* xret = KDirWatch::self();
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static bool exists()
        bool xret = KDirWatch::exists();
        x[0].s_bool = xret;
    }
    void x_25(Smoke::Stack x) {
        // void setCreated(const QString&)
        this->KDirWatch::setCreated(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setDirty(const QString&)
        this->KDirWatch::setDirty(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setDeleted(const QString&)
        this->KDirWatch::setDeleted(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void dirty(const QString&)
        this->KDirWatch::dirty(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // void created(const QString&)
        this->KDirWatch::created(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_30(Smoke::Stack x) {
        // void deleted(const QString&)
        this->KDirWatch::deleted(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_31(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDirWatch::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KDirWatch::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_33(Smoke::Stack x) {
        // KDirWatch* KDirWatch()
        x_KDirWatch* xret = new x_KDirWatch((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    void x_34(Smoke::Stack x) {
        // void addDir(const QString&)
        this->KDirWatch::addDir(*(const QString*)x[1].s_class,(QFlags<KDirWatch::WatchMode>)KDirWatch::WatchDirOnly);
        (void)x; // noop (for compiler warning)
    }
    void x_35(Smoke::Stack x) {
        // void startScan()
        this->KDirWatch::startScan((bool)false,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    void x_36(Smoke::Stack x) {
        // void startScan(bool)
        this->KDirWatch::startScan((bool)x[1].s_bool,(bool)false);
        (void)x; // noop (for compiler warning)
    }
    static void x_37(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDirWatch::staticMetaObject;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::WatchDirOnly;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::WatchFiles;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::WatchSubDirs;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::FAM;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::INotify;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::DNotify;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::Stat;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)KDirWatch::QFSWatch;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(839, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDirWatch::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(840, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDirWatch::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(845, (void*)this, x)) return (int)x[0].s_int;
        return this->KDirWatch::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 62: //KDirWatch::WatchMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDirWatch::WatchMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KDirWatch::WatchMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDirWatch::WatchMode*)xdata = (KDirWatch::WatchMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDirWatch::WatchMode*)xdata;
                    break;
            }
            break;
        case 61: //KDirWatch::Method
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KDirWatch::Method;
                    break;
                case Smoke::EnumDelete:
                    delete (KDirWatch::Method*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KDirWatch::Method*)xdata = (KDirWatch::Method)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KDirWatch::Method*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KDirWatch() { this->_binding->deleted(48, (void*)this); }
};
void xenum_KDirWatch(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KDirWatch::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KDirWatch(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDirWatch *xself = (x_KDirWatch*)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_KDirWatch::x_3(args);	break;
        case 4: x_KDirWatch::x_4(args);	break;
        case 5: x_KDirWatch::x_5(args);	break;
        case 6: x_KDirWatch::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDirWatch::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_KDirWatch::x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: x_KDirWatch::x_23(args);	break;
        case 24: x_KDirWatch::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_KDirWatch::x_31(args);	break;
        case 32: x_KDirWatch::x_32(args);	break;
        case 33: x_KDirWatch::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: x_KDirWatch::x_37(args);	break;
        case 38: x_KDirWatch::x_38(args);	break;
        case 39: x_KDirWatch::x_39(args);	break;
        case 40: x_KDirWatch::x_40(args);	break;
        case 41: x_KDirWatch::x_41(args);	break;
        case 42: x_KDirWatch::x_42(args);	break;
        case 43: x_KDirWatch::x_43(args);	break;
        case 44: x_KDirWatch::x_44(args);	break;
        case 45: x_KDirWatch::x_45(args);	break;
        case 46: delete (KDirWatch*)xself;	break;
    }
}
class x_KDiskFreeSpace : public KDiskFreeSpace, 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<KDiskFreeSpace*>(this))) {
            const QMetaObject* xret = ((const x_KDiskFreeSpace*)this)->KDiskFreeSpace::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KDiskFreeSpace*)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<KDiskFreeSpace*>(this))) {
            void* xret = this->KDiskFreeSpace::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 = KDiskFreeSpace::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 = KDiskFreeSpace::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 = KDiskFreeSpace::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 = KDiskFreeSpace::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<KDiskFreeSpace*>(this))) {
            int xret = this->KDiskFreeSpace::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) {
        // KDiskFreeSpace* KDiskFreeSpace(QObject*)
        x_KDiskFreeSpace* xret = new x_KDiskFreeSpace((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KDiskFreeSpace(QObject* x1) : KDiskFreeSpace(x1) {}
    void x_9(Smoke::Stack x) {
        // bool readDF(const QString&)
        bool xret = this->KDiskFreeSpace::readDF(*(const QString*)x[1].s_class);
        x[0].s_bool = xret;
    }
    static void x_10(Smoke::Stack x) {
        // static KDiskFreeSpace* findUsageInfo(const QString&)
        KDiskFreeSpace* xret = KDiskFreeSpace::findUsageInfo(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    void x_11(Smoke::Stack x) {
        // void foundMountPoint(const QString&, quint64, quint64, quint64)
        this->KDiskFreeSpace::foundMountPoint(*(const QString*)x[1].s_class,*(quint64*)x[2].s_class,*(quint64*)x[3].s_class,*(quint64*)x[4].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // void done()
        this->KDiskFreeSpace::done();
        (void)x; // noop (for compiler warning)
    }
    static void x_13(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KDiskFreeSpace::tr((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 QString trUtf8(const char*)
        QString xret = KDiskFreeSpace::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_15(Smoke::Stack x) {
        // KDiskFreeSpace* KDiskFreeSpace()
        x_KDiskFreeSpace* xret = new x_KDiskFreeSpace((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_16(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KDiskFreeSpace::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(885, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KDiskFreeSpace::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(886, (void*)this, x)) return (void*)x[0].s_class;
        return this->KDiskFreeSpace::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(891, (void*)this, x)) return (int)x[0].s_int;
        return this->KDiskFreeSpace::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3858, (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(3859, (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(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_KDiskFreeSpace() { this->_binding->deleted(49, (void*)this); }
};
void xcall_KDiskFreeSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KDiskFreeSpace *xself = (x_KDiskFreeSpace*)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_KDiskFreeSpace::x_3(args);	break;
        case 4: x_KDiskFreeSpace::x_4(args);	break;
        case 5: x_KDiskFreeSpace::x_5(args);	break;
        case 6: x_KDiskFreeSpace::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KDiskFreeSpace::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KDiskFreeSpace::x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: x_KDiskFreeSpace::x_13(args);	break;
        case 14: x_KDiskFreeSpace::x_14(args);	break;
        case 15: x_KDiskFreeSpace::x_15(args);	break;
        case 16: x_KDiskFreeSpace::x_16(args);	break;
        case 17: delete (KDiskFreeSpace*)xself;	break;
    }
}
class x_KEncodingFileDialog : public KEncodingFileDialog, 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<KEncodingFileDialog*>(this))) {
            const QMetaObject* xret = ((const x_KEncodingFileDialog*)this)->KEncodingFileDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KEncodingFileDialog*)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<KEncodingFileDialog*>(this))) {
            void* xret = this->KEncodingFileDialog::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 = KEncodingFileDialog::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 = KEncodingFileDialog::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 = KEncodingFileDialog::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 = KEncodingFileDialog::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<KEncodingFileDialog*>(this))) {
            int xret = this->KEncodingFileDialog::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) {
        // KEncodingFileDialog* KEncodingFileDialog(const QString&, const QString&, const QString&, const QString&, KFileDialog::OperationMode, QWidget*)
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(KFileDialog::OperationMode)x[5].s_enum,(QWidget*)x[6].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEncodingFileDialog(const QString& x1, const QString& x2, const QString& x3, const QString& x4, KFileDialog::OperationMode x5, QWidget* x6) : KEncodingFileDialog(x1, x2, x3, x4, x5, x6) {}
    void x_9(Smoke::Stack x) {
        // QString selectedEncoding() const
        QString xret = ((const x_KEncodingFileDialog*)this)->KEncodingFileDialog::selectedEncoding();
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNameAndEncoding(const QString&, const QString&, const QString&, QWidget*, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNamesAndEncoding(const QString&, const QString&, const QString&, QWidget*, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNamesAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlAndEncoding(const QString&, const QString&, const QString&, QWidget*, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlsAndEncoding(const QString&, const QString&, const QString&, QWidget*, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlsAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveFileNameAndEncoding(const QString&, const QString&, const QString&, QWidget*, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveUrlAndEncoding(const QString&, const QString&, const QString&, QWidget*, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,*(const QString*)x[5].s_class);
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KEncodingFileDialog::tr((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 QString trUtf8(const char*)
        QString xret = KEncodingFileDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // KEncodingFileDialog* KEncodingFileDialog()
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(KFileDialog::OperationMode)KFileDialog::Opening,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_19(Smoke::Stack x) {
        // KEncodingFileDialog* KEncodingFileDialog(const QString&)
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(KFileDialog::OperationMode)KFileDialog::Opening,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_20(Smoke::Stack x) {
        // KEncodingFileDialog* KEncodingFileDialog(const QString&, const QString&)
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(const QString&)QString(),(KFileDialog::OperationMode)KFileDialog::Opening,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // KEncodingFileDialog* KEncodingFileDialog(const QString&, const QString&, const QString&)
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(const QString&)QString(),(KFileDialog::OperationMode)KFileDialog::Opening,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_22(Smoke::Stack x) {
        // KEncodingFileDialog* KEncodingFileDialog(const QString&, const QString&, const QString&, const QString&)
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(KFileDialog::OperationMode)KFileDialog::Opening,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_23(Smoke::Stack x) {
        // KEncodingFileDialog* KEncodingFileDialog(const QString&, const QString&, const QString&, const QString&, KFileDialog::OperationMode)
        x_KEncodingFileDialog* xret = new x_KEncodingFileDialog(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,*(const QString*)x[4].s_class,(KFileDialog::OperationMode)x[5].s_enum,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_24(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNameAndEncoding()
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNameAndEncoding((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_25(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNameAndEncoding(const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNameAndEncoding(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_26(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNameAndEncoding(const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNameAndEncoding(const QString&, const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNameAndEncoding(const QString&, const QString&, const QString&, QWidget*)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNamesAndEncoding()
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNamesAndEncoding((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_30(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNamesAndEncoding(const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNamesAndEncoding(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNamesAndEncoding(const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNamesAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNamesAndEncoding(const QString&, const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNamesAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenFileNamesAndEncoding(const QString&, const QString&, const QString&, QWidget*)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenFileNamesAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_34(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlAndEncoding()
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlAndEncoding((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlAndEncoding(const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlAndEncoding(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlAndEncoding(const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlAndEncoding(const QString&, const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlAndEncoding(const QString&, const QString&, const QString&, QWidget*)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlsAndEncoding()
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlsAndEncoding((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlsAndEncoding(const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlsAndEncoding(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_41(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlsAndEncoding(const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlsAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_42(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlsAndEncoding(const QString&, const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlsAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_43(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getOpenUrlsAndEncoding(const QString&, const QString&, const QString&, QWidget*)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getOpenUrlsAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_44(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveFileNameAndEncoding()
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveFileNameAndEncoding((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_45(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveFileNameAndEncoding(const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveFileNameAndEncoding(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_46(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveFileNameAndEncoding(const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_47(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveFileNameAndEncoding(const QString&, const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_48(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveFileNameAndEncoding(const QString&, const QString&, const QString&, QWidget*)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveFileNameAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_49(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveUrlAndEncoding()
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveUrlAndEncoding((const QString&)QString(),(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_50(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveUrlAndEncoding(const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveUrlAndEncoding(*(const QString*)x[1].s_class,(const QString&)QString(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_51(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveUrlAndEncoding(const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_52(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveUrlAndEncoding(const QString&, const QString&, const QString&)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_53(Smoke::Stack x) {
        // static KEncodingFileDialog::Result getSaveUrlAndEncoding(const QString&, const QString&, const QString&, QWidget*)
        KEncodingFileDialog::Result xret = KEncodingFileDialog::getSaveUrlAndEncoding(*(const QString*)x[1].s_class,*(const QString*)x[2].s_class,*(const QString*)x[3].s_class,(QWidget*)x[4].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KEncodingFileDialog::Result(xret);
    }
    static void x_54(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KEncodingFileDialog::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(902, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KEncodingFileDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(903, (void*)this, x)) return (void*)x[0].s_class;
        return this->KEncodingFileDialog::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(908, (void*)this, x)) return (int)x[0].s_int;
        return this->KEncodingFileDialog::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(994, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KFileDialog::sizeHint();
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1027, (void*)this, x)) return;
        this->KFileDialog::keyPressEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1028, (void*)this, x)) return;
        this->KFileDialog::hideEvent(x1);
    }
    virtual void slotOk() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1029, (void*)this, x)) return;
        this->KFileDialog::slotOk();
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1030, (void*)this, x)) return;
        this->KFileDialog::accept();
    }
    virtual void slotCancel() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1031, (void*)this, x)) return;
        this->KFileDialog::slotCancel();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(677, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(678, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(679, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(680, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(682, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(684, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3780, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (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(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3789, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3790, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (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(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3788, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (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(3910, (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(3911, (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(3912, (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(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::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(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (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(3877, (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(3905, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_KEncodingFileDialog() { this->_binding->deleted(51, (void*)this); }
};
void xcall_KEncodingFileDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KEncodingFileDialog *xself = (x_KEncodingFileDialog*)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_KEncodingFileDialog::x_3(args);	break;
        case 4: x_KEncodingFileDialog::x_4(args);	break;
        case 5: x_KEncodingFileDialog::x_5(args);	break;
        case 6: x_KEncodingFileDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KEncodingFileDialog::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: x_KEncodingFileDialog::x_10(args);	break;
        case 11: x_KEncodingFileDialog::x_11(args);	break;
        case 12: x_KEncodingFileDialog::x_12(args);	break;
        case 13: x_KEncodingFileDialog::x_13(args);	break;
        case 14: x_KEncodingFileDialog::x_14(args);	break;
        case 15: x_KEncodingFileDialog::x_15(args);	break;
        case 16: x_KEncodingFileDialog::x_16(args);	break;
        case 17: x_KEncodingFileDialog::x_17(args);	break;
        case 18: x_KEncodingFileDialog::x_18(args);	break;
        case 19: x_KEncodingFileDialog::x_19(args);	break;
        case 20: x_KEncodingFileDialog::x_20(args);	break;
        case 21: x_KEncodingFileDialog::x_21(args);	break;
        case 22: x_KEncodingFileDialog::x_22(args);	break;
        case 23: x_KEncodingFileDialog::x_23(args);	break;
        case 24: x_KEncodingFileDialog::x_24(args);	break;
        case 25: x_KEncodingFileDialog::x_25(args);	break;
        case 26: x_KEncodingFileDialog::x_26(args);	break;
        case 27: x_KEncodingFileDialog::x_27(args);	break;
        case 28: x_KEncodingFileDialog::x_28(args);	break;
        case 29: x_KEncodingFileDialog::x_29(args);	break;
        case 30: x_KEncodingFileDialog::x_30(args);	break;
        case 31: x_KEncodingFileDialog::x_31(args);	break;
        case 32: x_KEncodingFileDialog::x_32(args);	break;
        case 33: x_KEncodingFileDialog::x_33(args);	break;
        case 34: x_KEncodingFileDialog::x_34(args);	break;
        case 35: x_KEncodingFileDialog::x_35(args);	break;
        case 36: x_KEncodingFileDialog::x_36(args);	break;
        case 37: x_KEncodingFileDialog::x_37(args);	break;
        case 38: x_KEncodingFileDialog::x_38(args);	break;
        case 39: x_KEncodingFileDialog::x_39(args);	break;
        case 40: x_KEncodingFileDialog::x_40(args);	break;
        case 41: x_KEncodingFileDialog::x_41(args);	break;
        case 42: x_KEncodingFileDialog::x_42(args);	break;
        case 43: x_KEncodingFileDialog::x_43(args);	break;
        case 44: x_KEncodingFileDialog::x_44(args);	break;
        case 45: x_KEncodingFileDialog::x_45(args);	break;
        case 46: x_KEncodingFileDialog::x_46(args);	break;
        case 47: x_KEncodingFileDialog::x_47(args);	break;
        case 48: x_KEncodingFileDialog::x_48(args);	break;
        case 49: x_KEncodingFileDialog::x_49(args);	break;
        case 50: x_KEncodingFileDialog::x_50(args);	break;
        case 51: x_KEncodingFileDialog::x_51(args);	break;
        case 52: x_KEncodingFileDialog::x_52(args);	break;
        case 53: x_KEncodingFileDialog::x_53(args);	break;
        case 54: x_KEncodingFileDialog::x_54(args);	break;
        case 55: delete (KEncodingFileDialog*)xself;	break;
    }
}
class x_KEncodingFileDialog__Result : public KEncodingFileDialog::Result {
    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) {
        // KEncodingFileDialog::Result* Result()
        x_KEncodingFileDialog__Result* xret = new x_KEncodingFileDialog__Result();
        x[0].s_class = (void*)xret;
    }
    explicit x_KEncodingFileDialog__Result() : Result() {}
    static void x_2(Smoke::Stack x) {
        // KEncodingFileDialog::Result* Result(const KEncodingFileDialog::Result&)
        x_KEncodingFileDialog__Result* xret = new x_KEncodingFileDialog__Result(*(const KEncodingFileDialog::Result*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KEncodingFileDialog__Result(const KEncodingFileDialog::Result& x1) : Result(x1) {}
    void x_3(Smoke::Stack x) {
        // QStringList fileNames
        x[0].s_class = (void*)&this->KEncodingFileDialog::Result::fileNames;
    }
    void x_4(Smoke::Stack x) {
        // QStringList fileNames=
        this->KEncodingFileDialog::Result::fileNames = *(const QStringList*)x[1].s_class;
    }
    void x_5(Smoke::Stack x) {
        // KUrl::List URLs
        x[0].s_class = (void*)&this->KEncodingFileDialog::Result::URLs;
    }
    void x_6(Smoke::Stack x) {
        // KUrl::List URLs=
        this->KEncodingFileDialog::Result::URLs = *(const KUrl::List*)x[1].s_class;
    }
    void x_7(Smoke::Stack x) {
        // QString encoding
        x[0].s_class = (void*)&this->KEncodingFileDialog::Result::encoding;
    }
    void x_8(Smoke::Stack x) {
        // QString encoding=
        this->KEncodingFileDialog::Result::encoding = *(const QString*)x[1].s_class;
    }
    ~x_KEncodingFileDialog__Result() { this->_binding->deleted(52, (void*)this); }
};
void xcall_KEncodingFileDialog__Result(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KEncodingFileDialog__Result *xself = (x_KEncodingFileDialog__Result*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KEncodingFileDialog__Result::x_1(args);	break;
        case 2: x_KEncodingFileDialog__Result::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 (KEncodingFileDialog::Result*)xself;	break;
    }
}
class x_KFileDialog : public KFileDialog, 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<KFileDialog*>(this))) {
            const QMetaObject* xret = ((const x_KFileDialog*)this)->KFileDialog::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_KFileDialog*)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<KFileDialog*>(this))) {
            void* xret = this->KFileDialog::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 = KFileDialog::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 = KFileDialog::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 = KFileDialog::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 = KFileDialog::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<KFileDialog*>(this))) {
            int xret = this->KFileDialog::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) {
        // KFileDialog* KFileDialog(const KUrl&, const QString&, QWidget*, QWidget*)
        x_KFileDialog* xret = new x_KFileDialog(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(QWidget*)x[4].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KFileDialog(const KUrl& x1, const QString& x2, QWidget* x3, QWidget* x4) : KFileDialog(x1, x2, x3, x4) {}
    void x_9(Smoke::Stack x) {
        // KUrl selectedUrl() const
        KUrl xret = ((const x_KFileDialog*)this)->KFileDialog::selectedUrl();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_10(Smoke::Stack x) {
        // KUrl::List selectedUrls() const
        KUrl::List xret = ((const x_KFileDialog*)this)->KFileDialog::selectedUrls();
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    void x_11(Smoke::Stack x) {
        // KUrl baseUrl() const
        KUrl xret = ((const x_KFileDialog*)this)->KFileDialog::baseUrl();
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString selectedFile() const
        QString xret = ((const x_KFileDialog*)this)->KFileDialog::selectedFile();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QStringList selectedFiles() const
        QStringList xret = ((const x_KFileDialog*)this)->KFileDialog::selectedFiles();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_14(Smoke::Stack x) {
        // void setUrl(const KUrl&, bool)
        this->KFileDialog::setUrl(*(const KUrl*)x[1].s_class,(bool)x[2].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setSelection(const QString&)
        this->KFileDialog::setSelection(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setOperationMode(KFileDialog::OperationMode)
        this->KFileDialog::setOperationMode((KFileDialog::OperationMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // KFileDialog::OperationMode operationMode() const
        KFileDialog::OperationMode xret = ((const x_KFileDialog*)this)->KFileDialog::operationMode();
        x[0].s_enum = xret;
    }
    void x_18(Smoke::Stack x) {
        // void setKeepLocation(bool)
        this->KFileDialog::setKeepLocation((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // bool keepsLocation() const
        bool xret = ((const x_KFileDialog*)this)->KFileDialog::keepsLocation();
        x[0].s_bool = xret;
    }
    void x_20(Smoke::Stack x) {
        // void setFilter(const QString&)
        this->KFileDialog::setFilter(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // QString currentFilter() const
        QString xret = ((const x_KFileDialog*)this)->KFileDialog::currentFilter();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_22(Smoke::Stack x) {
        // KSharedPtr<KMimeType> currentFilterMimeType()
        KSharedPtr<KMimeType> xret = this->KFileDialog::currentFilterMimeType();
        x[0].s_class = (void*)new KSharedPtr<KMimeType>(xret);
    }
    void x_23(Smoke::Stack x) {
        // void setMimeFilter(const QStringList&, const QString&)
        this->KFileDialog::setMimeFilter(*(const QStringList*)x[1].s_class,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // QString currentMimeFilter() const
        QString xret = ((const x_KFileDialog*)this)->KFileDialog::currentMimeFilter();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_25(Smoke::Stack x) {
        // void clearFilter()
        this->KFileDialog::clearFilter();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // void setPreviewWidget(KPreviewWidgetBase*)
        this->KFileDialog::setPreviewWidget((KPreviewWidgetBase*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
        // void setInlinePreviewShown(bool)
        this->KFileDialog::setInlinePreviewShown((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_28(Smoke::Stack x) {
        // void setConfirmOverwrite(bool)
        this->KFileDialog::setConfirmOverwrite((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_29(Smoke::Stack x) {
        // virtual QSize sizeHint() const
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileDialog*>(this))) {
            QSize xret = ((const x_KFileDialog*)this)->KFileDialog::sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        } else {
            QSize xret = ((const x_KFileDialog*)this)->sizeHint();
            x[0].s_class = (void*)new QSize(xret);
        }
    }
    static void x_30(Smoke::Stack x) {
        // static QString getOpenFileName(const KUrl&, const QString&, QWidget*, const QString&)
        QString xret = KFileDialog::getOpenFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_31(Smoke::Stack x) {
        // static QString getOpenFileNameWId(const KUrl&, const QString&, unsigned long, const QString&)
        QString xret = KFileDialog::getOpenFileNameWId(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned long)x[3].s_ulong,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_32(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const KUrl&, const QString&, QWidget*, const QString&)
        QStringList xret = KFileDialog::getOpenFileNames(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_33(Smoke::Stack x) {
        // static KUrl getOpenUrl(const KUrl&, const QString&, QWidget*, const QString&)
        KUrl xret = KFileDialog::getOpenUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_34(Smoke::Stack x) {
        // static KUrl::List getOpenUrls(const KUrl&, const QString&, QWidget*, const QString&)
        KUrl::List xret = KFileDialog::getOpenUrls(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    static void x_35(Smoke::Stack x) {
        // static QString getSaveFileName(const KUrl&, const QString&, QWidget*, const QString&)
        QString xret = KFileDialog::getSaveFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_36(Smoke::Stack x) {
        // static QString getSaveFileName(const KUrl&, const QString&, QWidget*, const QString&, QFlags<KFileDialog::Option>)
        QString xret = KFileDialog::getSaveFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class,(QFlags<KFileDialog::Option>)x[5].s_uint);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_37(Smoke::Stack x) {
        // static QString getSaveFileNameWId(const KUrl&, const QString&, unsigned long, const QString&)
        QString xret = KFileDialog::getSaveFileNameWId(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned long)x[3].s_ulong,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_38(Smoke::Stack x) {
        // static QString getSaveFileNameWId(const KUrl&, const QString&, unsigned long, const QString&, QFlags<KFileDialog::Option>)
        QString xret = KFileDialog::getSaveFileNameWId(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(unsigned long)x[3].s_ulong,*(const QString*)x[4].s_class,(QFlags<KFileDialog::Option>)x[5].s_uint);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_39(Smoke::Stack x) {
        // static KUrl getSaveUrl(const KUrl&, const QString&, QWidget*, const QString&)
        KUrl xret = KFileDialog::getSaveUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_40(Smoke::Stack x) {
        // static KUrl getSaveUrl(const KUrl&, const QString&, QWidget*, const QString&, QFlags<KFileDialog::Option>)
        KUrl xret = KFileDialog::getSaveUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,*(const QString*)x[4].s_class,(QFlags<KFileDialog::Option>)x[5].s_uint);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_41(Smoke::Stack x) {
        // static QString getExistingDirectory(const KUrl&, QWidget*, const QString&)
        QString xret = KFileDialog::getExistingDirectory(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_42(Smoke::Stack x) {
        // static KUrl getExistingDirectoryUrl(const KUrl&, QWidget*, const QString&)
        KUrl xret = KFileDialog::getExistingDirectoryUrl(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_43(Smoke::Stack x) {
        // static KUrl getImageOpenUrl(const KUrl&, QWidget*, const QString&)
        KUrl xret = KFileDialog::getImageOpenUrl(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,*(const QString*)x[3].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    void x_44(Smoke::Stack x) {
        // void setMode(QFlags<KFile::Mode>)
        this->KFileDialog::setMode((QFlags<KFile::Mode>)x[1].s_uint);
        (void)x; // noop (for compiler warning)
    }
    void x_45(Smoke::Stack x) {
        // QFlags<KFile::Mode> mode() const
        QFlags<KFile::Mode> xret = ((const x_KFileDialog*)this)->KFileDialog::mode();
        x[0].s_uint = (uint)xret;
    }
    void x_46(Smoke::Stack x) {
        // void setLocationLabel(const QString&)
        this->KFileDialog::setLocationLabel(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_47(Smoke::Stack x) {
        // KAbstractFileWidget* fileWidget()
        KAbstractFileWidget* xret = this->KFileDialog::fileWidget();
        x[0].s_class = (void*)xret;
    }
    void x_48(Smoke::Stack x) {
        // KToolBar* toolBar() const
        KToolBar* xret = ((const x_KFileDialog*)this)->KFileDialog::toolBar();
        x[0].s_class = (void*)xret;
    }
    void x_49(Smoke::Stack x) {
        // KPushButton* okButton() const
        KPushButton* xret = ((const x_KFileDialog*)this)->KFileDialog::okButton();
        x[0].s_class = (void*)xret;
    }
    void x_50(Smoke::Stack x) {
        // KPushButton* cancelButton() const
        KPushButton* xret = ((const x_KFileDialog*)this)->KFileDialog::cancelButton();
        x[0].s_class = (void*)xret;
    }
    void x_51(Smoke::Stack x) {
        // KUrlComboBox* locationEdit() const
        KUrlComboBox* xret = ((const x_KFileDialog*)this)->KFileDialog::locationEdit();
        x[0].s_class = (void*)xret;
    }
    void x_52(Smoke::Stack x) {
        // KFileFilterCombo* filterWidget() const
        KFileFilterCombo* xret = ((const x_KFileDialog*)this)->KFileDialog::filterWidget();
        x[0].s_class = (void*)xret;
    }
    void x_53(Smoke::Stack x) {
        // KActionCollection* actionCollection() const
        KActionCollection* xret = ((const x_KFileDialog*)this)->KFileDialog::actionCollection();
        x[0].s_class = (void*)xret;
    }
    static void x_54(Smoke::Stack x) {
        // static KUrl getStartUrl(const KUrl&, QString&)
        KUrl xret = KFileDialog::getStartUrl(*(const KUrl*)x[1].s_class,*(QString*)x[2].s_class);
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_55(Smoke::Stack x) {
        // static void setStartDir(const KUrl&)
        KFileDialog::setStartDir(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_56(Smoke::Stack x) {
        // void fileSelected(const KUrl&)
        this->KFileDialog::fileSelected(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_57(Smoke::Stack x) {
        // void fileSelected(const QString&)
        this->KFileDialog::fileSelected(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_58(Smoke::Stack x) {
        // void fileHighlighted(const KUrl&)
        this->KFileDialog::fileHighlighted(*(const KUrl*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_59(Smoke::Stack x) {
        // void fileHighlighted(const QString&)
        this->KFileDialog::fileHighlighted(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_60(Smoke::Stack x) {
        // void selectionChanged()
        this->KFileDialog::selectionChanged();
        (void)x; // noop (for compiler warning)
    }
    void x_61(Smoke::Stack x) {
        // void filterChanged(const QString&)
        this->KFileDialog::filterChanged(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_62(Smoke::Stack x) {
        // virtual void keyPressEvent(QKeyEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileDialog*>(this))) {
            this->KFileDialog::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_63(Smoke::Stack x) {
        // virtual void hideEvent(QHideEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileDialog*>(this))) {
            this->KFileDialog::hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->hideEvent((QHideEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_64(Smoke::Stack x) {
        // virtual void slotOk()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileDialog*>(this))) {
            this->KFileDialog::slotOk();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotOk();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_65(Smoke::Stack x) {
        // virtual void accept()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileDialog*>(this))) {
            this->KFileDialog::accept();
            (void)x; // noop (for compiler warning)
        } else {
            this->accept();
            (void)x; // noop (for compiler warning)
        }
    }
    void x_66(Smoke::Stack x) {
        // virtual void slotCancel()
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<KFileDialog*>(this))) {
            this->KFileDialog::slotCancel();
            (void)x; // noop (for compiler warning)
        } else {
            this->slotCancel();
            (void)x; // noop (for compiler warning)
        }
    }
    static void x_67(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = KFileDialog::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_68(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = KFileDialog::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_69(Smoke::Stack x) {
        // KFileDialog* KFileDialog(const KUrl&, const QString&, QWidget*)
        x_KFileDialog* xret = new x_KFileDialog(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    void x_70(Smoke::Stack x) {
        // void setUrl(const KUrl&)
        this->KFileDialog::setUrl(*(const KUrl*)x[1].s_class,(bool)true);
        (void)x; // noop (for compiler warning)
    }
    void x_71(Smoke::Stack x) {
        // void setMimeFilter(const QStringList&)
        this->KFileDialog::setMimeFilter(*(const QStringList*)x[1].s_class,(const QString&)QString());
        (void)x; // noop (for compiler warning)
    }
    static void x_72(Smoke::Stack x) {
        // static QString getOpenFileName()
        QString xret = KFileDialog::getOpenFileName((const KUrl&)KUrl(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_73(Smoke::Stack x) {
        // static QString getOpenFileName(const KUrl&)
        QString xret = KFileDialog::getOpenFileName(*(const KUrl*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_74(Smoke::Stack x) {
        // static QString getOpenFileName(const KUrl&, const QString&)
        QString xret = KFileDialog::getOpenFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_75(Smoke::Stack x) {
        // static QString getOpenFileName(const KUrl&, const QString&, QWidget*)
        QString xret = KFileDialog::getOpenFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_76(Smoke::Stack x) {
        // static QStringList getOpenFileNames()
        QStringList xret = KFileDialog::getOpenFileNames((const KUrl&)KUrl(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_77(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const KUrl&)
        QStringList xret = KFileDialog::getOpenFileNames(*(const KUrl*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_78(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const KUrl&, const QString&)
        QStringList xret = KFileDialog::getOpenFileNames(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_79(Smoke::Stack x) {
        // static QStringList getOpenFileNames(const KUrl&, const QString&, QWidget*)
        QStringList xret = KFileDialog::getOpenFileNames(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_80(Smoke::Stack x) {
        // static KUrl getOpenUrl()
        KUrl xret = KFileDialog::getOpenUrl((const KUrl&)KUrl(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_81(Smoke::Stack x) {
        // static KUrl getOpenUrl(const KUrl&)
        KUrl xret = KFileDialog::getOpenUrl(*(const KUrl*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_82(Smoke::Stack x) {
        // static KUrl getOpenUrl(const KUrl&, const QString&)
        KUrl xret = KFileDialog::getOpenUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_83(Smoke::Stack x) {
        // static KUrl getOpenUrl(const KUrl&, const QString&, QWidget*)
        KUrl xret = KFileDialog::getOpenUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_84(Smoke::Stack x) {
        // static KUrl::List getOpenUrls()
        KUrl::List xret = KFileDialog::getOpenUrls((const KUrl&)KUrl(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    static void x_85(Smoke::Stack x) {
        // static KUrl::List getOpenUrls(const KUrl&)
        KUrl::List xret = KFileDialog::getOpenUrls(*(const KUrl*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    static void x_86(Smoke::Stack x) {
        // static KUrl::List getOpenUrls(const KUrl&, const QString&)
        KUrl::List xret = KFileDialog::getOpenUrls(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    static void x_87(Smoke::Stack x) {
        // static KUrl::List getOpenUrls(const KUrl&, const QString&, QWidget*)
        KUrl::List xret = KFileDialog::getOpenUrls(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KUrl::List(xret);
    }
    static void x_88(Smoke::Stack x) {
        // static QString getSaveFileName()
        QString xret = KFileDialog::getSaveFileName((const KUrl&)KUrl(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_89(Smoke::Stack x) {
        // static QString getSaveFileName(const KUrl&)
        QString xret = KFileDialog::getSaveFileName(*(const KUrl*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_90(Smoke::Stack x) {
        // static QString getSaveFileName(const KUrl&, const QString&)
        QString xret = KFileDialog::getSaveFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_91(Smoke::Stack x) {
        // static QString getSaveFileName(const KUrl&, const QString&, QWidget*)
        QString xret = KFileDialog::getSaveFileName(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_92(Smoke::Stack x) {
        // static KUrl getSaveUrl()
        KUrl xret = KFileDialog::getSaveUrl((const KUrl&)KUrl(),(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_93(Smoke::Stack x) {
        // static KUrl getSaveUrl(const KUrl&)
        KUrl xret = KFileDialog::getSaveUrl(*(const KUrl*)x[1].s_class,(const QString&)QString(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_94(Smoke::Stack x) {
        // static KUrl getSaveUrl(const KUrl&, const QString&)
        KUrl xret = KFileDialog::getSaveUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_95(Smoke::Stack x) {
        // static KUrl getSaveUrl(const KUrl&, const QString&, QWidget*)
        KUrl xret = KFileDialog::getSaveUrl(*(const KUrl*)x[1].s_class,*(const QString*)x[2].s_class,(QWidget*)x[3].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_96(Smoke::Stack x) {
        // static QString getExistingDirectory()
        QString xret = KFileDialog::getExistingDirectory((const KUrl&)KUrl(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_97(Smoke::Stack x) {
        // static QString getExistingDirectory(const KUrl&)
        QString xret = KFileDialog::getExistingDirectory(*(const KUrl*)x[1].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_98(Smoke::Stack x) {
        // static QString getExistingDirectory(const KUrl&, QWidget*)
        QString xret = KFileDialog::getExistingDirectory(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,(const QString&)QString());
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_99(Smoke::Stack x) {
        // static KUrl getExistingDirectoryUrl()
        KUrl xret = KFileDialog::getExistingDirectoryUrl((const KUrl&)KUrl(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_100(Smoke::Stack x) {
        // static KUrl getExistingDirectoryUrl(const KUrl&)
        KUrl xret = KFileDialog::getExistingDirectoryUrl(*(const KUrl*)x[1].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_101(Smoke::Stack x) {
        // static KUrl getExistingDirectoryUrl(const KUrl&, QWidget*)
        KUrl xret = KFileDialog::getExistingDirectoryUrl(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_102(Smoke::Stack x) {
        // static KUrl getImageOpenUrl()
        KUrl xret = KFileDialog::getImageOpenUrl((const KUrl&)KUrl(),(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_103(Smoke::Stack x) {
        // static KUrl getImageOpenUrl(const KUrl&)
        KUrl xret = KFileDialog::getImageOpenUrl(*(const KUrl*)x[1].s_class,(QWidget*)0,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_104(Smoke::Stack x) {
        // static KUrl getImageOpenUrl(const KUrl&, QWidget*)
        KUrl xret = KFileDialog::getImageOpenUrl(*(const KUrl*)x[1].s_class,(QWidget*)x[2].s_class,(const QString&)QString());
        x[0].s_class = (void*)new KUrl(xret);
    }
    static void x_105(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&KFileDialog::staticMetaObject;
    }
    static void x_106(Smoke::Stack x) {
        x[0].s_enum = (long)KFileDialog::Other;
    }
    static void x_107(Smoke::Stack x) {
        x[0].s_enum = (long)KFileDialog::Opening;
    }
    static void x_108(Smoke::Stack x) {
        x[0].s_enum = (long)KFileDialog::Saving;
    }
    static void x_109(Smoke::Stack x) {
        x[0].s_enum = (long)KFileDialog::ConfirmOverwrite;
    }
    static void x_110(Smoke::Stack x) {
        x[0].s_enum = (long)KFileDialog::ShowInlinePreview;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(966, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->KFileDialog::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(967, (void*)this, x)) return (void*)x[0].s_class;
        return this->KFileDialog::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(972, (void*)this, x)) return (int)x[0].s_int;
        return this->KFileDialog::qt_metacall(x1, x2, x3);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(994, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KFileDialog::sizeHint();
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1027, (void*)this, x)) return;
        this->KFileDialog::keyPressEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1028, (void*)this, x)) return;
        this->KFileDialog::hideEvent(x1);
    }
    virtual void slotOk() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1029, (void*)this, x)) return;
        this->KFileDialog::slotOk();
    }
    virtual void accept() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1030, (void*)this, x)) return;
        this->KFileDialog::accept();
    }
    virtual void slotCancel() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(1031, (void*)this, x)) return;
        this->KFileDialog::slotCancel();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(677, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->KDialog::minimumSizeHint();
    }
    virtual void setCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(678, (void*)this, x)) return;
        this->KDialog::setCaption(x1);
    }
    virtual void setCaption(const QString& x1, bool x2) {
        Smoke::StackItem x[3];
        x[1].s_class = (void*)&x1;
        x[2].s_bool = x2;
        if (this->_binding->callMethod(679, (void*)this, x)) return;
        this->KDialog::setCaption(x1, x2);
    }
    virtual void setPlainCaption(const QString& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(680, (void*)this, x)) return;
        this->KDialog::setPlainCaption(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(682, (void*)this, x)) return;
        this->KDialog::closeEvent(x1);
    }
    virtual void slotButtonClicked(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(684, (void*)this, x)) return;
        this->KDialog::slotButtonClicked(x1);
    }
    virtual void done(int x1) {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3783, (void*)this, x)) return;
        this->QDialog::done(x1);
    }
    virtual void reject() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3785, (void*)this, x)) return;
        this->QDialog::reject();
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3780, (void*)this, x)) return;
        this->QDialog::setVisible(x1);
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(3876, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::heightForWidth(x1);
    }
    virtual void mousePressEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3879, (void*)this, x)) return;
        this->QWidget::mousePressEvent(x1);
    }
    virtual void mouseReleaseEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3880, (void*)this, x)) return;
        this->QWidget::mouseReleaseEvent(x1);
    }
    virtual void mouseDoubleClickEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3881, (void*)this, x)) return;
        this->QWidget::mouseDoubleClickEvent(x1);
    }
    virtual void mouseMoveEvent(QMouseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3882, (void*)this, x)) return;
        this->QWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3883, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3885, (void*)this, x)) return;
        this->QWidget::keyReleaseEvent(x1);
    }
    virtual void focusInEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3886, (void*)this, x)) return;
        this->QWidget::focusInEvent(x1);
    }
    virtual void focusOutEvent(QFocusEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3887, (void*)this, x)) return;
        this->QWidget::focusOutEvent(x1);
    }
    virtual void enterEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3888, (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(3889, (void*)this, x)) return;
        this->QWidget::leaveEvent(x1);
    }
    virtual void paintEvent(QPaintEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3890, (void*)this, x)) return;
        this->QWidget::paintEvent(x1);
    }
    virtual void moveEvent(QMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3891, (void*)this, x)) return;
        this->QWidget::moveEvent(x1);
    }
    virtual void resizeEvent(QResizeEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3789, (void*)this, x)) return;
        this->QDialog::resizeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3790, (void*)this, x)) return;
        this->QDialog::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3895, (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(3896, (void*)this, x)) return;
        this->QWidget::actionEvent(x1);
    }
    virtual void dragEnterEvent(QDragEnterEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3897, (void*)this, x)) return;
        this->QWidget::dragEnterEvent(x1);
    }
    virtual void dragMoveEvent(QDragMoveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3898, (void*)this, x)) return;
        this->QWidget::dragMoveEvent(x1);
    }
    virtual void dragLeaveEvent(QDragLeaveEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3899, (void*)this, x)) return;
        this->QWidget::dragLeaveEvent(x1);
    }
    virtual void dropEvent(QDropEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3900, (void*)this, x)) return;
        this->QWidget::dropEvent(x1);
    }
    virtual void showEvent(QShowEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3788, (void*)this, x)) return;
        this->QDialog::showEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3903, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::x11Event(x1);
    }
    virtual void changeEvent(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3904, (void*)this, x)) return;
        this->QWidget::changeEvent(x1);
    }
    virtual void inputMethodEvent(QInputMethodEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3906, (void*)this, x)) return;
        this->QWidget::inputMethodEvent(x1);
    }
    virtual QVariant inputMethodQuery(Qt::InputMethodQuery x1) const {
        Smoke::StackItem x[2];
        x[1].s_enum = x1;
        if (this->_binding->callMethod(3907, (void*)this, x)) {
            QVariant* xptr = (QVariant*)x[0].s_class;
            QVariant xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::inputMethodQuery(x1);
    }
    virtual bool focusNextPrevChild(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(3908, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::focusNextPrevChild(x1);
    }
    virtual void styleChange(QStyle& x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)&x1;
        if (this->_binding->callMethod(3909, (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(3910, (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(3911, (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(3912, (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(3913, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3914, (void*)this, x)) return;
        this->QWidget::languageChange();
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3878, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QWidget::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(3791, (void*)this, x)) return (bool)x[0].s_bool;
        return this->QDialog::eventFilter(x1, x2);
    }
    virtual void timerEvent(QTimerEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(3860, (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(3861, (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(3862, (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(3863, (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(3864, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(3872, (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(3877, (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(3905, (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 69: //KFileDialog::OperationMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KFileDialog::OperationMode;
                    break;
                case Smoke::EnumDelete:
                    delete (KFileDialog::OperationMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KFileDialog::OperationMode*)xdata = (KFileDialog::OperationMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KFileDialog::OperationMode*)xdata;
                    break;
            }
            break;
        case 70: //KFileDialog::Option
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new KFileDialog::Option;
                    break;
                case Smoke::EnumDelete:
                    delete (KFileDialog::Option*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(KFileDialog::Option*)xdata = (KFileDialog::Option)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(KFileDialog::Option*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_KFileDialog() { this->_binding->deleted(53, (void*)this); }
};
void xenum_KFileDialog(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_KFileDialog::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_KFileDialog(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KFileDialog *xself = (x_KFileDialog*)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_KFileDialog::x_3(args);	break;
        case 4: x_KFileDialog::x_4(args);	break;
        case 5: x_KFileDialog::x_5(args);	break;
        case 6: x_KFileDialog::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_KFileDialog::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: x_KFileDialog::x_30(args);	break;
        case 31: x_KFileDialog::x_31(args);	break;
        case 32: x_KFileDialog::x_32(args);	break;
        case 33: x_KFileDialog::x_33(args);	break;
        case 34: x_KFileDialog::x_34(args);	break;
        case 35: x_KFileDialog::x_35(args);	break;
        case 36: x_KFileDialog::x_36(args);	break;
        case 37: x_KFileDialog::x_37(args);	break;
        case 38: x_KFileDialog::x_38(args);	break;
        case 39: x_KFileDialog::x_39(args);	break;
        case 40: x_KFileDialog::x_40(args);	break;
        case 41: x_KFileDialog::x_41(args);	break;
        case 42: x_KFileDialog::x_42(args);	break;
        case 43: x_KFileDialog::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: x_KFileDialog::x_54(args);	break;
        case 55: x_KFileDialog::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: x_KFileDialog::x_67(args);	break;
        case 68: x_KFileDialog::x_68(args);	break;
        case 69: x_KFileDialog::x_69(args);	break;
        case 70: xself->x_70(args);	break;
        case 71: xself->x_71(args);	break;
        case 72: x_KFileDialog::x_72(args);	break;
        case 73: x_KFileDialog::x_73(args);	break;
        case 74: x_KFileDialog::x_74(args);	break;
        case 75: x_KFileDialog::x_75(args);	break;
        case 76: x_KFileDialog::x_76(args);	break;
        case 77: x_KFileDialog::x_77(args);	break;
        case 78: x_KFileDialog::x_78(args);	break;
        case 79: x_KFileDialog::x_79(args);	break;
        case 80: x_KFileDialog::x_80(args);	break;
        case 81: x_KFileDialog::x_81(args);	break;
        case 82: x_KFileDialog::x_82(args);	break;
        case 83: x_KFileDialog::x_83(args);	break;
        case 84: x_KFileDialog::x_84(args);	break;
        case 85: x_KFileDialog::x_85(args);	break;
        case 86: x_KFileDialog::x_86(args);	break;
        case 87: x_KFileDialog::x_87(args);	break;
        case 88: x_KFileDialog::x_88(args);	break;
        case 89: x_KFileDialog::x_89(args);	break;
        case 90: x_KFileDialog::x_90(args);	break;
        case 91: x_KFileDialog::x_91(args);	break;
        case 92: x_KFileDialog::x_92(args);	break;
        case 93: x_KFileDialog::x_93(args);	break;
        case 94: x_KFileDialog::x_94(args);	break;
        case 95: x_KFileDialog::x_95(args);	break;
        case 96: x_KFileDialog::x_96(args);	break;
        case 97: x_KFileDialog::x_97(args);	break;
        case 98: x_KFileDialog::x_98(args);	break;
        case 99: x_KFileDialog::x_99(args);	break;
        case 100: x_KFileDialog::x_100(args);	break;
        case 101: x_KFileDialog::x_101(args);	break;
        case 102: x_KFileDialog::x_102(args);	break;
        case 103: x_KFileDialog::x_103(args);	break;
        case 104: x_KFileDialog::x_104(args);	break;
        case 105: x_KFileDialog::x_105(args);	break;
        case 106: x_KFileDialog::x_106(args);	break;
        case 107: x_KFileDialog::x_107(args);	break;
        case 108: x_KFileDialog::x_108(args);	break;
        case 109: x_KFileDialog::x_109(args);	break;
        case 110: x_KFileDialog::x_110(args);	break;
        case 111: delete (KFileDialog*)xself;	break;
    }
}

}
