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

class x_QTextIStream : public QTextIStream {
public:
    static void x_0(Smoke::Stack x) {
	// QTextIStream(const QString*)
	x_QTextIStream* xret = new x_QTextIStream((const QString*)x[1].s_voidp);
	x[0].s_class = (void*)xret;
    }
    x_QTextIStream(const QString* x1) : QTextIStream(x1) {
    }
    static void x_1(Smoke::Stack x) {
	// QTextIStream(QByteArray)
	x_QTextIStream* xret = new x_QTextIStream(*(QByteArray *)x[1].s_voidp);
	x[0].s_class = (void*)xret;
    }
    x_QTextIStream(QByteArray x1) : QTextIStream(x1) {
    }
    ~x_QTextIStream() { qt_Smoke->binding->deleted(326, (void*)this); }
};
void xcall_QTextIStream(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QTextIStream *xself = (x_QTextIStream*)obj;
    switch(xi) {
	case 0: x_QTextIStream::x_0(args);	break;
	case 1: x_QTextIStream::x_1(args);	break;
	case 2: delete (QTextIStream*)xself;	break;
    }
}
