libkdepim
KPIM::AddresseeLineEdit Class Reference
Inheritance diagram for KPIM::AddresseeLineEdit:

Detailed Description
Definition at line 53 of file addresseelineedit.h.
Public Slots | |
void | cursorAtEnd () |
void | enableCompletion (bool enable) |
virtual void | setText (const QString &txt) |
DCOP Member Functions | |
void | slotIMAPCompletionOrderChanged () |
Public Member Functions | |
AddresseeLineEdit (QWidget *parent, bool useCompletion=true, const char *name=0L) | |
virtual | ~AddresseeLineEdit () |
virtual void | setFont (const QFont &) |
Protected Slots | |
virtual void | loadContacts () |
Protected Member Functions | |
void | addContact (const KABC::Addressee &, int weight, int source=-1) |
virtual void | keyPressEvent (QKeyEvent *) |
virtual void | insert (const QString &text) |
virtual void | paste () |
virtual void | mouseReleaseEvent (QMouseEvent *e) |
virtual void | dropEvent (QDropEvent *e) |
void | doCompletion (bool ctrlT) |
virtual QPopupMenu * | createPopupMenu () |
int | addCompletionSource (const QString &) |
Static Protected Member Functions | |
static KCompletion::CompOrder | completionOrder () |
Member Function Documentation
void AddresseeLineEdit::setText | ( | const QString & | txt | ) | [virtual, slot] |
Reimplemented for stripping whitespace after completion.
Reimplemented from KPIM::ClickLineEdit.
Definition at line 272 of file addresseelineedit.cpp.
void AddresseeLineEdit::insert | ( | const QString & | text | ) | [protected, virtual] |
Reimplemented for smart insertion of email addresses.
Features:
- Automatically adds ',' if necessary to separate email addresses
- Correctly decodes mailto URLs
- Recognizes email addresses which are protected against address harvesters, i.e. "name at kde dot org" and "name(at)kde.org"
Definition at line 206 of file addresseelineedit.cpp.
void AddresseeLineEdit::paste | ( | ) | [protected, virtual] |
Reimplemented for smart insertion of pasted email addresses.
Definition at line 277 of file addresseelineedit.cpp.
void AddresseeLineEdit::mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplemented for smart insertion with middle mouse button.
Definition at line 286 of file addresseelineedit.cpp.
void AddresseeLineEdit::dropEvent | ( | QDropEvent * | e | ) | [protected, virtual] |
Reimplemented for smart insertion of dragged email addresses.
Definition at line 300 of file addresseelineedit.cpp.
int KPIM::AddresseeLineEdit::addCompletionSource | ( | const QString & | ) | [protected] |
Adds the name of a completion source to the internal list of such sources and returns its index, such that that can be used for insertion of items associated with that source.
Definition at line 767 of file addresseelineedit.cpp.
KCompletion::CompOrder KPIM::AddresseeLineEdit::completionOrder | ( | ) | [static, protected] |
return whether we are using sorted or weighted display
Definition at line 755 of file addresseelineedit.cpp.
The documentation for this class was generated from the following files: