• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kabc
 

kabc

  • KABC
  • AddressLineEdit
Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
KABC::AddressLineEdit Class Reference

#include <addresslineedit.h>

Inheritance diagram for KABC::AddressLineEdit:
KLineEdit KCompletionBase

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 &)
 
- Public Member Functions inherited from KCompletionBase
KCompletion * completionObject (bool hsig=true)
 
virtual void setCompletionObject (KCompletion *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 (KGlobalSettings::Completion mode)
 
KGlobalSettings::Completion completionMode () const
 
bool setKeyBinding (KeyBindingType item, const KShortcut &key)
 
const KShortcut & getKeyBinding (KeyBindingType item) const
 
void useGlobalKeyBindings ()
 
virtual void setCompletedText (const TQString &text)=0
 
virtual void setCompletedItems (const TQStringList &items)=0
 
KCompletion * compObj () const
 

Static Public Member Functions

static KConfig * 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)
 
- Protected Member Functions inherited from KCompletionBase
KeyBindingMap getKeyBindings () const
 
void setDelegate (KCompletionBase *delegate)
 
KCompletionBase * delegate () const
 

Additional Inherited Members

- Public Types inherited from KCompletionBase
enum  KeyBindingType
 

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 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.

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 ( )
protectedvirtual

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:
  • addresslineedit.h
  • addresslineedit.cpp

kabc

Skip menu "kabc"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kabc

Skip menu "kabc"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kabc by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |