//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__BrowserArguments : public KParts::BrowserArguments, public __internal_SmokeClass {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    static void x_1(Smoke::Stack x) {
        // KParts::BrowserArguments* BrowserArguments()
        x_KParts__BrowserArguments* xret = new x_KParts__BrowserArguments();
        x[0].s_class = (void*)xret;
    }
    explicit x_KParts__BrowserArguments() : BrowserArguments() {}
    static void x_2(Smoke::Stack x) {
        // KParts::BrowserArguments* BrowserArguments(const KParts::BrowserArguments&)
        x_KParts__BrowserArguments* xret = new x_KParts__BrowserArguments(*(const KParts::BrowserArguments*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_KParts__BrowserArguments(const KParts::BrowserArguments& x1) : BrowserArguments(x1) {}
    void x_3(Smoke::Stack x) {
        // KParts::BrowserArguments& operator=(const KParts::BrowserArguments&)
        KParts::BrowserArguments& xret = this->KParts::BrowserArguments::operator=(*(const KParts::BrowserArguments*)x[1].s_class);
        x[0].s_class = (void*)&xret;
    }
    void x_4(Smoke::Stack x) {
        // void setContentType(const QString&)
        this->KParts::BrowserArguments::setContentType(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_5(Smoke::Stack x) {
        // QString contentType() const
        QString xret = ((const x_KParts__BrowserArguments*)this)->KParts::BrowserArguments::contentType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_6(Smoke::Stack x) {
        // void setDoPost(bool)
        this->KParts::BrowserArguments::setDoPost((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_7(Smoke::Stack x) {
        // bool doPost() const
        bool xret = ((const x_KParts__BrowserArguments*)this)->KParts::BrowserArguments::doPost();
        x[0].s_bool = xret;
    }
    void x_8(Smoke::Stack x) {
        // void setLockHistory(bool)
        this->KParts::BrowserArguments::setLockHistory((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_9(Smoke::Stack x) {
        // bool lockHistory() const
        bool xret = ((const x_KParts__BrowserArguments*)this)->KParts::BrowserArguments::lockHistory();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // void setNewTab(bool)
        this->KParts::BrowserArguments::setNewTab((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_11(Smoke::Stack x) {
        // bool newTab() const
        bool xret = ((const x_KParts__BrowserArguments*)this)->KParts::BrowserArguments::newTab();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool redirectedRequest() const
        bool xret = ((const x_KParts__BrowserArguments*)this)->KParts::BrowserArguments::redirectedRequest();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setRedirectedRequest(bool)
        this->KParts::BrowserArguments::setRedirectedRequest((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setForcesNewWindow(bool)
        this->KParts::BrowserArguments::setForcesNewWindow((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // bool forcesNewWindow() const
        bool xret = ((const x_KParts__BrowserArguments*)this)->KParts::BrowserArguments::forcesNewWindow();
        x[0].s_bool = xret;
    }
    void x_16(Smoke::Stack x) {
        // QStringList docState
        x[0].s_class = (void*)&this->KParts::BrowserArguments::docState;
    }
    void x_17(Smoke::Stack x) {
        // QStringList docState=
        this->KParts::BrowserArguments::docState = *(const QStringList*)x[1].s_class;
    }
    void x_18(Smoke::Stack x) {
        // bool softReload
        x[0].s_bool = this->KParts::BrowserArguments::softReload;
    }
    void x_19(Smoke::Stack x) {
        // bool softReload=
        this->KParts::BrowserArguments::softReload = (bool)x[1].s_bool;
    }
    void x_20(Smoke::Stack x) {
        // QByteArray postData
        x[0].s_class = (void*)&this->KParts::BrowserArguments::postData;
    }
    void x_21(Smoke::Stack x) {
        // QByteArray postData=
        this->KParts::BrowserArguments::postData = *(const QByteArray*)x[1].s_class;
    }
    void x_22(Smoke::Stack x) {
        // QString frameName
        x[0].s_class = (void*)&this->KParts::BrowserArguments::frameName;
    }
    void x_23(Smoke::Stack x) {
        // QString frameName=
        this->KParts::BrowserArguments::frameName = *(const QString*)x[1].s_class;
    }
    void x_24(Smoke::Stack x) {
        // bool trustedSource
        x[0].s_bool = this->KParts::BrowserArguments::trustedSource;
    }
    void x_25(Smoke::Stack x) {
        // bool trustedSource=
        this->KParts::BrowserArguments::trustedSource = (bool)x[1].s_bool;
    }
    ~x_KParts__BrowserArguments() { this->_binding->deleted(12, (void*)this); }
};
void xcall_KParts__BrowserArguments(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_KParts__BrowserArguments *xself = (x_KParts__BrowserArguments*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_KParts__BrowserArguments::x_1(args);	break;
        case 2: x_KParts__BrowserArguments::x_2(args);	break;
        case 3: xself->x_3(args);	break;
        case 4: xself->x_4(args);	break;
        case 5: xself->x_5(args);	break;
        case 6: xself->x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: xself->x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: xself->x_19(args);	break;
        case 20: xself->x_20(args);	break;
        case 21: xself->x_21(args);	break;
        case 22: xself->x_22(args);	break;
        case 23: xself->x_23(args);	break;
        case 24: xself->x_24(args);	break;
        case 25: xself->x_25(args);	break;
        case 26: delete (KParts::BrowserArguments*)xself;	break;
    }
}

}
