summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KFindSignals.java
blob: c5b54c62454e5014dcc04c1bfff3720db2972a05 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQRegExp;
import org.kde.qt.TQWidget;

public interface KFindSignals {
	/**	
		 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);
	/**	
		 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();
	/**	
		 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();
	/**	
		 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();
}