org.kde.koala
Interface KLineEditSignals


public interface KLineEditSignals


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 completionBoxActivated(java.lang.String arg1)
          Emitted whenever the completion box is activated.
 void completionModeChanged(int arg1)
          Emitted when the user changed the completion mode by using the popupmenu.
 void returnPressed(java.lang.String arg1)
          Emitted when the user presses the return 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

completionBoxActivated

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


returnPressed

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


completion

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


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 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.


completionModeChanged

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


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 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