//Auto-generated by kalyptus. DO NOT EDIT.
#include <smoke.h>
#include <qt_smoke.h>
#include <qgdict.h>
#include <qptrcollection.h>

class x_QAsciiBucket : public QAsciiBucket {
public:
    static void x_0(Smoke::Stack x) {
	// QAsciiBucket(const char*, QPtrCollection::Item, QBaseBucket*)
	x_QAsciiBucket* xret = new x_QAsciiBucket((const char*)x[1].s_voidp,*(QPtrCollection::Item *)x[2].s_voidp,(QBaseBucket*)x[3].s_class);
	x[0].s_class = (void*)xret;
    }
    x_QAsciiBucket(const char* x1, QPtrCollection::Item x2, QBaseBucket* x3) : QAsciiBucket(x1, x2, x3) {
    }
    void x_1(Smoke::Stack x) const {
	// getKey()
	const char* xret = this->QAsciiBucket::getKey();
	x[0].s_voidp = (void*)xret;
    }
    static void x_2(Smoke::Stack x) {
	// QAsciiBucket(const QAsciiBucket&)
	x_QAsciiBucket* xret = new x_QAsciiBucket(*(const QAsciiBucket *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_QAsciiBucket(const QAsciiBucket& x1) : QAsciiBucket(x1) {
    }
    ~x_QAsciiBucket() { qt_Smoke->binding->deleted(5, (void*)this); }
};
void xcall_QAsciiBucket(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QAsciiBucket *xself = (x_QAsciiBucket*)obj;
    switch(xi) {
	case 0: x_QAsciiBucket::x_0(args);	break;
	case 1: xself->x_1(args);	break;
	case 2: x_QAsciiBucket::x_2(args);	break;
	case 3: delete (QAsciiBucket*)xself;	break;
    }
}
