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

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

/**

 This class does shell-like completion of file names.
 A string passed to makeCompletion() will be interpreted as a shell 
 command line. Completion will be done on the last argument on the line. 
 Returned matches consist of the first arguments (uncompleted) plus the 
 completed last argument.
		@author David Smith <dsmith@algonet.se>
 
		@short Shell-like completion of file names.

*/
public class KShellCompletion extends KURLCompletion  {
	protected KShellCompletion(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	/**	
		 Constructs a KShellCompletion object.
		         		@short    Constructs a KShellCompletion object.
	*/
	public KShellCompletion() {
		super((Class) null);
		newKShellCompletion();
	}
	private native void newKShellCompletion();
	/**	
		 Finds completions to the given text.
		 The first match is returned and emitted in the signal match().
			@param text the text to complete
				@return the first match, or null if not found
	 
		@short    Finds completions to the given text.
	*/
	public native String makeCompletion(String text);
	protected native void postProcessMatch(StringBuffer match);
	protected native void postProcessMatches(String[] matches);
	// void postProcessMatches(KCompletionMatches* arg1); >>>> NOT CONVERTED
	/** 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();
}
