Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AddressPicker Class Reference

#include </home/clem/local/src/opie/core/pim/addressbook/addresspicker.h>

Collaboration diagram for AddressPicker:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AddressPicker (AbTable *table, QWidget *parent, const char *name=0, bool modal=FALSE)
void setChoiceNames (const QStringList &)
void setSelection (int index, const QStringList &)
QStringList selection (int index) const
 AddressPicker (QWidget *parent=0, const char *name=0, bool modal=false, WFlags flags=0)

Static Public Member Functions

static QString getNames ()
static QString getNames ()

Protected Member Functions

void accept ()
 AddressPicker (QWidget *parent=0, const char *name=0, bool modal=false, WFlags fl=0)
void accept ()

Protected Attributes

QString selectedNames

Private Attributes

AbTabletable

Constructor & Destructor Documentation

AddressPicker::AddressPicker AbTable tab,
QWidget *  parent,
const char *  name = 0,
bool  modal = FALSE
 

tab is reparented for use in the picker. Take it back out if you want to regain ownership.

Definition at line 30 of file addresspicker.cpp.

References table.

AddressPicker::AddressPicker QWidget *  parent = 0,
const char *  name = 0,
bool  modal = false,
WFlags  flags = 0
 

Definition at line 18 of file addresspicker.cpp.

References accept(), QValueList< T >::begin(), QValueList< T >::end(), Opie::Core::OResource::loadPixmap(), m_list, Opie::Core::OResource::SmallIcon, Opie::OPimAccessTemplate< T >::sorted(), and tr.

AddressPicker::AddressPicker QWidget *  parent = 0,
const char *  name = 0,
bool  modal = false,
WFlags  fl = 0
[protected]
 


Member Function Documentation

void AddressPicker::accept  )  [protected]
 

void AddressPicker::accept  )  [protected]
 

Definition at line 74 of file addresspicker.cpp.

References QString::isEmpty(), QString::length(), QString::replace(), selectedNames, and tr.

Referenced by AddressPicker().

static QString AddressPicker::getNames  )  [static]
 

QString AddressPicker::getNames  )  [static]
 

Definition at line 98 of file addresspicker.cpp.

References QPEApplication::execDialog(), and selectedNames.

Referenced by ComposeMail::pickAddress(), and Composer::slotOpenAddressPicker().

QStringList AddressPicker::selection int  index  )  const
 

Definition at line 49 of file addresspicker.cpp.

References AbTable::choiceSelection(), and table.

void AddressPicker::setChoiceNames const QStringList  ) 
 

Definition at line 39 of file addresspicker.cpp.

References table.

void AddressPicker::setSelection int  index,
const QStringList
 

Definition at line 44 of file addresspicker.cpp.

References AbTable::setChoiceSelection(), and table.


Member Data Documentation

QString AddressPicker::selectedNames [protected]
 

Definition at line 17 of file addresspicker.h.

Referenced by accept(), and getNames().

AbTable* AddressPicker::table [private]
 

Definition at line 36 of file addresspicker.h.

Referenced by AddressPicker(), selection(), setChoiceNames(), and setSelection().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:10 2005 for OPIE by  doxygen 1.4.2