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

#include <smoke.h>
#include <kparts_smoke.h>

class __internal_SmokeClass {};

namespace __smokekparts {

class x_KParts__OpenUrlArguments : public KParts::OpenUrlArguments {
    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) {
        // KParts::OpenUrlArguments* OpenUrlArguments()
        x_KParts__OpenUrlArguments* xret = new x_KParts__OpenUrlArguments();
        x[0].s_class = (void*)xret;
    }
    explicit x_KParts__OpenUrlArguments() : OpenUrlArguments() {}
    static void x_2(Smoke::Stack x) {
        // KParts::OpenUrlArguments* OpenUrlArguments(const KParts::OpenUrlArguments&)
        x_KParts__OpenUrlArguments* xret = new x_KParts__OpenUrlArguments(*(const KParts::OpenUrlArguments*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KParts__OpenUrlArguments(const KParts::OpenUrlArguments& x1) : OpenUrlArguments(x1) {}
    void x_3(Smoke::Stack x) {
        // KParts::OpenUrlArguments& operator=(const KParts::OpenUrlArguments&)
        KParts::OpenUrlArguments& xret = this->KParts::OpenUrlArguments::operator=(*(const KParts::OpenUrlArguments*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // bool reload() const
        bool xret = ((const x_KParts__OpenUrlArguments*)this)->KParts::OpenUrlArguments::reload();
        x[0].s_bool = xret;
    }
    void x_5(Smoke::Stack x) {
        // void setReload(bool)
        this->KParts::OpenUrlArguments::setReload((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_6(Smoke::Stack x) {
        // int xOffset() const
        int xret = ((const x_KParts__OpenUrlArguments*)this)->KParts::OpenUrlArguments::xOffset();
        x[0].s_int = xret;
    }
    void x_7(Smoke::Stack x) {
        // void setXOffset(int)
        this->KParts::OpenUrlArguments::setXOffset((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_8(Smoke::Stack x) {
        // int yOffset() const
        int xret = ((const x_KParts__OpenUrlArguments*)this)->KParts::OpenUrlArguments::yOffset();
        x[0].s_int = xret;
    }
    void x_9(Smoke::Stack x) {
        // void setYOffset(int)
        this->KParts::OpenUrlArguments::setYOffset((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_10(Smoke::Stack x) {
        // QString mimeType() const
        QString xret = ((const x_KParts__OpenUrlArguments*)this)->KParts::OpenUrlArguments::mimeType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // void setMimeType(const QString&)
        this->KParts::OpenUrlArguments::setMimeType(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // bool actionRequestedByUser() const
        bool xret = ((const x_KParts__OpenUrlArguments*)this)->KParts::OpenUrlArguments::actionRequestedByUser();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setActionRequestedByUser(bool)
        this->KParts::OpenUrlArguments::setActionRequestedByUser((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // QMap<QString,QString>& metaData()
        QMap<QString,QString>& xret = this->KParts::OpenUrlArguments::metaData();
        x[0].s_class = (void*)&xret;
    }
    void x_15(Smoke::Stack x) {
        // const QMap<QString,QString>& metaData() const
        const QMap<QString,QString>& xret = ((const x_KParts__OpenUrlArguments*)this)->KParts::OpenUrlArguments::metaData();
        x[0].s_class = (void*)&xret;
    }
    ~x_KParts__OpenUrlArguments() { this->_binding->deleted(23, (void*)this); }
};
void xcall_KParts__OpenUrlArguments(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KParts__OpenUrlArguments *xself = (x_KParts__OpenUrlArguments*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KParts__OpenUrlArguments::x_1(args);	break;
        case 2: x_KParts__OpenUrlArguments::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: delete (KParts::OpenUrlArguments*)xself;	break;
    }
}

}
