#include <addresslineedit.h>

Public Slots | |
void | cursorAtEnd () |
void | enableCompletion (bool enable) |
![]() | |
virtual void | setReadOnly (bool) |
void | rotateText (TDECompletionBase::KeyBindingType type) |
virtual void | setCompletedText (const TQString &) |
void | setCompletedItems (const TQStringList &items) |
void | setCompletedItems (const TQStringList &items, bool autoSuggest) |
virtual void | clear () |
void | setSqueezedText (const TQString &text) |
virtual void | setText (const TQString &) |
Public Member Functions | |
AddressLineEdit (TQWidget *parent, bool useCompletion=true, const char *name=0L) | |
virtual void | setFont (const TQFont &) |
![]() | |
KLineEdit (const TQString &string, TQWidget *parent, const char *name=0) | |
KLineEdit (TQWidget *parent=0, const char *name=0) | |
void | setURL (const KURL &url) |
void | cursorAtEnd () |
virtual void | setCompletionMode (TDEGlobalSettings::Completion mode) |
virtual void | setContextMenuEnabled (bool showMenu) |
bool | isContextMenuEnabled () const |
void | setURLDropsEnabled (bool enable) |
bool | isURLDropsEnabled () const |
void | setTrapReturnKey (bool trap) |
bool | trapReturnKey () const |
virtual bool | eventFilter (TQObject *, TQEvent *) |
TDECompletionBox * | completionBox (bool create=true) |
virtual void | setCompletionObject (TDECompletion *, bool hsig=true) |
virtual void | copy () const |
void | setEnableSqueezedText (bool enable) |
bool | isSqueezedTextEnabled () const |
TQString | originalText () const |
void | setCompletionBox (TDECompletionBox *box) |
void | setClickMessage (const TQString &msg) |
TQString | clickMessage () const |
![]() | |
TDECompletion * | completionObject (bool hsig=true) |
virtual void | setCompletionObject (TDECompletion *compObj, bool hsig=true) |
virtual void | setHandleSignals (bool handle) |
bool | isCompletionObjectAutoDeleted () const |
void | setAutoDeleteCompletionObject (bool autoDelete) |
void | setEnableSignals (bool enable) |
bool | handleSignals () const |
bool | emitSignals () const |
virtual void | setCompletionMode (TDEGlobalSettings::Completion mode) |
TDEGlobalSettings::Completion | completionMode () const |
bool | setKeyBinding (KeyBindingType item, const TDEShortcut &key) |
const TDEShortcut & | getKeyBinding (KeyBindingType item) const |
void | useGlobalKeyBindings () |
virtual void | setCompletedText (const TQString &text)=0 |
virtual void | setCompletedItems (const TQStringList &items)=0 |
TDECompletion * | compObj () const |
Static Public Member Functions | |
static TDEConfig * | config () |
Protected Member Functions | |
virtual void | loadAddresses () |
void | addAddress (const TQString &) |
virtual void | keyPressEvent (TQKeyEvent *) |
virtual void | dropEvent (TQDropEvent *e) |
virtual void | paste () |
virtual void | insert (const TQString &t) |
virtual void | mouseReleaseEvent (TQMouseEvent *e) |
void | doCompletion (bool ctrlT) |
![]() | |
virtual void | resizeEvent (TQResizeEvent *) |
virtual void | keyPressEvent (TQKeyEvent *) |
virtual void | mousePressEvent (TQMouseEvent *) |
virtual void | mouseDoubleClickEvent (TQMouseEvent *) |
virtual void | mouseReleaseEvent (TQMouseEvent *) |
virtual void | contextMenuEvent (TQContextMenuEvent *) |
virtual TQPopupMenu * | createPopupMenu () |
virtual void | drawContents (TQPainter *p) |
virtual void | dropEvent (TQDropEvent *) |
void | setUserSelection (bool userSelection) |
virtual void | create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true) |
virtual void | focusInEvent (TQFocusEvent *) |
virtual void | focusOutEvent (TQFocusEvent *) |
bool | autoSuggest () const |
![]() | |
KeyBindingMap | getKeyBindings () const |
void | setDelegate (TDECompletionBase *delegate) |
TDECompletionBase * | delegate () const |
Additional Inherited Members | |
![]() | |
enum | KeyBindingType |
![]() | |
void | completionBoxActivated (const TQString &) |
void | returnPressed (const TQString &) |
void | completion (const TQString &) |
void | substringCompletion (const TQString &) |
void | textRotation (TDECompletionBase::KeyBindingType) |
void | completionModeChanged (TDEGlobalSettings::Completion) |
void | aboutToShowContextMenu (TQPopupMenu *p) |
![]() | |
TextCompletion | |
PrevCompletionMatch | |
NextCompletionMatch | |
SubstringCompletion | |
![]() | |
virtual void | makeCompletion (const TQString &) |
void | slotAboutToShow () |
void | slotCancelled () |
void | userCancelled (const TQString &cancelText) |
Detailed Description
A lineedit with LDAP and tdeabc completion.
This lineedit is supposed to be used wherever the user types email addresses and might want a completion. You can simply use it as a replacement for KLineEdit or TQLineEdit.
You can enable or disable the lineedit at any time.
Definition at line 50 of file addresslineedit.h.
Constructor & Destructor Documentation
◆ AddressLineEdit()
AddressLineEdit::AddressLineEdit | ( | TQWidget * | parent, |
bool | useCompletion = true , |
||
const char * | name = 0L |
||
) |
Definition at line 72 of file addresslineedit.cpp.
◆ ~AddressLineEdit()
|
virtual |
Definition at line 133 of file addresslineedit.cpp.
Member Function Documentation
◆ addAddress()
|
protected |
Definition at line 437 of file addresslineedit.cpp.
◆ config()
|
static |
Definition at line 139 of file addresslineedit.cpp.
◆ cursorAtEnd
|
slot |
Set cursor to end of line.
Definition at line 276 of file addresslineedit.cpp.
◆ doCompletion()
|
protected |
Definition at line 288 of file addresslineedit.cpp.
◆ dropEvent()
|
protectedvirtual |
Reimplemented from KLineEdit.
Definition at line 524 of file addresslineedit.cpp.
◆ enableCompletion
|
slot |
Toggle completion.
Definition at line 282 of file addresslineedit.cpp.
◆ insert()
|
protectedvirtual |
Definition at line 203 of file addresslineedit.cpp.
◆ keyPressEvent()
|
protectedvirtual |
Reimplemented from KLineEdit.
Definition at line 155 of file addresslineedit.cpp.
◆ loadAddresses()
|
protectedvirtual |
Always call AddressLineEdit::loadAddresses() as the first thing.
Use addAddress() to add addresses.
Definition at line 427 of file addresslineedit.cpp.
◆ mouseReleaseEvent()
|
protectedvirtual |
Reimplemented from KLineEdit.
Definition at line 191 of file addresslineedit.cpp.
◆ paste()
|
protectedvirtual |
Definition at line 267 of file addresslineedit.cpp.
◆ setFont()
|
virtual |
Reimplented for internal reasons.
@ see KLineEdit::setFont()
Definition at line 147 of file addresslineedit.cpp.
The documentation for this class was generated from the following files: