//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;

/**

 Static deleters are used to manage static resources. They can register
 themselves with KGlobal. KGlobal will call destructObject() when
 KGlobal.deleteStaticDeleters() is called or when it the process
 finishes.
		@short    Static deleters are used to manage static resources.
		@see KStaticDeleter
		@see KGlobal#registerStaticDeleter
		@see KGlobal#unregisterStaticDeleter
		@see KGlobal#deleteStaticDeleters

*/
public class KStaticDeleterBase implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected KStaticDeleterBase(Class dummy){}

	/**	
		 Should destruct the resources managed by this KStaticDeleterBase.
		 Usually you also want to call it in your destructor.
				@short    Should destruct the resources managed by this KStaticDeleterBase.
		@see KGlobal#deleteStaticDeleters
	*/
	public native void destructObject();
	public KStaticDeleterBase() {
		newKStaticDeleterBase();
	}
	private native void newKStaticDeleterBase();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
