//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdefiletreeview.h>
#include <tqpoint.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KFileTreeViewToolTip.h>

class KFileTreeViewToolTipJBridge : public KFileTreeViewToolTip
{
public:
	KFileTreeViewToolTipJBridge(TQListView* arg1) : KFileTreeViewToolTip(arg1) {};
	void protected_maybeTip(const TQPoint& arg1) {
		KFileTreeViewToolTip::maybeTip(arg1);
		return;
	}
	~KFileTreeViewToolTipJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileTreeViewToolTip_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KFileTreeViewToolTip_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileTreeViewToolTip_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileTreeViewToolTip*)QtSupport::getQt(env, obj))->parentWidget() == 0) {
		delete (KFileTreeViewToolTip*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileTreeViewToolTip_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileTreeViewToolTip_maybeTip(JNIEnv* env, jobject obj, jobject arg1)
{
	((KFileTreeViewToolTipJBridge*) QtSupport::getQt(env, obj))->protected_maybeTip((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileTreeViewToolTip_newKFileTreeViewToolTip(JNIEnv* env, jobject obj, jobject view)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KFileTreeViewToolTipJBridge((TQListView*) QtSupport::getQt(env, view)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

