org.kde.koala

Interface KComboBoxSignals

public interface KComboBoxSignals

Method Summary
voidaboutToShowContextMenu(QPopupMenu p)
Emitted before the context menu is displayed.
voidcompletion(String arg1)
Emitted when the completion key is pressed.
voidcompletionModeChanged(int arg1)
Emitted whenever the completion mode is changed by the user through the context menu.
voidreturnPressed()
Emitted when the user presses the Enter key.
voidreturnPressed(String arg1)
Emitted when the user presses the Enter 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 context menu. Note that you MUST NOT store the pointer to the QPopupMenu since it is created and deleted on demand. Otherwise, you can crash your app.

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. The argument is the current text being edited. Note that this signal is not available when the widget is non-editable or the completion mode is set to KGlobalSettings.CompletionNone.

UNKNOWN: Emitted when the completion key is pressed.

completionModeChanged

public void completionModeChanged(int arg1)
Emitted whenever the completion mode is changed by the user through the context menu.

UNKNOWN: Emitted whenever the completion mode is changed by the user through the context menu.

returnPressed

public void returnPressed()
Emitted when the user presses the Enter key. Note that this signal is only emitted when the widget is editable.

UNKNOWN: Emitted when the user presses the Enter key.

returnPressed

public void returnPressed(String arg1)
Emitted when the user presses the Enter key. The argument is the current text being edited. This signal is just like returnPressed() except it contains the current text as its argument. Note that this signal is only emitted when the widget is editable.

UNKNOWN: Emitted when the user presses the Enter 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 this case this can be either one of four values: PrevCompletionMatch, NextCompletionMatch, RotateUp or RotateDown. See KCompletionBase.setKeyBinding() for details. Note that this signal is NOT emitted if the completion mode is set to CompletionNone.

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