Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::AddressLineEdit Class Reference

#include <addresslineedit.h>

Inheritance diagram for KABC::AddressLineEdit:

KLineEdit KCompletionBase List of all members.

Public Slots

void cursorAtEnd ()
void enableCompletion (bool enable)

Public Methods

virtual void setFont (const QFont &)

Protected Methods

virtual void loadAddresses ()
virtual void keyPressEvent (QKeyEvent *)
virtual void dropEvent (QDropEvent *e)

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 48 of file addresslineedit.h.


Member Function Documentation

void KABC::AddressLineEdit::cursorAtEnd   [slot]
 

Set cursor to end of line.

Reimplemented from KLineEdit.

virtual void KABC::AddressLineEdit::dropEvent QDropEvent *    e [protected, virtual]
 

Re-implemented to handle URI drops.

See QLineEdit::dropEvent().

Reimplemented from KLineEdit.

void KABC::AddressLineEdit::enableCompletion bool    enable [slot]
 

Toggle completion.

virtual void KABC::AddressLineEdit::keyPressEvent QKeyEvent *    [protected, virtual]
 

Re-implemented for internal reasons. API not affected.

See QLineEdit::keyPressEvent().

Reimplemented from KLineEdit.

virtual void KABC::AddressLineEdit::loadAddresses   [protected, virtual]
 

Always call AddressLineEdit::loadAddresses() as the first thing. Use addAddress() to add addresses.

virtual void KABC::AddressLineEdit::setFont const QFont &    [virtual]
 

Reimplented for internal reasons. @ see KLineEdit::setFont()


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:31 2003 for kdelibs by doxygen1.2.18