//Auto-generated by kalyptus. DO NOT EDIT.
#include <smoke.h>
#include <qt_smoke.h>
#include <qpoint.h>
#include <qpalette.h>
#include <qfont.h>
#include <qstring.h>
#include <qtooltip.h>
#include <qrect.h>

class x_QToolTip : public QToolTip {
public:
    static void x_0(Smoke::Stack x) {
	// QToolTip(QWidget*, QToolTipGroup*)
	x_QToolTip* xret = new x_QToolTip((QWidget*)x[1].s_class,(QToolTipGroup*)x[2].s_class);
	x[0].s_class = (void*)xret;
    }
    x_QToolTip(QWidget* x1, QToolTipGroup* x2) : QToolTip(x1, x2) {
    }
    static void x_1(Smoke::Stack x) {
	// QToolTip(QWidget*)
	x_QToolTip* xret = new x_QToolTip((QWidget*)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_QToolTip(QWidget* x1) : QToolTip(x1) {
    }
    void x_2(Smoke::Stack x) const {
	// parentWidget()
	QWidget* xret = this->QToolTip::parentWidget();
	x[0].s_class = (void*)xret;
    }
    void x_3(Smoke::Stack x) const {
	// group()
	QToolTipGroup* xret = this->QToolTip::group();
	x[0].s_class = (void*)xret;
    }
    static void x_4(Smoke::Stack x) {
	// QToolTip(const QToolTip&)
	x_QToolTip* xret = new x_QToolTip(*(const QToolTip *)x[1].s_class);
	x[0].s_class = (void*)xret;
    }
    x_QToolTip(const QToolTip& x1) : QToolTip(x1) {
    }
    static void x_5(Smoke::Stack x) {
	// add(QWidget*, const QString&)
	QToolTip::add((QWidget*)x[1].s_class,*(const QString *)x[2].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    static void x_6(Smoke::Stack x) {
	// add(QWidget*, const QString&, QToolTipGroup*, const QString&)
	QToolTip::add((QWidget*)x[1].s_class,*(const QString *)x[2].s_voidp,(QToolTipGroup*)x[3].s_class,*(const QString *)x[4].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    static void x_7(Smoke::Stack x) {
	// remove(QWidget*)
	QToolTip::remove((QWidget*)x[1].s_class);
	(void)x; // noop (for compiler warning)
    }
    static void x_8(Smoke::Stack x) {
	// add(QWidget*, const QRect&, const QString&)
	QToolTip::add((QWidget*)x[1].s_class,*(const QRect *)x[2].s_class,*(const QString *)x[3].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    static void x_9(Smoke::Stack x) {
	// add(QWidget*, const QRect&, const QString&, QToolTipGroup*, const QString&)
	QToolTip::add((QWidget*)x[1].s_class,*(const QRect *)x[2].s_class,*(const QString *)x[3].s_voidp,(QToolTipGroup*)x[4].s_class,*(const QString *)x[5].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    static void x_10(Smoke::Stack x) {
	// remove(QWidget*, const QRect&)
	QToolTip::remove((QWidget*)x[1].s_class,*(const QRect *)x[2].s_class);
	(void)x; // noop (for compiler warning)
    }
    static void x_11(Smoke::Stack x) {
	// textFor(QWidget*, const QPoint&)
	QString xret = QToolTip::textFor((QWidget*)x[1].s_class,*(const QPoint *)x[2].s_class);
	x[0].s_voidp = (void*)new QString(xret);
    }
    static void x_12(Smoke::Stack x) {
	// textFor(QWidget*)
	QString xret = QToolTip::textFor((QWidget*)x[1].s_class);
	x[0].s_voidp = (void*)new QString(xret);
    }
    static void x_13(Smoke::Stack x) {
	// hide()
	QToolTip::hide();
	(void)x; // noop (for compiler warning)
    }
    static void x_14(Smoke::Stack x) {
	// font()
	QFont xret = QToolTip::font();
	x[0].s_class = (void*)new QFont(xret);
    }
    static void x_15(Smoke::Stack x) {
	// setFont(const QFont&)
	QToolTip::setFont(*(const QFont *)x[1].s_class);
	(void)x; // noop (for compiler warning)
    }
    static void x_16(Smoke::Stack x) {
	// palette()
	QPalette xret = QToolTip::palette();
	x[0].s_class = (void*)new QPalette(xret);
    }
    static void x_17(Smoke::Stack x) {
	// setPalette(const QPalette&)
	QToolTip::setPalette(*(const QPalette *)x[1].s_class);
	(void)x; // noop (for compiler warning)
    }
    static void x_18(Smoke::Stack x) {
	// setEnabled(bool)
	QToolTip::setEnabled((bool)x[1].s_bool);
	(void)x; // noop (for compiler warning)
    }
    static void x_19(Smoke::Stack x) {
	// enabled()
	bool xret = QToolTip::enabled();
	x[0].s_bool = xret;
    }
    static void x_20(Smoke::Stack x) {
	// setGloballyEnabled(bool)
	QToolTip::setGloballyEnabled((bool)x[1].s_bool);
	(void)x; // noop (for compiler warning)
    }
    static void x_21(Smoke::Stack x) {
	// isGloballyEnabled()
	bool xret = QToolTip::isGloballyEnabled();
	x[0].s_bool = xret;
    }
    static void x_22(Smoke::Stack x) {
	// setWakeUpDelay(int)
	QToolTip::setWakeUpDelay((int)x[1].s_int);
	(void)x; // noop (for compiler warning)
    }
    void x_23(Smoke::Stack x) {
	// tip(const QRect&, const QString&)
	this->QToolTip::tip(*(const QRect *)x[1].s_class,*(const QString *)x[2].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_24(Smoke::Stack x) {
	// tip(const QRect&, const QString&, const QString&)
	this->QToolTip::tip(*(const QRect *)x[1].s_class,*(const QString *)x[2].s_voidp,*(const QString *)x[3].s_voidp);
	(void)x; // noop (for compiler warning)
    }
    void x_25(Smoke::Stack x) {
	// tip(const QRect&, const QString&, const QRect&)
	this->QToolTip::tip(*(const QRect *)x[1].s_class,*(const QString *)x[2].s_voidp,*(const QRect *)x[3].s_class);
	(void)x; // noop (for compiler warning)
    }
    void x_26(Smoke::Stack x) {
	// tip(const QRect&, const QString&, const QString&, const QRect&)
	this->QToolTip::tip(*(const QRect *)x[1].s_class,*(const QString *)x[2].s_voidp,*(const QString *)x[3].s_voidp,*(const QRect *)x[4].s_class);
	(void)x; // noop (for compiler warning)
    }
    void x_27(Smoke::Stack x) {
	// clear()
	this->QToolTip::clear();
	(void)x; // noop (for compiler warning)
    }
    virtual void maybeTip(const QPoint& x1) {
	Smoke::StackItem x[2];
	x[1].s_class = (void*)&x1;
	qt_Smoke->binding->callMethod(11048, (void*)this, x, true /*pure virtual*/);
	return;
	// ABSTRACT
    }
    ~x_QToolTip() { qt_Smoke->binding->deleted(336, (void*)this); }
};
void xcall_QToolTip(Smoke::Index xi, void *obj, Smoke::Stack args) {
    x_QToolTip *xself = (x_QToolTip*)obj;
    switch(xi) {
	case 0: x_QToolTip::x_0(args);	break;
	case 1: x_QToolTip::x_1(args);	break;
	case 2: xself->x_2(args);	break;
	case 3: xself->x_3(args);	break;
	case 4: x_QToolTip::x_4(args);	break;
	case 5: x_QToolTip::x_5(args);	break;
	case 6: x_QToolTip::x_6(args);	break;
	case 7: x_QToolTip::x_7(args);	break;
	case 8: x_QToolTip::x_8(args);	break;
	case 9: x_QToolTip::x_9(args);	break;
	case 10: x_QToolTip::x_10(args);	break;
	case 11: x_QToolTip::x_11(args);	break;
	case 12: x_QToolTip::x_12(args);	break;
	case 13: x_QToolTip::x_13(args);	break;
	case 14: x_QToolTip::x_14(args);	break;
	case 15: x_QToolTip::x_15(args);	break;
	case 16: x_QToolTip::x_16(args);	break;
	case 17: x_QToolTip::x_17(args);	break;
	case 18: x_QToolTip::x_18(args);	break;
	case 19: x_QToolTip::x_19(args);	break;
	case 20: x_QToolTip::x_20(args);	break;
	case 21: x_QToolTip::x_21(args);	break;
	case 22: x_QToolTip::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: xself->x_27(args);	break;
	case 28: delete (QToolTip*)xself;	break;
    }
}
