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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;

/**

 Access to the KDE global objects.
 TDEGlobal provides you with pointers of many central
 objects that exist only once in the process. It is also
 responsible for managing instances of KStaticDeleterBase.
		@author Sirtaj Singh Kang (taj@kde.org)

		@short    Access to the KDE global objects.
		@see KStaticDeleterBase

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

	public TDEGlobal() {
		newTDEGlobal();
	}
	private native void newTDEGlobal();
	/**
		 Returns the global instance.  There is always at least
		 one instance of a component in one application (in most
		 cases the application itself).
				@return the global instance

		@short    Returns the global instance.
	*/
	public static native TDEInstanceInterface instance();
	/**
		  Returns the application standard dirs object.
				@return the global standard dir object

		@short     Returns the application standard dirs object.
	*/
	public static native TDEStandardDirs dirs();
	/**
		  Returns the general config object.
				@return the global configuration object.

		@short     Returns the general config object.
	*/
	public static native TDEConfig config();
	/**
		  Returns the general config object.
				@return the global configuration object.

		@short     Returns the general config object.
	*/
	public static native TDESharedConfig sharedConfig();
	/**
		  Returns an iconloader object.
				@return the global iconloader object

		@short     Returns an iconloader object.
	*/
	public static native TDEIconLoader iconLoader();
	/**
		 Returns the global locale object.
				@return the global locale object

		@short    Returns the global locale object.
	*/
	public static native TDELocale locale();
	/**
		 The global charset manager.
				@return the global charset manager

		@short    The global charset manager.
	*/
	public static native KCharsets charsets();
	/**
		 Creates a static String.
			 To be used inside functions(!) like:
		 <pre>
		 static StringmyString = TDEGlobal.staticString("myText");
		 </pre>
			 !!! Do _NOT_ use: !!!
		 <pre>
		 static String myString = TDEGlobal.staticString("myText");
		 </pre>
		 This creates a static object (instead of a static reference)
		 and as you know static objects are EVIL.
			@param str the string to create
				@return the static string

		@short    Creates a static String.
	*/
	public static native String staticQString(String str);
	/**
		 Registers a static deleter.
			@param d the static deleter to register
				@short    Registers a static deleter.
		@see KStaticDeleterBase
		@see KStaticDeleter
	*/
	public static native void registerStaticDeleter(KStaticDeleterBase d);
	/**
		 Unregisters a static deleter.
			@param d the static deleter to unregister
				@short    Unregisters a static deleter.
		@see KStaticDeleterBase
		@see KStaticDeleter
	*/
	public static native void unregisterStaticDeleter(KStaticDeleterBase d);
	/**
		 Calls KStaticDeleterBase.destructObject() on all
		 registered static deleters and unregisters them all.
				@short    Calls KStaticDeleterBase.destructObject() on all  registered static deleters and unregisters them all.
		@see KStaticDeleterBase
		@see KStaticDeleter
	*/
	public static native void deleteStaticDeleters();
	/**
		 The instance currently active (useful in a multi-instance
		 application, such as a KParts application).
		 Don't use this - it's mainly for TDEAboutDialog and KBugReport.
			     		@short    The instance currently active (useful in a multi-instance  application, such as a KParts application).
	*/
	public static native void setActiveInstance(TDEInstanceInterface d);
	public static native TDEInstanceInterface activeInstance();
	/** 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();
}
