org.kde.koala

Interface KLineEditSignals

public interface KLineEditSignals

Method Summary
voidaboutToShowContextMenu(QPopupMenu p)
Emitted before the context menu is displayed.
voidcompletion(String arg1)
Emitted when the completion key is pressed.
voidcompletionBoxActivated(String arg1)
Emitted whenever the completion box is activated.
voidcompletionModeChanged(int arg1)
Emitted when the user changed the completion mode by using the popupmenu.
voidreturnPressed(String arg1)
Emitted when the user presses the return key.
voidsubstringCompletion(String arg1)
Emitted when the shortcut for substring completion is pressed.
voidtextRotation(int arg1)
Emitted when the text rotation key-bindings are pressed.

Method Detail

aboutToShowContextMenu

public void aboutToShowContextMenu(QPopupMenu p)
Emitted before the context menu is displayed. The signal allows you to add your own entries into the the context menu that is created on demand. NOTE: Do not store the pointer to the QPopupMenu provided through since it is created and deleted on demand.

Parameters: p the context menu about to be displayed

UNKNOWN: Emitted before the context menu is displayed.

completion

public void completion(String arg1)
Emitted when the completion key is pressed. Please note that this signal is not emitted if the completion mode is set to CompletionNone or EchoMode is normal.

UNKNOWN: Emitted when the completion key is pressed.

completionBoxActivated

public void completionBoxActivated(String arg1)
Emitted whenever the completion box is activated.

UNKNOWN: Emitted whenever the completion box is activated.

completionModeChanged

public void completionModeChanged(int arg1)
Emitted when the user changed the completion mode by using the popupmenu.

UNKNOWN: Emitted when the user changed the completion mode by using the popupmenu.

returnPressed

public void returnPressed(String arg1)
Emitted when the user presses the return key. The argument is the current text. Note that this signal is not emitted if the widget's EchoMode is set to QLineEdit.EchoMode.

UNKNOWN: Emitted when the user presses the return key.

substringCompletion

public void substringCompletion(String arg1)
Emitted when the shortcut for substring completion is pressed.

UNKNOWN: Emitted when the shortcut for substring completion is pressed.

textRotation

public void textRotation(int arg1)
Emitted when the text rotation key-bindings are pressed. The argument indicates which key-binding was pressed. In KLineEdit's case this can be either one of two values: PrevCompletionMatch or NextCompletionMatch. See KCompletionBase.setKeyBinding for details. Note that this signal is not emitted if the completion mode is set to KGlobalSettings.CompletionNone or echoMode() is not normal.

UNKNOWN: Emitted when the text rotation key-bindings are pressed.