tdeabc
TDEABC::AddressLineEdit Class Reference
A lineedit with LDAP and tdeabc completion. More...
#include <addresslineedit.h>

Public Slots | |
void | cursorAtEnd () |
void | enableCompletion (bool enable) |
Public Member Functions | |
AddressLineEdit (TQWidget *parent, bool useCompletion=true, const char *name=0L) | |
virtual void | setFont (const TQFont &) |
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) |
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.
- See also:
- AddressLineEdit::enableCompletion()
Definition at line 50 of file addresslineedit.h.
Member Function Documentation
void AddressLineEdit::cursorAtEnd | ( | ) | [slot] |
Set cursor to end of line.
Reimplemented from KLineEdit.
Definition at line 276 of file addresslineedit.cpp.
void AddressLineEdit::enableCompletion | ( | bool | enable | ) | [slot] |
Toggle completion.
Definition at line 282 of file addresslineedit.cpp.
void AddressLineEdit::loadAddresses | ( | ) | [protected, virtual] |
Always call AddressLineEdit::loadAddresses() as the first thing.
Use addAddress() to add addresses.
Definition at line 427 of file addresslineedit.cpp.
void AddressLineEdit::setFont | ( | const TQFont & | font | ) | [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: