KABC::AddressLineEdit Class Reference
A lineedit with LDAP and kabc completion. More...
#include <addresslineedit.h>
Inheritance diagram for KABC::AddressLineEdit:


| Public Slots | |
| void | cursorAtEnd () | 
| void | enableCompletion (bool enable) | 
| Public Member Functions | |
| AddressLineEdit (QWidget *parent, bool useCompletion=true, const char *name=0L) | |
| virtual void | setFont (const QFont &) | 
| Static Public Member Functions | |
| KConfig * | config () | 
| Protected Member Functions | |
| virtual void | loadAddresses () | 
| void | addAddress (const QString &) | 
| virtual void | keyPressEvent (QKeyEvent *) | 
| virtual void | dropEvent (QDropEvent *e) | 
| virtual void | paste () | 
| virtual void | insert (const QString &t) | 
| virtual void | mouseReleaseEvent (QMouseEvent *e) | 
| void | doCompletion (bool ctrlT) | 
Detailed Description
A lineedit with LDAP and kabc 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 QLineEdit.
You can enable or disable the lineedit at any time.
- See also:
- AddressLineEdit::enableCompletion()
Definition at line 50 of file addresslineedit.h.
Member Function Documentation
| 
 | 
| Reimplented for internal reasons. @ see KLineEdit::setFont() Definition at line 148 of file addresslineedit.cpp. References KLineEdit::completionBox(). | 
| 
 | 
| Set cursor to end of line. 
 Reimplemented from KLineEdit. Definition at line 283 of file addresslineedit.cpp. References KCompletionBox::hide(). | 
| 
 | 
| Toggle completion. 
 Definition at line 289 of file addresslineedit.cpp. | 
| 
 | 
| Always call AddressLineEdit::loadAddresses() as the first thing. Use addAddress() to add addresses. Definition at line 418 of file addresslineedit.cpp. | 
The documentation for this class was generated from the following files:

