summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KShellCompletion.java
blob: b1802b81dcdff5227d4c5da1a3bf40512b8b785b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
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 TQMetaObject 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();
}