//Auto-generated by kalyptus. DO NOT EDIT. package org.trinitydesktop.koala; import org.trinitydesktop.qt.Qt; import org.trinitydesktop.qt.TQMetaObject; import org.trinitydesktop.qt.QtSupport; import java.util.ArrayList; import org.trinitydesktop.qt.TQShowEvent; import org.trinitydesktop.qt.TQWidget; /** etail: This widget inherits from KFindDialog and implements the following additional functionalities: a replacement string object and an area for a user-defined widget to extend the dialog. xample: To use the basic replace dialog:
To use your own extensions:
@author S.R.Haque
strings
to be displayed as the history
of replacement strings. strings
might get truncated if it is
too long.
@param history The replacement history.
@short Provide the list of strings
to be displayed as the history of replacement strings.
@see #replacementHistory
*/
public native void setReplacementHistory(String[] history);
/**
Returns the list of history items.
@short Returns the list of history items.
@see #setReplacementHistory
*/
public native ArrayList replacementHistory();
/**
Set the options which are enabled.
@param options The setting of the Options.
@short Set the options which are enabled.
*/
public native void setOptions(long options);
/**
Returns the state of the options. Disabled options may be returned in
an indeterminate state.
@short Returns the state of the options.
@see #setOptions
*/
public native long options();
/**
Returns the replacement string.
@short Returns the replacement string.
*/
public native String replacement();
/**
Returns an empty widget which the user may fill with additional UI
elements as required. The widget occupies the width of the dialog,
and is positioned immediately the regular expression support widgets
for the replacement string.
@short Returns an empty widget which the user may fill with additional UI elements as required.
*/
public native TQWidget replaceExtension();
protected native void slotOk();
public native void showEvent(TQShowEvent arg1);
/** 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();
}