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.
51 lines
2.1 KiB
51 lines
2.1 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
11 years ago
|
package org.trinitydesktop.koala;
|
||
15 years ago
|
|
||
11 years ago
|
import org.trinitydesktop.qt.TQMetaObject;
|
||
|
import org.trinitydesktop.qt.QtSupport;
|
||
|
import org.trinitydesktop.qt.TQRegExp;
|
||
|
import org.trinitydesktop.qt.TQWidget;
|
||
15 years ago
|
|
||
|
public interface KFindSignals {
|
||
11 years ago
|
/**
|
||
15 years ago
|
Connect to this signal to implement highlighting of found text during the find
|
||
|
operation.
|
||
|
If you've set data with setData(id, text), use the signal highlight(id,
|
||
|
matchingIndex, matchedLength)
|
||
|
WARNING: If you're using the FindIncremental option, the text argument
|
||
|
passed by this signal is not necessarily the data last set through
|
||
|
setData(), but can also be an earlier set data block.
|
||
|
@short Connect to this signal to implement highlighting of found text during the find operation.
|
||
|
@see #setData
|
||
|
*/
|
||
|
void highlight(String text, int matchingIndex, int matchedLength);
|
||
11 years ago
|
/**
|
||
15 years ago
|
Connect to this signal to implement highlighting of found text during the find
|
||
|
operation.
|
||
|
Use this signal if you've set your data with setData(id, text), otherwise
|
||
|
use the signal with highlight(text, matchingIndex, matchedLength).
|
||
|
WARNING: If you're using the FindIncremental option, the id argument
|
||
|
passed by this signal is not necessarily the id of the data last set
|
||
|
through setData(), but can also be of an earlier set data block.
|
||
|
@short Connect to this signal to implement highlighting of found text during the find operation.
|
||
|
@see #setData
|
||
|
*/
|
||
|
void highlight(int id, int matchingIndex, int matchedLength);
|
||
|
void findNext();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Emitted when the options have changed.
|
||
|
This can happen e.g. with "Replace All", or if our 'find next' dialog
|
||
|
gets a "find previous" one day.
|
||
|
@short Emitted when the options have changed.
|
||
|
*/
|
||
|
void optionsChanged();
|
||
11 years ago
|
/**
|
||
15 years ago
|
Emitted when the 'find next' dialog is being closed.
|
||
|
Some apps might want to remove the highlighted text when this happens.
|
||
|
Apps without support for "Find Next" can also do m_find.deleteLater()
|
||
|
to terminate the find operation.
|
||
|
@short Emitted when the 'find next' dialog is being closed.
|
||
|
*/
|
||
|
void dialogClosed();
|
||
|
}
|