You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KShellCompletion.java

52 lines
1.7 KiB

//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(TDECompletionMatches* 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();
}