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

#include <smoke.h>
#include <phonon_smoke.h>

class __internal_SmokeClass {};

namespace __smokephonon {

class x_Phonon__VideoPlayer : public Phonon::VideoPlayer, 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<Phonon::VideoPlayer*>(this))) {
            const QMetaObject* xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Phonon__VideoPlayer*)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<Phonon::VideoPlayer*>(this))) {
            void* xret = this->Phonon::VideoPlayer::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 = Phonon::VideoPlayer::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 = Phonon::VideoPlayer::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 = Phonon::VideoPlayer::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 = Phonon::VideoPlayer::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<Phonon::VideoPlayer*>(this))) {
            int xret = this->Phonon::VideoPlayer::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) {
        // Phonon::VideoPlayer* VideoPlayer(Phonon::Category, QWidget*)
        x_Phonon__VideoPlayer* xret = new x_Phonon__VideoPlayer((Phonon::Category)x[1].s_enum,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VideoPlayer(Phonon::Category x1, QWidget* x2) : VideoPlayer(x1, x2) {}
    static void x_9(Smoke::Stack x) {
        // Phonon::VideoPlayer* VideoPlayer(QWidget*)
        x_Phonon__VideoPlayer* xret = new x_Phonon__VideoPlayer((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VideoPlayer(QWidget* x1) : VideoPlayer(x1) {}
    void x_10(Smoke::Stack x) {
        // long long totalTime() const
        long long xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::totalTime();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_11(Smoke::Stack x) {
        // long long currentTime() const
        long long xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::currentTime();
        x[0].s_class = (void*)new long long(xret);
    }
    void x_12(Smoke::Stack x) {
        // float volume() const
        float xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::volume();
        x[0].s_float = xret;
    }
    void x_13(Smoke::Stack x) {
        // bool isPlaying() const
        bool xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::isPlaying();
        x[0].s_bool = xret;
    }
    void x_14(Smoke::Stack x) {
        // bool isPaused() const
        bool xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::isPaused();
        x[0].s_bool = xret;
    }
    void x_15(Smoke::Stack x) {
        // Phonon::MediaObject* mediaObject() const
        Phonon::MediaObject* xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::mediaObject();
        x[0].s_class = (void*)xret;
    }
    void x_16(Smoke::Stack x) {
        // Phonon::AudioOutput* audioOutput() const
        Phonon::AudioOutput* xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::audioOutput();
        x[0].s_class = (void*)xret;
    }
    void x_17(Smoke::Stack x) {
        // Phonon::VideoWidget* videoWidget() const
        Phonon::VideoWidget* xret = ((const x_Phonon__VideoPlayer*)this)->Phonon::VideoPlayer::videoWidget();
        x[0].s_class = (void*)xret;
    }
    void x_18(Smoke::Stack x) {
        // void load(const Phonon::MediaSource&)
        this->Phonon::VideoPlayer::load(*(const Phonon::MediaSource*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void play(const Phonon::MediaSource&)
        this->Phonon::VideoPlayer::play(*(const Phonon::MediaSource*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void play()
        this->Phonon::VideoPlayer::play();
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void pause()
        this->Phonon::VideoPlayer::pause();
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void stop()
        this->Phonon::VideoPlayer::stop();
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void seek(qint64)
        this->Phonon::VideoPlayer::seek(*(qint64*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setVolume(float)
        this->Phonon::VideoPlayer::setVolume((float)x[1].s_float);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void finished()
        this->Phonon::VideoPlayer::finished();
        (void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Phonon::VideoPlayer*>(this))) {
            bool xret = this->Phonon::VideoPlayer::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_27(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Phonon::VideoPlayer::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Phonon::VideoPlayer::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // Phonon::VideoPlayer* VideoPlayer(Phonon::Category)
        x_Phonon__VideoPlayer* xret = new x_Phonon__VideoPlayer((Phonon::Category)x[1].s_enum,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // Phonon::VideoPlayer* VideoPlayer()
        x_Phonon__VideoPlayer* xret = new x_Phonon__VideoPlayer((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Phonon::VideoPlayer::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(472, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Phonon::VideoPlayer::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(473, (void*)this, x)) return (void*)x[0].s_class;
        return this->Phonon::VideoPlayer::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(478, (void*)this, x)) return (int)x[0].s_int;
        return this->Phonon::VideoPlayer::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(607, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(608, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(609, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(610, (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(613, (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(614, (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(615, (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(616, (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(617, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(618, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(619, (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(620, (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(621, (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(622, (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(623, (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(624, (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(625, (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(626, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(627, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(628, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(629, (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(630, (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(631, (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(632, (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(633, (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(634, (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(635, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(636, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(637, (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(638, (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(640, (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(641, (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(642, (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(643, (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(644, (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(645, (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(646, (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(647, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(648, (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(497, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Phonon::VideoPlayer::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(600, (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(601, (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(602, (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(603, (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(604, (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(605, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(606, (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(611, (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(639, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_Phonon__VideoPlayer() { this->_binding->deleted(29, (void*)this); }
};
void xcall_Phonon__VideoPlayer(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Phonon__VideoPlayer *xself = (x_Phonon__VideoPlayer*)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_Phonon__VideoPlayer::x_3(args);	break;
        case 4: x_Phonon__VideoPlayer::x_4(args);	break;
        case 5: x_Phonon__VideoPlayer::x_5(args);	break;
        case 6: x_Phonon__VideoPlayer::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Phonon__VideoPlayer::x_8(args);	break;
        case 9: x_Phonon__VideoPlayer::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: x_Phonon__VideoPlayer::x_27(args);	break;
        case 28: x_Phonon__VideoPlayer::x_28(args);	break;
        case 29: x_Phonon__VideoPlayer::x_29(args);	break;
        case 30: x_Phonon__VideoPlayer::x_30(args);	break;
        case 31: x_Phonon__VideoPlayer::x_31(args);	break;
        case 32: delete (Phonon::VideoPlayer*)xself;	break;
    }
}
class x_Phonon__VideoWidget : public Phonon::VideoWidget, 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<Phonon::VideoWidget*>(this))) {
            const QMetaObject* xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Phonon__VideoWidget*)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<Phonon::VideoWidget*>(this))) {
            void* xret = this->Phonon::VideoWidget::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 = Phonon::VideoWidget::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 = Phonon::VideoWidget::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 = Phonon::VideoWidget::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 = Phonon::VideoWidget::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<Phonon::VideoWidget*>(this))) {
            int xret = this->Phonon::VideoWidget::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) {
        // Phonon::VideoWidget* VideoWidget(QWidget*)
        x_Phonon__VideoWidget* xret = new x_Phonon__VideoWidget((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VideoWidget(QWidget* x1) : VideoWidget(x1) {}
    void x_9(Smoke::Stack x) {
        // Phonon::VideoWidget::AspectRatio aspectRatio() const
        Phonon::VideoWidget::AspectRatio xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::aspectRatio();
        x[0].s_enum = xret;
    }
    void x_10(Smoke::Stack x) {
        // Phonon::VideoWidget::ScaleMode scaleMode() const
        Phonon::VideoWidget::ScaleMode xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::scaleMode();
        x[0].s_enum = xret;
    }
    void x_11(Smoke::Stack x) {
        // double brightness() const
        double xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::brightness();
        x[0].s_double = xret;
    }
    void x_12(Smoke::Stack x) {
        // double contrast() const
        double xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::contrast();
        x[0].s_double = xret;
    }
    void x_13(Smoke::Stack x) {
        // double hue() const
        double xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::hue();
        x[0].s_double = xret;
    }
    void x_14(Smoke::Stack x) {
        // double saturation() const
        double xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::saturation();
        x[0].s_double = xret;
    }
    void x_15(Smoke::Stack x) {
        // QImage snapshot() const
        QImage xret = ((const x_Phonon__VideoWidget*)this)->Phonon::VideoWidget::snapshot();
        x[0].s_class = (void*)new QImage(xret);
    }
    void x_16(Smoke::Stack x) {
        // void setFullScreen(bool)
        this->Phonon::VideoWidget::setFullScreen((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void exitFullScreen()
        this->Phonon::VideoWidget::exitFullScreen();
        (void)x; // noop (for compiler warning)
    }
    void x_18(Smoke::Stack x) {
        // void enterFullScreen()
        this->Phonon::VideoWidget::enterFullScreen();
        (void)x; // noop (for compiler warning)
    }
    void x_19(Smoke::Stack x) {
        // void setAspectRatio(Phonon::VideoWidget::AspectRatio)
        this->Phonon::VideoWidget::setAspectRatio((Phonon::VideoWidget::AspectRatio)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_20(Smoke::Stack x) {
        // void setScaleMode(Phonon::VideoWidget::ScaleMode)
        this->Phonon::VideoWidget::setScaleMode((Phonon::VideoWidget::ScaleMode)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_21(Smoke::Stack x) {
        // void setBrightness(qreal)
        this->Phonon::VideoWidget::setBrightness((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setContrast(qreal)
        this->Phonon::VideoWidget::setContrast((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setHue(qreal)
        this->Phonon::VideoWidget::setHue((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setSaturation(qreal)
        this->Phonon::VideoWidget::setSaturation((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    static void x_25(Smoke::Stack x) {
        // Phonon::VideoWidget* VideoWidget(Phonon::VideoWidgetPrivate&, QWidget*)
        x_Phonon__VideoWidget* xret = new x_Phonon__VideoWidget(*(Phonon::VideoWidgetPrivate*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VideoWidget(Phonon::VideoWidgetPrivate& x1, QWidget* x2) : VideoWidget(x1, x2) {}
    void x_26(Smoke::Stack x) {
        // void mouseMoveEvent(QMouseEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Phonon::VideoWidget*>(this))) {
            this->Phonon::VideoWidget::mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        } else {
            this->mouseMoveEvent((QMouseEvent*)x[1].s_class);
            (void)x; // noop (for compiler warning)
        }
    }
    void x_27(Smoke::Stack x) {
        // bool event(QEvent*)
        if (dynamic_cast<__internal_SmokeClass*>(static_cast<Phonon::VideoWidget*>(this))) {
            bool xret = this->Phonon::VideoWidget::event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        } else {
            bool xret = this->event((QEvent*)x[1].s_class);
            x[0].s_bool = xret;
        }
    }
    static void x_28(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Phonon::VideoWidget::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_29(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Phonon::VideoWidget::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_30(Smoke::Stack x) {
        // Phonon::VideoWidget* VideoWidget()
        x_Phonon__VideoWidget* xret = new x_Phonon__VideoWidget((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_31(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Phonon::VideoWidget::staticMetaObject;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoWidget::AspectRatioAuto;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoWidget::AspectRatioWidget;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoWidget::AspectRatio4_3;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoWidget::AspectRatio16_9;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoWidget::FitInView;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoWidget::ScaleAndCrop;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(504, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Phonon::VideoWidget::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(505, (void*)this, x)) return (void*)x[0].s_class;
        return this->Phonon::VideoWidget::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(510, (void*)this, x)) return (int)x[0].s_int;
        return this->Phonon::VideoWidget::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(607, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(608, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(609, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(610, (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(613, (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(614, (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(615, (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(529, (void*)this, x)) return;
        this->Phonon::VideoWidget::mouseMoveEvent(x1);
    }
    virtual void wheelEvent(QWheelEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(617, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(618, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(619, (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(620, (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(621, (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(622, (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(623, (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(624, (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(625, (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(626, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(627, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(628, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(629, (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(630, (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(631, (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(632, (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(633, (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(634, (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(635, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(636, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(637, (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(638, (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(640, (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(641, (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(642, (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(643, (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(644, (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(645, (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(646, (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(647, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(648, (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(530, (void*)this, x)) return (bool)x[0].s_bool;
        return this->Phonon::VideoWidget::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(600, (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(601, (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(602, (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(603, (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(604, (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(605, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(606, (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(611, (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(639, (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 67: //Phonon::VideoWidget::AspectRatio
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::VideoWidget::AspectRatio;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::VideoWidget::AspectRatio*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::VideoWidget::AspectRatio*)xdata = (Phonon::VideoWidget::AspectRatio)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::VideoWidget::AspectRatio*)xdata;
                    break;
            }
            break;
        case 68: //Phonon::VideoWidget::ScaleMode
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::VideoWidget::ScaleMode;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::VideoWidget::ScaleMode*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::VideoWidget::ScaleMode*)xdata = (Phonon::VideoWidget::ScaleMode)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::VideoWidget::ScaleMode*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Phonon__VideoWidget() { this->_binding->deleted(30, (void*)this); }
};
void xenum_Phonon__VideoWidget(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Phonon__VideoWidget::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Phonon__VideoWidget(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Phonon__VideoWidget *xself = (x_Phonon__VideoWidget*)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_Phonon__VideoWidget::x_3(args);	break;
        case 4: x_Phonon__VideoWidget::x_4(args);	break;
        case 5: x_Phonon__VideoWidget::x_5(args);	break;
        case 6: x_Phonon__VideoWidget::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Phonon__VideoWidget::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: x_Phonon__VideoWidget::x_25(args);	break;
        case 26: xself->x_26(args);	break;
        case 27: xself->x_27(args);	break;
        case 28: x_Phonon__VideoWidget::x_28(args);	break;
        case 29: x_Phonon__VideoWidget::x_29(args);	break;
        case 30: x_Phonon__VideoWidget::x_30(args);	break;
        case 31: x_Phonon__VideoWidget::x_31(args);	break;
        case 32: x_Phonon__VideoWidget::x_32(args);	break;
        case 33: x_Phonon__VideoWidget::x_33(args);	break;
        case 34: x_Phonon__VideoWidget::x_34(args);	break;
        case 35: x_Phonon__VideoWidget::x_35(args);	break;
        case 36: x_Phonon__VideoWidget::x_36(args);	break;
        case 37: x_Phonon__VideoWidget::x_37(args);	break;
        case 38: delete (Phonon::VideoWidget*)xself;	break;
    }
}
class x_Phonon__VolumeFaderEffect : public Phonon::VolumeFaderEffect, 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<Phonon::VolumeFaderEffect*>(this))) {
            const QMetaObject* xret = ((const x_Phonon__VolumeFaderEffect*)this)->Phonon::VolumeFaderEffect::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Phonon__VolumeFaderEffect*)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<Phonon::VolumeFaderEffect*>(this))) {
            void* xret = this->Phonon::VolumeFaderEffect::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 = Phonon::VolumeFaderEffect::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 = Phonon::VolumeFaderEffect::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 = Phonon::VolumeFaderEffect::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 = Phonon::VolumeFaderEffect::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<Phonon::VolumeFaderEffect*>(this))) {
            int xret = this->Phonon::VolumeFaderEffect::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) {
        // Phonon::VolumeFaderEffect* VolumeFaderEffect(QObject*)
        x_Phonon__VolumeFaderEffect* xret = new x_Phonon__VolumeFaderEffect((QObject*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VolumeFaderEffect(QObject* x1) : VolumeFaderEffect(x1) {}
    void x_9(Smoke::Stack x) {
        // float volume() const
        float xret = ((const x_Phonon__VolumeFaderEffect*)this)->Phonon::VolumeFaderEffect::volume();
        x[0].s_float = xret;
    }
    void x_10(Smoke::Stack x) {
        // double volumeDecibel() const
        double xret = ((const x_Phonon__VolumeFaderEffect*)this)->Phonon::VolumeFaderEffect::volumeDecibel();
        x[0].s_double = xret;
    }
    void x_11(Smoke::Stack x) {
        // Phonon::VolumeFaderEffect::FadeCurve fadeCurve() const
        Phonon::VolumeFaderEffect::FadeCurve xret = ((const x_Phonon__VolumeFaderEffect*)this)->Phonon::VolumeFaderEffect::fadeCurve();
        x[0].s_enum = xret;
    }
    void x_12(Smoke::Stack x) {
        // void fadeIn(int)
        this->Phonon::VolumeFaderEffect::fadeIn((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_13(Smoke::Stack x) {
        // void fadeOut(int)
        this->Phonon::VolumeFaderEffect::fadeOut((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // void setVolume(float)
        this->Phonon::VolumeFaderEffect::setVolume((float)x[1].s_float);
        (void)x; // noop (for compiler warning)
    }
    void x_15(Smoke::Stack x) {
        // void setVolumeDecibel(double)
        this->Phonon::VolumeFaderEffect::setVolumeDecibel((double)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // void setFadeCurve(Phonon::VolumeFaderEffect::FadeCurve)
        this->Phonon::VolumeFaderEffect::setFadeCurve((Phonon::VolumeFaderEffect::FadeCurve)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_17(Smoke::Stack x) {
        // void fadeTo(float, int)
        this->Phonon::VolumeFaderEffect::fadeTo((float)x[1].s_float,(int)x[2].s_int);
        (void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Phonon::VolumeFaderEffect::tr((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 QString trUtf8(const char*)
        QString xret = Phonon::VolumeFaderEffect::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_20(Smoke::Stack x) {
        // Phonon::VolumeFaderEffect* VolumeFaderEffect()
        x_Phonon__VolumeFaderEffect* xret = new x_Phonon__VolumeFaderEffect((QObject*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_21(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Phonon::VolumeFaderEffect::staticMetaObject;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VolumeFaderEffect::Fade3Decibel;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VolumeFaderEffect::Fade6Decibel;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VolumeFaderEffect::Fade9Decibel;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VolumeFaderEffect::Fade12Decibel;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(542, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Phonon::VolumeFaderEffect::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(543, (void*)this, x)) return (void*)x[0].s_class;
        return this->Phonon::VolumeFaderEffect::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(548, (void*)this, x)) return (int)x[0].s_int;
        return this->Phonon::VolumeFaderEffect::qt_metacall(x1, x2, x3);
    }
    virtual bool event(QEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(599, (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(600, (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(601, (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(602, (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(603, (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(604, (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(605, (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 71: //Phonon::VolumeFaderEffect::FadeCurve
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::VolumeFaderEffect::FadeCurve;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::VolumeFaderEffect::FadeCurve*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::VolumeFaderEffect::FadeCurve*)xdata = (Phonon::VolumeFaderEffect::FadeCurve)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::VolumeFaderEffect::FadeCurve*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Phonon__VolumeFaderEffect() { this->_binding->deleted(32, (void*)this); }
};
void xenum_Phonon__VolumeFaderEffect(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Phonon__VolumeFaderEffect::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Phonon__VolumeFaderEffect(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Phonon__VolumeFaderEffect *xself = (x_Phonon__VolumeFaderEffect*)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_Phonon__VolumeFaderEffect::x_3(args);	break;
        case 4: x_Phonon__VolumeFaderEffect::x_4(args);	break;
        case 5: x_Phonon__VolumeFaderEffect::x_5(args);	break;
        case 6: x_Phonon__VolumeFaderEffect::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Phonon__VolumeFaderEffect::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: x_Phonon__VolumeFaderEffect::x_18(args);	break;
        case 19: x_Phonon__VolumeFaderEffect::x_19(args);	break;
        case 20: x_Phonon__VolumeFaderEffect::x_20(args);	break;
        case 21: x_Phonon__VolumeFaderEffect::x_21(args);	break;
        case 22: x_Phonon__VolumeFaderEffect::x_22(args);	break;
        case 23: x_Phonon__VolumeFaderEffect::x_23(args);	break;
        case 24: x_Phonon__VolumeFaderEffect::x_24(args);	break;
        case 25: x_Phonon__VolumeFaderEffect::x_25(args);	break;
        case 26: delete (Phonon::VolumeFaderEffect*)xself;	break;
    }
}
class x_Phonon__VolumeSlider : public Phonon::VolumeSlider, 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<Phonon::VolumeSlider*>(this))) {
            const QMetaObject* xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::metaObject();
            x[0].s_class = (void*)xret;
        } else {
            const QMetaObject* xret = ((const x_Phonon__VolumeSlider*)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<Phonon::VolumeSlider*>(this))) {
            void* xret = this->Phonon::VolumeSlider::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 = Phonon::VolumeSlider::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 = Phonon::VolumeSlider::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 = Phonon::VolumeSlider::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 = Phonon::VolumeSlider::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<Phonon::VolumeSlider*>(this))) {
            int xret = this->Phonon::VolumeSlider::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) {
        // Phonon::VolumeSlider* VolumeSlider(QWidget*)
        x_Phonon__VolumeSlider* xret = new x_Phonon__VolumeSlider((QWidget*)x[1].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VolumeSlider(QWidget* x1) : VolumeSlider(x1) {}
    static void x_9(Smoke::Stack x) {
        // Phonon::VolumeSlider* VolumeSlider(Phonon::AudioOutput*, QWidget*)
        x_Phonon__VolumeSlider* xret = new x_Phonon__VolumeSlider((Phonon::AudioOutput*)x[1].s_class,(QWidget*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    explicit x_Phonon__VolumeSlider(Phonon::AudioOutput* x1, QWidget* x2) : VolumeSlider(x1, x2) {}
    void x_10(Smoke::Stack x) {
        // bool hasTracking() const
        bool xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::hasTracking();
        x[0].s_bool = xret;
    }
    void x_11(Smoke::Stack x) {
        // void setTracking(bool)
        this->Phonon::VolumeSlider::setTracking((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_12(Smoke::Stack x) {
        // int pageStep() const
        int xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::pageStep();
        x[0].s_int = xret;
    }
    void x_13(Smoke::Stack x) {
        // void setPageStep(int)
        this->Phonon::VolumeSlider::setPageStep((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_14(Smoke::Stack x) {
        // int singleStep() const
        int xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::singleStep();
        x[0].s_int = xret;
    }
    void x_15(Smoke::Stack x) {
        // void setSingleStep(int)
        this->Phonon::VolumeSlider::setSingleStep((int)x[1].s_int);
        (void)x; // noop (for compiler warning)
    }
    void x_16(Smoke::Stack x) {
        // bool isMuteVisible() const
        bool xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::isMuteVisible();
        x[0].s_bool = xret;
    }
    void x_17(Smoke::Stack x) {
        // QSize iconSize() const
        QSize xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::iconSize();
        x[0].s_class = (void*)new QSize(xret);
    }
    void x_18(Smoke::Stack x) {
        // double maximumVolume() const
        double xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::maximumVolume();
        x[0].s_double = xret;
    }
    void x_19(Smoke::Stack x) {
        // Qt::Orientation orientation() const
        Qt::Orientation xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::orientation();
        x[0].s_enum = xret;
    }
    void x_20(Smoke::Stack x) {
        // Phonon::AudioOutput* audioOutput() const
        Phonon::AudioOutput* xret = ((const x_Phonon__VolumeSlider*)this)->Phonon::VolumeSlider::audioOutput();
        x[0].s_class = (void*)xret;
    }
    void x_21(Smoke::Stack x) {
        // void setMaximumVolume(qreal)
        this->Phonon::VolumeSlider::setMaximumVolume((qreal)x[1].s_double);
        (void)x; // noop (for compiler warning)
    }
    void x_22(Smoke::Stack x) {
        // void setOrientation(Qt::Orientation)
        this->Phonon::VolumeSlider::setOrientation((Qt::Orientation)x[1].s_enum);
        (void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
        // void setMuteVisible(bool)
        this->Phonon::VolumeSlider::setMuteVisible((bool)x[1].s_bool);
        (void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
        // void setIconSize(const QSize&)
        this->Phonon::VolumeSlider::setIconSize(*(const QSize*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
        // void setAudioOutput(Phonon::AudioOutput*)
        this->Phonon::VolumeSlider::setAudioOutput((Phonon::AudioOutput*)x[1].s_class);
        (void)x; // noop (for compiler warning)
    }
    static void x_26(Smoke::Stack x) {
        // static QString tr(const char*)
        QString xret = Phonon::VolumeSlider::tr((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_27(Smoke::Stack x) {
        // static QString trUtf8(const char*)
        QString xret = Phonon::VolumeSlider::trUtf8((const char*)x[1].s_class,(const char*)0);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_28(Smoke::Stack x) {
        // Phonon::VolumeSlider* VolumeSlider()
        x_Phonon__VolumeSlider* xret = new x_Phonon__VolumeSlider((QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_29(Smoke::Stack x) {
        // Phonon::VolumeSlider* VolumeSlider(Phonon::AudioOutput*)
        x_Phonon__VolumeSlider* xret = new x_Phonon__VolumeSlider((Phonon::AudioOutput*)x[1].s_class,(QWidget*)0);
        x[0].s_class = (void*)xret;
    }
    static void x_30(Smoke::Stack x) {
        // static const QMetaObject staticMetaObject
        x[0].s_class = (void*)&Phonon::VolumeSlider::staticMetaObject;
    }
    virtual const QMetaObject* metaObject() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(568, (void*)this, x)) return (const QMetaObject*)x[0].s_class;
        return this->Phonon::VolumeSlider::metaObject();
    }
    virtual void* qt_metacast(const char* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(569, (void*)this, x)) return (void*)x[0].s_class;
        return this->Phonon::VolumeSlider::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(574, (void*)this, x)) return (int)x[0].s_int;
        return this->Phonon::VolumeSlider::qt_metacall(x1, x2, x3);
    }
    virtual void setVisible(bool x1) {
        Smoke::StackItem x[2];
        x[1].s_bool = x1;
        if (this->_binding->callMethod(607, (void*)this, x)) return;
        this->QWidget::setVisible(x1);
    }
    virtual QSize sizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(608, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::sizeHint();
    }
    virtual QSize minimumSizeHint() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(609, (void*)this, x)) {
            QSize* xptr = (QSize*)x[0].s_class;
            QSize xret(*xptr);
            delete xptr;
            return xret;
        }
        return this->QWidget::minimumSizeHint();
    }
    virtual int heightForWidth(int x1) const {
        Smoke::StackItem x[2];
        x[1].s_int = x1;
        if (this->_binding->callMethod(610, (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(613, (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(614, (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(615, (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(616, (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(617, (void*)this, x)) return;
        this->QWidget::wheelEvent(x1);
    }
    virtual void keyPressEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(618, (void*)this, x)) return;
        this->QWidget::keyPressEvent(x1);
    }
    virtual void keyReleaseEvent(QKeyEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(619, (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(620, (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(621, (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(622, (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(623, (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(624, (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(625, (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(626, (void*)this, x)) return;
        this->QWidget::resizeEvent(x1);
    }
    virtual void closeEvent(QCloseEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(627, (void*)this, x)) return;
        this->QWidget::closeEvent(x1);
    }
    virtual void contextMenuEvent(QContextMenuEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(628, (void*)this, x)) return;
        this->QWidget::contextMenuEvent(x1);
    }
    virtual void tabletEvent(QTabletEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(629, (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(630, (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(631, (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(632, (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(633, (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(634, (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(635, (void*)this, x)) return;
        this->QWidget::showEvent(x1);
    }
    virtual void hideEvent(QHideEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(636, (void*)this, x)) return;
        this->QWidget::hideEvent(x1);
    }
    virtual bool x11Event(_XEvent* x1) {
        Smoke::StackItem x[2];
        x[1].s_class = (void*)x1;
        if (this->_binding->callMethod(637, (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(638, (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(640, (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(641, (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(642, (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(643, (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(644, (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(645, (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(646, (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(647, (void*)this, x)) return;
        this->QWidget::windowActivationChange(x1);
    }
    virtual void languageChange() {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(648, (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(612, (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(600, (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(601, (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(602, (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(603, (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(604, (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(605, (void*)this, x)) return;
        this->QObject::disconnectNotify(x1);
    }
    virtual int devType() const {
        Smoke::StackItem x[1];
        if (this->_binding->callMethod(606, (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(611, (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(639, (void*)this, x)) return (int)x[0].s_int;
        return this->QWidget::metric(x1);
    }
    ~x_Phonon__VolumeSlider() { this->_binding->deleted(33, (void*)this); }
};
void xcall_Phonon__VolumeSlider(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Phonon__VolumeSlider *xself = (x_Phonon__VolumeSlider*)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_Phonon__VolumeSlider::x_3(args);	break;
        case 4: x_Phonon__VolumeSlider::x_4(args);	break;
        case 5: x_Phonon__VolumeSlider::x_5(args);	break;
        case 6: x_Phonon__VolumeSlider::x_6(args);	break;
        case 7: xself->x_7(args);	break;
        case 8: x_Phonon__VolumeSlider::x_8(args);	break;
        case 9: x_Phonon__VolumeSlider::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: x_Phonon__VolumeSlider::x_26(args);	break;
        case 27: x_Phonon__VolumeSlider::x_27(args);	break;
        case 28: x_Phonon__VolumeSlider::x_28(args);	break;
        case 29: x_Phonon__VolumeSlider::x_29(args);	break;
        case 30: x_Phonon__VolumeSlider::x_30(args);	break;
        case 31: delete (Phonon::VolumeSlider*)xself;	break;
    }
}
class x_Phonon {
    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 QDebug operator<<(QDebug, const Phonon::MediaSource&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::MediaSource*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_2(Smoke::Stack x) {
        // static QString categoryToString(Phonon::Category)
        QString xret = Phonon::categoryToString((Phonon::Category)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_3(Smoke::Stack x) {
        // static const char* phononVersion()
        const char* xret = Phonon::phononVersion();
        x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::ErrorType&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::ErrorType*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_5(Smoke::Stack x) {
        // static unsigned int qHash(const Phonon::EffectParameter&)
        unsigned int xret = Phonon::qHash(*(const Phonon::EffectParameter*)x[1].s_class);
        x[0].s_uint = xret;
    }
    static void x_6(Smoke::Stack x) {
        // static void registerMetaTypes()
        Phonon::registerMetaTypes();
        (void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
        // static QString categoryToString(Phonon::CaptureCategory)
        QString xret = Phonon::categoryToString((Phonon::CaptureCategory)x[1].s_enum);
        x[0].s_class = (void*)new QString(xret);
    }
    static void x_8(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::Capture::DeviceType&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::Capture::DeviceType*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_9(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::Category&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::Category*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_10(Smoke::Stack x) {
        // static Phonon::Path createPath(Phonon::MediaNode*, Phonon::MediaNode*)
        Phonon::Path xret = Phonon::createPath((Phonon::MediaNode*)x[1].s_class,(Phonon::MediaNode*)x[2].s_class);
        x[0].s_class = (void*)new Phonon::Path(xret);
    }
    static void x_11(Smoke::Stack x) {
        // static Phonon::MediaObject* createPlayer(Phonon::Category, const Phonon::MediaSource&)
        Phonon::MediaObject* xret = Phonon::createPlayer((Phonon::Category)x[1].s_enum,*(const Phonon::MediaSource*)x[2].s_class);
        x[0].s_class = (void*)xret;
    }
    static void x_12(Smoke::Stack x) {
        // static Phonon::MediaObject* createPlayer(Phonon::Category)
        Phonon::MediaObject* xret = Phonon::createPlayer((Phonon::Category)x[1].s_enum,(const Phonon::MediaSource&)Phonon::MediaSource());
        x[0].s_class = (void*)xret;
    }
    static void x_13(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::MetaData&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::MetaData*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_14(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::CaptureCategory&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::CaptureCategory*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_15(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::State&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::State*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_16(Smoke::Stack x) {
        // static QDebug operator<<(QDebug, const Phonon::DiscType&)
        QDebug xret = Phonon::operator<<(*(QDebug*)x[1].s_class,*(const Phonon::DiscType*)x[2].s_class);
        x[0].s_class = (void*)new QDebug(xret);
    }
    static void x_17(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::ArtistMetaData;
    }
    static void x_18(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::AlbumMetaData;
    }
    static void x_19(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::TitleMetaData;
    }
    static void x_20(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::DateMetaData;
    }
    static void x_21(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::GenreMetaData;
    }
    static void x_22(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::TracknumberMetaData;
    }
    static void x_23(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::DescriptionMetaData;
    }
    static void x_24(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::MusicBrainzDiscIdMetaData;
    }
    static void x_25(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::AudioOutputDeviceType;
    }
    static void x_26(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::EffectType;
    }
    static void x_27(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::AudioChannelType;
    }
    static void x_28(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::SubtitleType;
    }
    static void x_29(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::AudioCaptureDeviceType;
    }
    static void x_30(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoCaptureDeviceType;
    }
    static void x_31(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::NoDisc;
    }
    static void x_32(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::Cd;
    }
    static void x_33(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::Dvd;
    }
    static void x_34(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::Vcd;
    }
    static void x_35(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::BluRay;
    }
    static void x_36(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::NoCaptureCategory;
    }
    static void x_37(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::CommunicationCaptureCategory;
    }
    static void x_38(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::RecordingCaptureCategory;
    }
    static void x_39(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::ControlCaptureCategory;
    }
    static void x_40(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::NoError;
    }
    static void x_41(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::NormalError;
    }
    static void x_42(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::FatalError;
    }
    static void x_43(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::NoCategory;
    }
    static void x_44(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::NotificationCategory;
    }
    static void x_45(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::MusicCategory;
    }
    static void x_46(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::VideoCategory;
    }
    static void x_47(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::CommunicationCategory;
    }
    static void x_48(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::GameCategory;
    }
    static void x_49(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::AccessibilityCategory;
    }
    static void x_50(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::LastCategory;
    }
    static void x_51(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::LoadingState;
    }
    static void x_52(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::StoppedState;
    }
    static void x_53(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::PlayingState;
    }
    static void x_54(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::BufferingState;
    }
    static void x_55(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::PausedState;
    }
    static void x_56(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::ErrorState;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 41: //Phonon::MetaData
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::MetaData;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::MetaData*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::MetaData*)xdata = (Phonon::MetaData)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::MetaData*)xdata;
                    break;
            }
            break;
        case 55: //Phonon::ObjectDescriptionType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::ObjectDescriptionType;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::ObjectDescriptionType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::ObjectDescriptionType*)xdata = (Phonon::ObjectDescriptionType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::ObjectDescriptionType*)xdata;
                    break;
            }
            break;
        case 19: //Phonon::DiscType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::DiscType;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::DiscType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::DiscType*)xdata = (Phonon::DiscType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::DiscType*)xdata;
                    break;
            }
            break;
        case 17: //Phonon::CaptureCategory
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::CaptureCategory;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::CaptureCategory*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::CaptureCategory*)xdata = (Phonon::CaptureCategory)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::CaptureCategory*)xdata;
                    break;
            }
            break;
        case 29: //Phonon::ErrorType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::ErrorType;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::ErrorType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::ErrorType*)xdata = (Phonon::ErrorType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::ErrorType*)xdata;
                    break;
            }
            break;
        case 18: //Phonon::Category
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::Category;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::Category*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::Category*)xdata = (Phonon::Category)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::Category*)xdata;
                    break;
            }
            break;
        case 60: //Phonon::State
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::State;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::State*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::State*)xdata = (Phonon::State)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::State*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Phonon() { this->_binding->deleted(1, (void*)this); }
};
void xenum_Phonon(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Phonon::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Phonon(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Phonon *xself = (x_Phonon*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Phonon::x_1(args);	break;
        case 2: x_Phonon::x_2(args);	break;
        case 3: x_Phonon::x_3(args);	break;
        case 4: x_Phonon::x_4(args);	break;
        case 5: x_Phonon::x_5(args);	break;
        case 6: x_Phonon::x_6(args);	break;
        case 7: x_Phonon::x_7(args);	break;
        case 8: x_Phonon::x_8(args);	break;
        case 9: x_Phonon::x_9(args);	break;
        case 10: x_Phonon::x_10(args);	break;
        case 11: x_Phonon::x_11(args);	break;
        case 12: x_Phonon::x_12(args);	break;
        case 13: x_Phonon::x_13(args);	break;
        case 14: x_Phonon::x_14(args);	break;
        case 15: x_Phonon::x_15(args);	break;
        case 16: x_Phonon::x_16(args);	break;
        case 17: x_Phonon::x_17(args);	break;
        case 18: x_Phonon::x_18(args);	break;
        case 19: x_Phonon::x_19(args);	break;
        case 20: x_Phonon::x_20(args);	break;
        case 21: x_Phonon::x_21(args);	break;
        case 22: x_Phonon::x_22(args);	break;
        case 23: x_Phonon::x_23(args);	break;
        case 24: x_Phonon::x_24(args);	break;
        case 25: x_Phonon::x_25(args);	break;
        case 26: x_Phonon::x_26(args);	break;
        case 27: x_Phonon::x_27(args);	break;
        case 28: x_Phonon::x_28(args);	break;
        case 29: x_Phonon::x_29(args);	break;
        case 30: x_Phonon::x_30(args);	break;
        case 31: x_Phonon::x_31(args);	break;
        case 32: x_Phonon::x_32(args);	break;
        case 33: x_Phonon::x_33(args);	break;
        case 34: x_Phonon::x_34(args);	break;
        case 35: x_Phonon::x_35(args);	break;
        case 36: x_Phonon::x_36(args);	break;
        case 37: x_Phonon::x_37(args);	break;
        case 38: x_Phonon::x_38(args);	break;
        case 39: x_Phonon::x_39(args);	break;
        case 40: x_Phonon::x_40(args);	break;
        case 41: x_Phonon::x_41(args);	break;
        case 42: x_Phonon::x_42(args);	break;
        case 43: x_Phonon::x_43(args);	break;
        case 44: x_Phonon::x_44(args);	break;
        case 45: x_Phonon::x_45(args);	break;
        case 46: x_Phonon::x_46(args);	break;
        case 47: x_Phonon::x_47(args);	break;
        case 48: x_Phonon::x_48(args);	break;
        case 49: x_Phonon::x_49(args);	break;
        case 50: x_Phonon::x_50(args);	break;
        case 51: x_Phonon::x_51(args);	break;
        case 52: x_Phonon::x_52(args);	break;
        case 53: x_Phonon::x_53(args);	break;
        case 54: x_Phonon::x_54(args);	break;
        case 55: x_Phonon::x_55(args);	break;
        case 56: x_Phonon::x_56(args);	break;
    }
}
class x_Phonon__Capture {
    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)Phonon::Capture::AudioType;
    }
    static void x_2(Smoke::Stack x) {
        x[0].s_enum = (long)Phonon::Capture::VideoType;
    }
    static void xenum_operation(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
        switch(xtype) {
        case 16: //Phonon::Capture::DeviceType
            switch(xop) {
                case Smoke::EnumNew:
                    xdata = (void*)new Phonon::Capture::DeviceType;
                    break;
                case Smoke::EnumDelete:
                    delete (Phonon::Capture::DeviceType*)xdata;
                    break;
                case Smoke::EnumFromLong:
                    *(Phonon::Capture::DeviceType*)xdata = (Phonon::Capture::DeviceType)xvalue;
                    break;
                case Smoke::EnumToLong:
                    xvalue = (long)*(Phonon::Capture::DeviceType*)xdata;
                    break;
            }
            break;
        }
    }
    ~x_Phonon__Capture() { this->_binding->deleted(11, (void*)this); }
};
void xenum_Phonon__Capture(Smoke::EnumOperation xop, Smoke::Index xtype, void *&xdata, long &xvalue) {
    x_Phonon__Capture::xenum_operation(xop, xtype, xdata, xvalue);
}
void xcall_Phonon__Capture(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_Phonon__Capture *xself = (x_Phonon__Capture*)obj;
    switch(xi) {
        case 0: xself->x_0(args);	break;
        case 1: x_Phonon__Capture::x_1(args);	break;
        case 2: x_Phonon__Capture::x_2(args);	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(49, (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;
    }
}

}
