klineedit.h
void textRotation(TDECompletionBase::KeyBindingType)
Emitted when the text rotation key-bindings are pressed.
void returnPressed(const TQString &)
Emitted when the user presses the return key.
void setURLDropsEnabled(bool enable)
Enables/Disables handling of URL drops.
Definition klineedit.cpp:1058
void setTrapReturnKey(bool trap)
By default, KLineEdit recognizes Key_Return and Key_Enter and emits the returnPressed() signals,...
Definition klineedit.cpp:1068
void setClickMessage(const TQString &msg)
This makes the line edit display a grayed-out hinting text as long as the user didn't enter any text.
Definition klineedit.cpp:1367
virtual void setText(const TQString &)
Re-implemented to enable text squeezing.
Definition klineedit.cpp:310
bool isURLDropsEnabled() const
Returns true when decoded URL drops are enabled.
Definition klineedit.cpp:1063
void rotateText(TDECompletionBase::KeyBindingType type)
Iterates through all possible matches of the completed text or the history list.
Definition klineedit.cpp:205
void setEnableSqueezedText(bool enable)
Enable text squeezing whenever the supplied text is too long.
Definition klineedit.cpp:300
void substringCompletion(const TQString &)
Emitted when the shortcut for substring completion is pressed.
void completionBoxActivated(const TQString &)
Emitted whenever the completion box is activated.
bool autoSuggest() const
Whether in current state text should be auto-suggested.
Definition klineedit.cpp:1362
void completionModeChanged(TDEGlobalSettings::Completion)
Emitted when the user changed the completion mode by using the popupmenu.
virtual void setContextMenuEnabled(bool showMenu)
Enables/disables the popup (context) menu.
Definition klineedit.h:223
void aboutToShowContextMenu(TQPopupMenu *p)
Emitted before the context menu is displayed.
virtual void makeCompletion(const TQString &)
Completes the remaining text with a matching one from a given list.
Definition klineedit.cpp:226
bool isContextMenuEnabled() const
Returns true when the context menu is enabled.
Definition klineedit.h:228
bool isSqueezedTextEnabled() const
Returns true if text squeezing is enabled.
Definition klineedit.cpp:305
virtual void clear()
Reimplemented to workaround a buggy TQLineEdit::clear() (changing the clipboard to the text we just h...
Definition klineedit.cpp:1320
KLineEdit(const TQString &string, TQWidget *parent, const char *name=0)
Constructs a KLineEdit object with a default text, a parent, and a name.
Definition klineedit.cpp:106
void setSqueezedText(const TQString &text)
Squeezes text into the line edit.
Definition klineedit.cpp:294
virtual void setCompletionMode(TDEGlobalSettings::Completion mode)
virtual void setCompletedItems(const TQStringList &items)=0
TDECompletionBase()
virtual void setCompletionObject(TDECompletion *compObj, bool hsig=true)
virtual void setCompletedText(const TQString &text)=0
KeyBindingType
A helper widget for "completion-widgets" (KLineEdit, KComboBox)).
Definition tdecompletionbox.h:44
Completion
Trinity API Reference