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

#include <smoke.h>
#include <solid_smoke.h>

class __internal_SmokeClass {};

namespace __smokesolid {

class x_Solid__Processor : public Solid::Processor, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Solid__Processor*)this)->Solid::Processor::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Solid::Processor::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 = Solid::Processor::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 = Solid::Processor::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 = Solid::Processor::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 = Solid::Processor::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**)
        int xret = this->Solid::Processor::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) {
        // static Solid::DeviceInterface::Type deviceInterfaceType()
        Solid::DeviceInterface::Type xret = Solid::Processor::deviceInterfaceType();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // int number() const
        int xret = ((const x_Solid__Processor*)this)->Solid::Processor::number();
        x[0].s_int = xret;
    }
    void x_10(Smoke::Stack x) {
        // int maxSpeed() const
        int xret = ((const x_Solid__Processor*)this)->Solid::Processor::maxSpeed();
        x[0].s_int = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool canChangeFrequency() const
        bool xret = ((const x_Solid__Processor*)this)->Solid::Processor::canChangeFrequency();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // QFlags<Solid::Processor::InstructionSet> instructionSets() const
        QFlags<Solid::Processor::InstructionSet> xret = ((const x_Solid__Processor*)this)->Solid::Processor::instructionSets();
        x[0].s_uint = (uint)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Solid::Processor::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 = Solid::Processor::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) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Solid::Processor::staticMetaObject;
    }
    static void x_16(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::NoExtensions;
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::IntelMmx;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::IntelSse;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::IntelSse2;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::IntelSse3;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::IntelSse4;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::Amd3DNow;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Processor::AltiVec;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 123: //Solid::Processor::InstructionSet
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::Processor::InstructionSet;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::Processor::InstructionSet*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::Processor::InstructionSet*)xdata = (Solid::Processor::InstructionSet)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::Processor::InstructionSet*)xdata;
                    break;
            }
            break;
        }
    }
};
void xenum_Solid__Processor(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Solid__Processor::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Solid__Processor(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__Processor *xself = (x_Solid__Processor*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Solid__Processor::x_3(args);	break;
        case 4: x_Solid__Processor::x_4(args);	break;
        case 5: x_Solid__Processor::x_5(args);	break;
        case 6: x_Solid__Processor::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Solid__Processor::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: x_Solid__Processor::x_13(args);	break;
        case 14: x_Solid__Processor::x_14(args);	break;
        case 15: x_Solid__Processor::x_15(args);	break;
        case 16: x_Solid__Processor::x_16(args);	break;
        case 17: x_Solid__Processor::x_17(args);	break;
        case 18: x_Solid__Processor::x_18(args);	break;
        case 19: x_Solid__Processor::x_19(args);	break;
        case 20: x_Solid__Processor::x_20(args);	break;
        case 21: x_Solid__Processor::x_21(args);	break;
        case 22: x_Solid__Processor::x_22(args);	break;
        case 23: x_Solid__Processor::x_23(args);	break;
        case 24: delete (Solid::Processor*)xself;	break;
    }
}
class x_Solid__StorageAccess : public Solid::StorageAccess, 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<Solid::StorageAccess*>(this))) {
            const QMetaObject* xret = ((const x_Solid__StorageAccess*)this)->Solid::StorageAccess::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Solid__StorageAccess*)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<Solid::StorageAccess*>(this))) {
            void* xret = this->Solid::StorageAccess::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 = Solid::StorageAccess::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 = Solid::StorageAccess::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 = Solid::StorageAccess::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 = Solid::StorageAccess::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<Solid::StorageAccess*>(this))) {
            int xret = this->Solid::StorageAccess::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) {
        // static Solid::DeviceInterface::Type deviceInterfaceType()
        Solid::DeviceInterface::Type xret = Solid::StorageAccess::deviceInterfaceType();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isAccessible() const
        bool xret = ((const x_Solid__StorageAccess*)this)->Solid::StorageAccess::isAccessible();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // QString filePath() const
        QString xret = ((const x_Solid__StorageAccess*)this)->Solid::StorageAccess::filePath();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_11(Smoke::Stack x) {
        // bool isIgnored() const
        bool xret = ((const x_Solid__StorageAccess*)this)->Solid::StorageAccess::isIgnored();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool setup()
        bool xret = this->Solid::StorageAccess::setup();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool teardown()
        bool xret = this->Solid::StorageAccess::teardown();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // void accessibilityChanged(bool, const QString&)
        this->Solid::StorageAccess::accessibilityChanged((bool)x[1].s_bool,*(const QString*)x[2].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setupDone(Solid::ErrorType, QVariant, const QString&)
        this->Solid::StorageAccess::setupDone((Solid::ErrorType)x[1].s_enum,*(QVariant*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void teardownDone(Solid::ErrorType, QVariant, const QString&)
        this->Solid::StorageAccess::teardownDone((Solid::ErrorType)x[1].s_enum,*(QVariant*)x[2].s_class,*(const QString*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void setupRequested(const QString&)
        this->Solid::StorageAccess::setupRequested(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void teardownRequested(const QString&)
        this->Solid::StorageAccess::teardownRequested(*(const QString*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
        // Solid::StorageAccess* StorageAccess(Solid::StorageAccessPrivate&, QObject*)
        x_Solid__StorageAccess* xret = new x_Solid__StorageAccess(*(Solid::StorageAccessPrivate*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Solid__StorageAccess(Solid::StorageAccessPrivate& x1, QObject* x2) : StorageAccess(x1, x2) {}
    static void x_20(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Solid::StorageAccess::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_21(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Solid::StorageAccess::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_22(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Solid::StorageAccess::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(491, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Solid::StorageAccess::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(492, (void*)this, x)) return (void*)x[0].s_class;
        return this->Solid::StorageAccess::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(497, (void*)this, x)) return (int)x[0].s_int;
        return this->Solid::StorageAccess::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1, (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(2, (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(3, (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(4, (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(5, (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(6, (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(7, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    ~x_Solid__StorageAccess() { this->_binding->deleted(33, (void*)this); }
};
void xcall_Solid__StorageAccess(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__StorageAccess *xself = (x_Solid__StorageAccess*)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_Solid__StorageAccess::x_3(args);	break;
        case 4: x_Solid__StorageAccess::x_4(args);	break;
        case 5: x_Solid__StorageAccess::x_5(args);	break;
        case 6: x_Solid__StorageAccess::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Solid__StorageAccess::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: xself->x_16(args);	break;
        case 17: xself->x_17(args);	break;
        case 18: xself->x_18(args);	break;
        case 19: x_Solid__StorageAccess::x_19(args);	break;
        case 20: x_Solid__StorageAccess::x_20(args);	break;
        case 21: x_Solid__StorageAccess::x_21(args);	break;
        case 22: x_Solid__StorageAccess::x_22(args);	break;
        case 23: delete (Solid::StorageAccess*)xself;	break;
    }
}
class x_Solid__StorageDrive : public Solid::StorageDrive, 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<Solid::StorageDrive*>(this))) {
            const QMetaObject* xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Solid__StorageDrive*)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<Solid::StorageDrive*>(this))) {
            void* xret = this->Solid::StorageDrive::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 = Solid::StorageDrive::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 = Solid::StorageDrive::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 = Solid::StorageDrive::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 = Solid::StorageDrive::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<Solid::StorageDrive*>(this))) {
            int xret = this->Solid::StorageDrive::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) {
        // static Solid::DeviceInterface::Type deviceInterfaceType()
        Solid::DeviceInterface::Type xret = Solid::StorageDrive::deviceInterfaceType();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // Solid::StorageDrive::Bus bus() const
        Solid::StorageDrive::Bus xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::bus();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // Solid::StorageDrive::DriveType driveType() const
        Solid::StorageDrive::DriveType xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::driveType();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // bool isRemovable() const
        bool xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::isRemovable();
        x[0].s_bool = xret;
    }
    void x_12(Smoke::Stack x) {
        // bool isHotpluggable() const
        bool xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::isHotpluggable();
        x[0].s_bool = xret;
    }
    void x_13(Smoke::Stack x) {
        // unsigned long long size() const
        unsigned long long xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::size();
        x[0].s_class = (void*)new unsigned long long(xret);
    }
    void x_14(Smoke::Stack x) {
        // bool isInUse() const
        bool xret = ((const x_Solid__StorageDrive*)this)->Solid::StorageDrive::isInUse();
        x[0].s_bool = xret;
    }
    static void x_15(Smoke::Stack x) {
        // Solid::StorageDrive* StorageDrive(Solid::StorageDrivePrivate&, QObject*)
        x_Solid__StorageDrive* xret = new x_Solid__StorageDrive(*(Solid::StorageDrivePrivate*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Solid__StorageDrive(Solid::StorageDrivePrivate& x1, QObject* x2) : StorageDrive(x1, x2) {}
    static void x_16(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Solid::StorageDrive::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 = Solid::StorageDrive::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) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Solid::StorageDrive::staticMetaObject;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Ide;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Usb;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Ieee1394;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Scsi;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Sata;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Platform;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::HardDisk;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::CdromDrive;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Floppy;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Tape;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::CompactFlash;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::MemoryStick;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::SmartMedia;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::SdMmc;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageDrive::Xd;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(514, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Solid::StorageDrive::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(515, (void*)this, x)) return (void*)x[0].s_class;
        return this->Solid::StorageDrive::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(520, (void*)this, x)) return (int)x[0].s_int;
        return this->Solid::StorageDrive::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1, (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(2, (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(3, (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(4, (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(5, (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(6, (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(7, (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 127: //Solid::StorageDrive::Bus
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::StorageDrive::Bus;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::StorageDrive::Bus*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::StorageDrive::Bus*)xdata = (Solid::StorageDrive::Bus)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::StorageDrive::Bus*)xdata;
                    break;
            }
            break;
        case 128: //Solid::StorageDrive::DriveType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::StorageDrive::DriveType;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::StorageDrive::DriveType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::StorageDrive::DriveType*)xdata = (Solid::StorageDrive::DriveType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::StorageDrive::DriveType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Solid__StorageDrive() { this->_binding->deleted(35, (void*)this); }
};
void xenum_Solid__StorageDrive(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Solid__StorageDrive::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Solid__StorageDrive(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__StorageDrive *xself = (x_Solid__StorageDrive*)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_Solid__StorageDrive::x_3(args);	break;
        case 4: x_Solid__StorageDrive::x_4(args);	break;
        case 5: x_Solid__StorageDrive::x_5(args);	break;
        case 6: x_Solid__StorageDrive::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Solid__StorageDrive::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: x_Solid__StorageDrive::x_15(args);	break;
        case 16: x_Solid__StorageDrive::x_16(args);	break;
        case 17: x_Solid__StorageDrive::x_17(args);	break;
        case 18: x_Solid__StorageDrive::x_18(args);	break;
        case 19: x_Solid__StorageDrive::x_19(args);	break;
        case 20: x_Solid__StorageDrive::x_20(args);	break;
        case 21: x_Solid__StorageDrive::x_21(args);	break;
        case 22: x_Solid__StorageDrive::x_22(args);	break;
        case 23: x_Solid__StorageDrive::x_23(args);	break;
        case 24: x_Solid__StorageDrive::x_24(args);	break;
        case 25: x_Solid__StorageDrive::x_25(args);	break;
        case 26: x_Solid__StorageDrive::x_26(args);	break;
        case 27: x_Solid__StorageDrive::x_27(args);	break;
        case 28: x_Solid__StorageDrive::x_28(args);	break;
        case 29: x_Solid__StorageDrive::x_29(args);	break;
        case 30: x_Solid__StorageDrive::x_30(args);	break;
        case 31: x_Solid__StorageDrive::x_31(args);	break;
        case 32: x_Solid__StorageDrive::x_32(args);	break;
        case 33: x_Solid__StorageDrive::x_33(args);	break;
        case 34: delete (Solid::StorageDrive*)xself;	break;
    }
}
class x_Solid__StorageVolume : public Solid::StorageVolume, 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<Solid::StorageVolume*>(this))) {
            const QMetaObject* xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Solid__StorageVolume*)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<Solid::StorageVolume*>(this))) {
            void* xret = this->Solid::StorageVolume::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 = Solid::StorageVolume::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 = Solid::StorageVolume::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 = Solid::StorageVolume::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 = Solid::StorageVolume::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<Solid::StorageVolume*>(this))) {
            int xret = this->Solid::StorageVolume::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) {
        // static Solid::DeviceInterface::Type deviceInterfaceType()
        Solid::DeviceInterface::Type xret = Solid::StorageVolume::deviceInterfaceType();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // bool isIgnored() const
        bool xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::isIgnored();
        x[0].s_bool = xret;
    }
    void x_10(Smoke::Stack x) {
        // Solid::StorageVolume::UsageType usage() const
        Solid::StorageVolume::UsageType xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::usage();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // QString fsType() const
        QString xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::fsType();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_12(Smoke::Stack x) {
        // QString label() const
        QString xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::label();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_13(Smoke::Stack x) {
        // QString uuid() const
        QString xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::uuid();
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // unsigned long long size() const
        unsigned long long xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::size();
        x[0].s_class = (void*)new unsigned long long(xret);
    }
    void x_15(Smoke::Stack x) {
        // Solid::Device encryptedContainer() const
        Solid::Device xret = ((const x_Solid__StorageVolume*)this)->Solid::StorageVolume::encryptedContainer();
        x[0].s_class = (void*)new Solid::Device(xret);
    }
    static void x_16(Smoke::Stack x) {
        // Solid::StorageVolume* StorageVolume(Solid::StorageVolumePrivate&, QObject*)
        x_Solid__StorageVolume* xret = new x_Solid__StorageVolume(*(Solid::StorageVolumePrivate*)x[1].s_class,(QObject*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Solid__StorageVolume(Solid::StorageVolumePrivate& x1, QObject* x2) : StorageVolume(x1, x2) {}
    static void x_17(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Solid::StorageVolume::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_18(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Solid::StorageVolume::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_19(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Solid::StorageVolume::staticMetaObject;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageVolume::Other;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageVolume::Unused;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageVolume::FileSystem;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageVolume::PartitionTable;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageVolume::Raid;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::StorageVolume::Encrypted;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(548, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Solid::StorageVolume::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(549, (void*)this, x)) return (void*)x[0].s_class;
        return this->Solid::StorageVolume::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(554, (void*)this, x)) return (int)x[0].s_int;
        return this->Solid::StorageVolume::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(1, (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(2, (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(3, (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(4, (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(5, (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(6, (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(7, (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 131: //Solid::StorageVolume::UsageType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::StorageVolume::UsageType;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::StorageVolume::UsageType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::StorageVolume::UsageType*)xdata = (Solid::StorageVolume::UsageType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::StorageVolume::UsageType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Solid__StorageVolume() { this->_binding->deleted(37, (void*)this); }
};
void xenum_Solid__StorageVolume(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Solid__StorageVolume::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Solid__StorageVolume(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__StorageVolume *xself = (x_Solid__StorageVolume*)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_Solid__StorageVolume::x_3(args);	break;
        case 4: x_Solid__StorageVolume::x_4(args);	break;
        case 5: x_Solid__StorageVolume::x_5(args);	break;
        case 6: x_Solid__StorageVolume::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Solid__StorageVolume::x_8(args);	break;
        case 9: xself->x_9(args);	break;
        case 10: xself->x_10(args);	break;
        case 11: xself->x_11(args);	break;
        case 12: xself->x_12(args);	break;
        case 13: xself->x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: xself->x_15(args);	break;
        case 16: x_Solid__StorageVolume::x_16(args);	break;
        case 17: x_Solid__StorageVolume::x_17(args);	break;
        case 18: x_Solid__StorageVolume::x_18(args);	break;
        case 19: x_Solid__StorageVolume::x_19(args);	break;
        case 20: x_Solid__StorageVolume::x_20(args);	break;
        case 21: x_Solid__StorageVolume::x_21(args);	break;
        case 22: x_Solid__StorageVolume::x_22(args);	break;
        case 23: x_Solid__StorageVolume::x_23(args);	break;
        case 24: x_Solid__StorageVolume::x_24(args);	break;
        case 25: x_Solid__StorageVolume::x_25(args);	break;
        case 26: delete (Solid::StorageVolume*)xself;	break;
    }
}
class x_Solid__Video : public Solid::Video, public __internal_SmokeClass {
public:
    void x_1(Smoke::Stack x) {
        // virtual const QMetaObject* metaObject() const
        const QMetaObject* xret = ((const x_Solid__Video*)this)->Solid::Video::metaObject();
        x[0].s_class = (void*)xret;
    }
    void x_2(Smoke::Stack x) {
        // virtual void* qt_metacast(const char*)
        void* xret = this->Solid::Video::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 = Solid::Video::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 = Solid::Video::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 = Solid::Video::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 = Solid::Video::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**)
        int xret = this->Solid::Video::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) {
        // static Solid::DeviceInterface::Type deviceInterfaceType()
        Solid::DeviceInterface::Type xret = Solid::Video::deviceInterfaceType();
        x[0].s_enum = xret;
    }
    void x_9(Smoke::Stack x) {
        // QStringList supportedProtocols() const
        QStringList xret = ((const x_Solid__Video*)this)->Solid::Video::supportedProtocols();
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_10(Smoke::Stack x) {
        // QStringList supportedDrivers(QString) const
        QStringList xret = ((const x_Solid__Video*)this)->Solid::Video::supportedDrivers(*(QString*)x[1].s_class);
        x[0].s_class = (void*)new QStringList(xret);
    }
    void x_11(Smoke::Stack x) {
        // QVariant driverHandle(const QString&) const
        QVariant xret = ((const x_Solid__Video*)this)->Solid::Video::driverHandle(*(const QString*)x[1].s_class);
        x[0].s_class = (void*)new QVariant(xret);
    }
    static void x_12(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Solid::Video::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Solid::Video::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    void x_14(Smoke::Stack x) {
        // QStringList supportedDrivers() const
        QStringList xret = ((const x_Solid__Video*)this)->Solid::Video::supportedDrivers((QString)QString());
        x[0].s_class = (void*)new QStringList(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Solid::Video::staticMetaObject;
    }
};
void xcall_Solid__Video(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__Video *xself = (x_Solid__Video*)obj;
    switch(xi) {
        case 1: xself->x_1(args);	break;
        case 2: xself->x_2(args);	break;
        case 3: x_Solid__Video::x_3(args);	break;
        case 4: x_Solid__Video::x_4(args);	break;
        case 5: x_Solid__Video::x_5(args);	break;
        case 6: x_Solid__Video::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Solid__Video::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: x_Solid__Video::x_12(args);	break;
        case 13: x_Solid__Video::x_13(args);	break;
        case 14: xself->x_14(args);	break;
        case 15: x_Solid__Video::x_15(args);	break;
        case 16: delete (Solid::Video*)xself;	break;
    }
}
class x_QGlobalSpace {
    SmokeBinding* _binding;
public:
    void x_0(Smoke::Stack x) {
        // set the smoke binding
        _binding = (SmokeBinding*)x[1].s_class;
    }
    ~x_QGlobalSpace() { this->_binding->deleted(4, (void*)this); }
};
void xcall_QGlobalSpace(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QGlobalSpace *xself = (x_QGlobalSpace*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
    }
}
class x_Solid__Networking {
    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) {
        // static Solid::Networking::Status status()
        Solid::Networking::Status xret = Solid::Networking::status();
        x[0].s_enum = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static Solid::Networking::Notifier* notifier()
        Solid::Networking::Notifier* xret = Solid::Networking::notifier();
        x[0].s_class = (void*)xret;
    }
    static void x_3(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Manual;
    }
    static void x_4(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::OnNextStatusChange;
    }
    static void x_5(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Managed;
    }
    static void x_6(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Unknown;
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Unconnected;
    }
    static void x_8(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Disconnecting;
    }
    static void x_9(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Connecting;
    }
    static void x_10(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::Networking::Connected;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 110: //Solid::Networking::ManagementPolicy
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::Networking::ManagementPolicy;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::Networking::ManagementPolicy*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::Networking::ManagementPolicy*)xdata = (Solid::Networking::ManagementPolicy)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::Networking::ManagementPolicy*)xdata;
                    break;
            }
            break;
        case 112: //Solid::Networking::Status
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::Networking::Status;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::Networking::Status*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::Networking::Status*)xdata = (Solid::Networking::Status)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::Networking::Status*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Solid__Networking() { this->_binding->deleted(24, (void*)this); }
};
void xenum_Solid__Networking(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Solid__Networking::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Solid__Networking(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__Networking *xself = (x_Solid__Networking*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Solid__Networking::x_1(args);	break;
        case 2: x_Solid__Networking::x_2(args);	break;
        case 3: x_Solid__Networking::x_3(args);	break;
        case 4: x_Solid__Networking::x_4(args);	break;
        case 5: x_Solid__Networking::x_5(args);	break;
        case 6: x_Solid__Networking::x_6(args);	break;
        case 7: x_Solid__Networking::x_7(args);	break;
        case 8: x_Solid__Networking::x_8(args);	break;
        case 9: x_Solid__Networking::x_9(args);	break;
        case 10: x_Solid__Networking::x_10(args);	break;
    }
}
class x_Solid__PowerManagement {
    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) {
        // static bool appShouldConserveResources()
        bool xret = Solid::PowerManagement::appShouldConserveResources();
        x[0].s_bool = xret;
    }
    static void x_2(Smoke::Stack x) {
        // static QSet<Solid::PowerManagement::SleepState> supportedSleepStates()
        QSet<Solid::PowerManagement::SleepState> xret = Solid::PowerManagement::supportedSleepStates();
        x[0].s_class = (void*)new QSet<Solid::PowerManagement::SleepState>(xret);
    }
    static void x_3(Smoke::Stack x) {
        // static bool stopSuppressingSleep(int)
        bool xret = Solid::PowerManagement::stopSuppressingSleep((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    static void x_4(Smoke::Stack x) {
        // static int beginSuppressingScreenPowerManagement(const QString&)
        int xret = Solid::PowerManagement::beginSuppressingScreenPowerManagement(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_5(Smoke::Stack x) {
        // static int beginSuppressingScreenPowerManagement()
        int xret = Solid::PowerManagement::beginSuppressingScreenPowerManagement((const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_6(Smoke::Stack x) {
        // static int beginSuppressingSleep(const QString&)
        int xret = Solid::PowerManagement::beginSuppressingSleep(*(const QString*)x[1].s_class);
        x[0].s_int = xret;
    }
    static void x_7(Smoke::Stack x) {
        // static int beginSuppressingSleep()
        int xret = Solid::PowerManagement::beginSuppressingSleep((const QString&)QString());
        x[0].s_int = xret;
    }
    static void x_8(Smoke::Stack x) {
        // static void requestSleep(Solid::PowerManagement::SleepState, QObject*, const char*)
        Solid::PowerManagement::requestSleep((Solid::PowerManagement::SleepState)x[1].s_enum,(QObject*)x[2].s_class,(const char*)x[3].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
        // static Solid::PowerManagement::Notifier* notifier()
        Solid::PowerManagement::Notifier* xret = Solid::PowerManagement::notifier();
        x[0].s_class = (void*)xret;
    }
    static void x_10(Smoke::Stack x) {
        // static bool stopSuppressingScreenPowerManagement(int)
        bool xret = Solid::PowerManagement::stopSuppressingScreenPowerManagement((int)x[1].s_int);
        x[0].s_bool = xret;
    }
    static void x_11(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::PowerManagement::StandbyState;
    }
    static void x_12(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::PowerManagement::SuspendState;
    }
    static void x_13(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::PowerManagement::HibernateState;
    }
    static void x_14(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::PowerManagement::HybridSuspendState;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 117: //Solid::PowerManagement::SleepState
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::PowerManagement::SleepState;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::PowerManagement::SleepState*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::PowerManagement::SleepState*)xdata = (Solid::PowerManagement::SleepState)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::PowerManagement::SleepState*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Solid__PowerManagement() { this->_binding->deleted(29, (void*)this); }
};
void xenum_Solid__PowerManagement(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Solid__PowerManagement::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Solid__PowerManagement(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid__PowerManagement *xself = (x_Solid__PowerManagement*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Solid__PowerManagement::x_1(args);	break;
        case 2: x_Solid__PowerManagement::x_2(args);	break;
        case 3: x_Solid__PowerManagement::x_3(args);	break;
        case 4: x_Solid__PowerManagement::x_4(args);	break;
        case 5: x_Solid__PowerManagement::x_5(args);	break;
        case 6: x_Solid__PowerManagement::x_6(args);	break;
        case 7: x_Solid__PowerManagement::x_7(args);	break;
        case 8: x_Solid__PowerManagement::x_8(args);	break;
        case 9: x_Solid__PowerManagement::x_9(args);	break;
        case 10: x_Solid__PowerManagement::x_10(args);	break;
        case 11: x_Solid__PowerManagement::x_11(args);	break;
        case 12: x_Solid__PowerManagement::x_12(args);	break;
        case 13: x_Solid__PowerManagement::x_13(args);	break;
        case 14: x_Solid__PowerManagement::x_14(args);	break;
    }
}
class x_Solid {
    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) {
        x[0].s_enum = (long)Solid::NoError;
    }
    static void x_2(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::UnauthorizedOperation;
    }
    static void x_3(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::DeviceBusy;
    }
    static void x_4(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::OperationFailed;
    }
    static void x_5(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::UserCanceled;
    }
    static void x_6(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::InvalidOption;
    }
    static void x_7(Smoke::Stack x) {
        x[0].s_enum = (long)Solid::MissingDriver;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 108: //Solid::ErrorType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Solid::ErrorType;
                    break;
                case Smoke::EnumDelete:
                    delete (Solid::ErrorType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Solid::ErrorType*)xdata = (Solid::ErrorType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Solid::ErrorType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Solid() { this->_binding->deleted(10, (void*)this); }
};
void xenum_Solid(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Solid::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Solid(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Solid *xself = (x_Solid*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Solid::x_1(args);	break;
        case 2: x_Solid::x_2(args);	break;
        case 3: x_Solid::x_3(args);	break;
        case 4: x_Solid::x_4(args);	break;
        case 5: x_Solid::x_5(args);	break;
        case 6: x_Solid::x_6(args);	break;
        case 7: x_Solid::x_7(args);	break;
    }
}

}
