org.kde.koala
Interface KComboBoxSignals


public interface KComboBoxSignals


Method Summary
 void aboutToShowContextMenu(org.kde.qt.QPopupMenu p)
          Emitted before the context menu is displayed.
 void completion(java.lang.String arg1)
          Emitted when the completion key is pressed.
 void completionModeChanged(int arg1)
          Emitted whenever the completion mode is changed by the user through the context menu.
 void returnPressed()
          Emitted when the user presses the Enter key.
 void returnPressed(java.lang.String arg1)
          Emitted when the user presses the Enter key.
 void substringCompletion(java.lang.String arg1)
          Emitted when the shortcut for substring completion is pressed.
 void textRotation(int arg1)
          Emitted when the text rotation key-bindings are pressed.
 

Method Detail

returnPressed

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


returnPressed

void returnPressed(java.lang.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.


completion

void completion(java.lang.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.


substringCompletion

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


textRotation

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.


completionModeChanged

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


aboutToShowContextMenu

void aboutToShowContextMenu(org.kde.qt.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