ContactCluster Class Reference

#include <contactcluster.h>

List of all members.

Public Types

enum  AccountLimits {
  Employee = 1, Customer = 2, Vendor = 4, Partner = 8,
  Prospect = 16, Competitor = 32
}
enum  Mode { Edit, View, Select }

Properties

bool accountVisible
bool activeVisible
bool addressVisible
QString defaultText
bool emailVisible
QString fieldNameActive
QString fieldNameAddressChange
QString fieldNameAddressNumber
QString fieldNameChange
QString fieldNameCity
QString fieldNameCountry
QString fieldNameCrmAccount
QString fieldNameEmailAddress
QString fieldNameFax
QString fieldNameFirst
QString fieldNameHonorific
QString fieldNameInitials
QString fieldNameLast
QString fieldNameLine1
QString fieldNameLine2
QString fieldNameLine3
QString fieldNameMiddle
QString fieldNameNumber
QString fieldNamePhone
QString fieldNamePhone2
QString fieldNamePostalCode
QString fieldNameState
QString fieldNameSuffix
QString fieldNameTitle
QString fieldNameWebAddress
bool initialsVisible
bool minimalLayout
Mode mode
QString number
bool ownerEnabled
bool ownerVisible
bool phonesVisible
bool webaddrVisible

Public Member Functions

 ContactCluster (QWidget *, const char *=0)
virtual bool accountVisible () const
virtual Q_INVOKABLE bool active () const
virtual bool activeVisible () const
virtual Q_INVOKABLE QString address1 () const
virtual Q_INVOKABLE QString address2 () const
virtual Q_INVOKABLE QString address3 () const
virtual int addressId () const
virtual bool addressVisible () const
virtual AddressClusteraddressWidget () const
virtual QString change () const
virtual Q_INVOKABLE QString city () const
virtual Q_INVOKABLE QString country () const
virtual int crmAcctId () const
virtual QString defaultText () const
virtual QString description () const
virtual Q_INVOKABLE QString emailAddress () const
virtual bool emailVisible () const
virtual Q_INVOKABLE QString fax () const
virtual QString fieldNameActive () const
virtual QString fieldNameAddrChange () const
virtual QString fieldNameAddrNumber () const
virtual QString fieldNameChange () const
virtual QString fieldNameCity () const
virtual QString fieldNameCountry () const
virtual QString fieldNameCrmAccount () const
virtual QString fieldNameEmailAddress () const
virtual QString fieldNameFax () const
virtual QString fieldNameFirst () const
virtual QString fieldNameHonorific () const
virtual QString fieldNameInitials () const
virtual QString fieldNameLast () const
virtual QString fieldNameLine1 () const
virtual QString fieldNameLine2 () const
virtual QString fieldNameLine3 () const
virtual QString fieldNameMiddle () const
virtual QString fieldNameNumber () const
virtual QString fieldNamePhone () const
virtual QString fieldNamePhone2 () const
virtual QString fieldNamePostalCode () const
virtual QString fieldNameState () const
virtual QString fieldNameSuffix () const
virtual QString fieldNameTitle () const
virtual QString fieldNameWebAddress () const
virtual Q_INVOKABLE QString first () const
virtual Q_INVOKABLE QString honorific () const
virtual Q_INVOKABLE int id () const
virtual Q_INVOKABLE QString initials () const
virtual bool initialsVisible () const
virtual bool isValid () const
virtual QString label () const
virtual Q_INVOKABLE QString last () const
virtual Q_INVOKABLE QString middle () const
virtual bool minimalLayout () const
virtual Q_INVOKABLE Mode mode () const
virtual Q_INVOKABLE QString name () const
virtual QString notes () const
virtual Q_INVOKABLE QString number () const
virtual bool numberVisible () const
virtual bool ownerEnabled () const
virtual int ownerId () const
virtual Q_INVOKABLE QString ownerUsername () const
virtual bool ownerVisible () const
virtual Q_INVOKABLE QString phone () const
virtual Q_INVOKABLE QString phone2 () const
virtual bool phonesVisible () const
virtual Q_INVOKABLE QString postalCode () const
virtual int searchAcct () const
virtual Q_INVOKABLE QString state () const
virtual Q_INVOKABLE QString suffix () const
virtual Q_INVOKABLE QString title () const
virtual Q_INVOKABLE QString webAddress () const
virtual bool webaddrVisible () const

Public Slots

virtual void check ()
virtual void clear ()
virtual void clearExtraClause ()
virtual void findDuplicates ()
virtual int save (AddressCluster::SaveFlags=AddressCluster::CHECK)
virtual bool sChanged ()
virtual void sEllipses ()
virtual void setAccount (const int)
virtual void setAccountVisible (const bool)
virtual void setActiveVisible (const bool)
virtual void setAddress (const int p)
virtual void setAddressVisible (const bool)
virtual void setChange (QString p)
virtual void setDataWidgetMap (XDataWidgetMapper *m)
virtual void setDescription (const QString &)
virtual void setEmailAddress (const QString &p)
virtual void setEmailVisible (const bool)
virtual void setExtraClause (const QString &)
virtual void setFax (const QString &p)
virtual void setFieldNameActive (QString p)
virtual void setFieldNameAddrChange (QString p)
virtual void setFieldNameAddrNumber (QString p)
virtual void setFieldNameChange (QString p)
virtual void setFieldNameCity (QString p)
virtual void setFieldNameCountry (QString p)
virtual void setFieldNameCrmAccount (QString p)
virtual void setFieldNameEmailAddress (QString p)
virtual void setFieldNameFax (QString p)
virtual void setFieldNameFirst (QString p)
virtual void setFieldNameHonorific (QString p)
virtual void setFieldNameInitials (QString p)
virtual void setFieldNameLast (QString p)
virtual void setFieldNameLine1 (QString p)
virtual void setFieldNameLine2 (QString p)
virtual void setFieldNameLine3 (QString p)
virtual void setFieldNameMiddle (QString p)
virtual void setFieldNameNumber (QString p)
virtual void setFieldNamePhone (QString p)
virtual void setFieldNamePhone2 (QString p)
virtual void setFieldNamePostalCode (QString p)
virtual void setFieldNameState (QString p)
virtual void setFieldNameSuffix (QString p)
virtual void setFieldNameTitle (QString p)
virtual void setFieldNameWebAddress (QString p)
virtual void setFirst (const QString &p)
virtual void setHonorific (const QString &p)
virtual void setId (const int)
virtual void setInitialsVisible (const bool)
virtual void setLabel (const QString &p)
virtual void setLast (const QString &p)
virtual void setMiddle (const QString &p)
virtual void setMinimalLayout (const bool)
virtual void setMode (const Mode p)
virtual void setName (const QString &p)
virtual void setNotes (const QString &p)
virtual void setNumber (QString p)
virtual void setNumberVisible (const bool)
virtual void setOwnerEnabled (const bool)
virtual void setOwnerId (const int p)
virtual void setOwnerUsername (const QString &p)
virtual void setOwnerVisible (const bool)
virtual void setPhone (const QString &p)
virtual void setPhone2 (const QString &p)
virtual void setPhonesVisible (const bool)
virtual void setSearchAcct (const int)
virtual void setSuffix (const QString &p)
virtual void setTitle (const QString &p)
virtual void setWebAddress (const QString &p)
virtual void setWebaddrVisible (const bool)
virtual void sInfo ()
virtual void sLaunchEmail ()
virtual void sLaunchWebaddr ()
virtual void sList ()
virtual void sSearch ()

Signals

void changed ()
void newId (int)

Protected Attributes

QCheckBox_active
AddressCluster_address
QString _addressChange
QGridLayout_buttonBox
XLineEdit_change
CRMAcctCluster_crmAcct
int _crmacctid
QLabel_crmAcctLit
QString _crmacctname
XLineEdit_email
QLabel_emailLit
QString _extraClause
XLineEdit_fax
QLabel_faxLit
XLineEdit_first
XComboBox_honorific
bool _ignoreSignals
XLineEdit_initials
QHBoxLayout_initialsBox
QLabel_initialsLit
XLineEdit_last
XLineEdit_middle
Mode _mode
QHBoxLayout_nameBox
QLabel_nameLit
XLineEdit_number
QLabel_numberLit
UsernameCluster_owner
QVBoxLayout_ownerBox
XLineEdit_phone
XLineEdit_phone2
QLabel_phone2Lit
QLabel_phoneLit
QString _query
int _searchAcctId
XLineEdit_suffix
XLineEdit_title
QHBoxLayout_titleBox
QLabel_titleLit
QString _titlePlural
QString _titleSingular
XLineEdit_webaddr
QLabel_webaddrLit

Friends

class ContactInfo
class ContactList
class ContactSearch

Member Enumeration Documentation

Enumerator:
Employee 
Customer 
Vendor 
Partner 
Prospect 
Competitor 
Enumerator:
Edit 
View 
Select 

Constructor & Destructor Documentation

ContactCluster::ContactCluster ( QWidget pParent,
const char *  pName = 0 
)

Member Function Documentation

virtual bool ContactCluster::accountVisible (  )  const [inline, virtual]
virtual Q_INVOKABLE bool ContactCluster::active (  )  const [inline, virtual]
virtual bool ContactCluster::activeVisible (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::address1 (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::address2 (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::address3 (  )  const [inline, virtual]
virtual int ContactCluster::addressId (  )  const [inline, virtual]
virtual bool ContactCluster::addressVisible (  )  const [inline, virtual]
virtual AddressCluster* ContactCluster::addressWidget (  )  const [inline, virtual]
virtual QString ContactCluster::change (  )  const [inline, virtual]
void ContactCluster::changed (  )  [signal]
void ContactCluster::check (  )  [virtual, slot]
virtual Q_INVOKABLE QString ContactCluster::city (  )  const [inline, virtual]
void ContactCluster::clear (  )  [virtual, slot]

Reimplemented from VirtualCluster.

virtual void ContactCluster::clearExtraClause (  )  [inline, virtual, slot]

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString ContactCluster::country (  )  const [inline, virtual]
virtual int ContactCluster::crmAcctId (  )  const [inline, virtual]
virtual QString ContactCluster::defaultText (  )  const [inline, virtual]
virtual QString ContactCluster::description (  )  const [inline, virtual]

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString ContactCluster::emailAddress (  )  const [inline, virtual]
virtual bool ContactCluster::emailVisible (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::fax (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameActive (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameAddrChange (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameAddrNumber (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameChange (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameCity (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameCountry (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameCrmAccount (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameEmailAddress (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameFax (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameFirst (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameHonorific (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameInitials (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameLast (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameLine1 (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameLine2 (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameLine3 (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameMiddle (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameNumber (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNamePhone (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNamePhone2 (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNamePostalCode (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameState (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameSuffix (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameTitle (  )  const [inline, virtual]
virtual QString ContactCluster::fieldNameWebAddress (  )  const [inline, virtual]
void ContactCluster::findDuplicates (  )  [virtual, slot]
virtual Q_INVOKABLE QString ContactCluster::first (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::honorific (  )  const [inline, virtual]
virtual Q_INVOKABLE int ContactCluster::id (  )  const [inline, virtual]

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString ContactCluster::initials (  )  const [inline, virtual]
virtual bool ContactCluster::initialsVisible (  )  const [inline, virtual]
virtual bool ContactCluster::isValid (  )  const [inline, virtual]

Reimplemented from VirtualCluster.

virtual QString ContactCluster::label (  )  const [inline, virtual]

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString ContactCluster::last (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::middle (  )  const [inline, virtual]
virtual bool ContactCluster::minimalLayout (  )  const [inline, virtual]
virtual Q_INVOKABLE Mode ContactCluster::mode (  )  const [inline, virtual]
QString ContactCluster::name (  )  const [virtual]

Reimplemented from VirtualCluster.

void ContactCluster::newId ( int   )  [signal]

Reimplemented from VirtualCluster.

virtual QString ContactCluster::notes (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::number (  )  const [inline, virtual]

Reimplemented from VirtualCluster.

virtual bool ContactCluster::numberVisible (  )  const [inline, virtual]
virtual bool ContactCluster::ownerEnabled (  )  const [inline, virtual]
virtual int ContactCluster::ownerId (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::ownerUsername (  )  const [inline, virtual]
virtual bool ContactCluster::ownerVisible (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::phone (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::phone2 (  )  const [inline, virtual]
virtual bool ContactCluster::phonesVisible (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::postalCode (  )  const [inline, virtual]
int ContactCluster::save ( AddressCluster::SaveFlags  flag = AddressCluster::CHECK  )  [virtual, slot]
virtual bool ContactCluster::sChanged (  )  [inline, virtual, slot]
virtual int ContactCluster::searchAcct (  )  const [inline, virtual]
void ContactCluster::sEllipses (  )  [virtual, slot]

Reimplemented from VirtualCluster.

void ContactCluster::setAccount ( const int  p  )  [virtual, slot]
void ContactCluster::setAccountVisible ( const bool  p  )  [virtual, slot]
void ContactCluster::setActiveVisible ( const bool  p  )  [virtual, slot]
virtual void ContactCluster::setAddress ( const int  p  )  [inline, virtual, slot]
void ContactCluster::setAddressVisible ( const bool  vis  )  [virtual, slot]
void ContactCluster::setChange ( QString  p  )  [virtual, slot]
void ContactCluster::setDataWidgetMap ( XDataWidgetMapper m  )  [virtual, slot]

Reimplemented from VirtualCluster.

virtual void ContactCluster::setDescription ( const QString  )  [inline, virtual, slot]

Reimplemented from VirtualCluster.

virtual void ContactCluster::setEmailAddress ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setEmailVisible ( const bool  p  )  [virtual, slot]
virtual void ContactCluster::setExtraClause ( const QString  )  [inline, virtual, slot]

Reimplemented from VirtualCluster.

virtual void ContactCluster::setFax ( const QString p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameActive ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameAddrChange ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameAddrNumber ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameChange ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameCity ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameCountry ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameCrmAccount ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameEmailAddress ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameFax ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameFirst ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameHonorific ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameInitials ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameLast ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameLine1 ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameLine2 ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameLine3 ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameMiddle ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameNumber ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNamePhone ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNamePhone2 ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNamePostalCode ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameState ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameSuffix ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameTitle ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFieldNameWebAddress ( QString  p  )  [inline, virtual, slot]
virtual void ContactCluster::setFirst ( const QString p  )  [inline, virtual, slot]
virtual void ContactCluster::setHonorific ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setId ( const int  pId  )  [virtual, slot]

Reimplemented from VirtualCluster.

void ContactCluster::setInitialsVisible ( const bool  p  )  [virtual, slot]
virtual void ContactCluster::setLabel ( const QString p  )  [inline, virtual, slot]

Reimplemented from VirtualCluster.

virtual void ContactCluster::setLast ( const QString p  )  [inline, virtual, slot]
virtual void ContactCluster::setMiddle ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setMinimalLayout ( const bool  p  )  [virtual, slot]
void ContactCluster::setMode ( const Mode  p  )  [virtual, slot]
void ContactCluster::setName ( const QString p  )  [virtual, slot]

Reimplemented from VirtualCluster.

virtual void ContactCluster::setNotes ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setNumber ( QString  p  )  [virtual, slot]
void ContactCluster::setNumberVisible ( const bool  vis  )  [virtual, slot]
void ContactCluster::setOwnerEnabled ( const bool  vis  )  [virtual, slot]
virtual void ContactCluster::setOwnerId ( const int  p  )  [inline, virtual, slot]
virtual void ContactCluster::setOwnerUsername ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setOwnerVisible ( const bool  vis  )  [virtual, slot]
virtual void ContactCluster::setPhone ( const QString p  )  [inline, virtual, slot]
virtual void ContactCluster::setPhone2 ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setPhonesVisible ( const bool  p  )  [virtual, slot]
void ContactCluster::setSearchAcct ( const int  p  )  [virtual, slot]
virtual void ContactCluster::setSuffix ( const QString p  )  [inline, virtual, slot]
virtual void ContactCluster::setTitle ( const QString p  )  [inline, virtual, slot]
virtual void ContactCluster::setWebAddress ( const QString p  )  [inline, virtual, slot]
void ContactCluster::setWebaddrVisible ( const bool  p  )  [virtual, slot]
void ContactCluster::sInfo (  )  [virtual, slot]

Reimplemented from VirtualCluster.

void ContactCluster::sLaunchEmail (  )  [virtual, slot]
void ContactCluster::sLaunchWebaddr (  )  [virtual, slot]
void ContactCluster::sList (  )  [virtual, slot]

Reimplemented from VirtualCluster.

void ContactCluster::sSearch (  )  [virtual, slot]

Reimplemented from VirtualCluster.

virtual Q_INVOKABLE QString ContactCluster::state (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::suffix (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::title (  )  const [inline, virtual]
virtual Q_INVOKABLE QString ContactCluster::webAddress (  )  const [inline, virtual]
virtual bool ContactCluster::webaddrVisible (  )  const [inline, virtual]

Friends And Related Function Documentation

friend class ContactInfo [friend]
friend class ContactList [friend]
friend class ContactSearch [friend]

Member Data Documentation

int ContactCluster::_crmacctid [protected]

Reimplemented from VirtualCluster.


Property Documentation

bool ContactCluster::accountVisible [read, write]
bool ContactCluster::activeVisible [read, write]
bool ContactCluster::addressVisible [read, write]
QString ContactCluster::defaultText [read]
bool ContactCluster::emailVisible [read, write]
QString ContactCluster::fieldNameActive [read, write]
QString ContactCluster::fieldNameAddressChange [read, write]
QString ContactCluster::fieldNameAddressNumber [read, write]
QString ContactCluster::fieldNameChange [read, write]
QString ContactCluster::fieldNameCity [read, write]
QString ContactCluster::fieldNameCountry [read, write]
QString ContactCluster::fieldNameCrmAccount [read, write]
QString ContactCluster::fieldNameEmailAddress [read, write]
QString ContactCluster::fieldNameFax [read, write]
QString ContactCluster::fieldNameFirst [read, write]
QString ContactCluster::fieldNameHonorific [read, write]
QString ContactCluster::fieldNameInitials [read, write]
QString ContactCluster::fieldNameLast [read, write]
QString ContactCluster::fieldNameLine1 [read, write]
QString ContactCluster::fieldNameLine2 [read, write]
QString ContactCluster::fieldNameLine3 [read, write]
QString ContactCluster::fieldNameMiddle [read, write]
QString ContactCluster::fieldNameNumber [read, write]
QString ContactCluster::fieldNamePhone [read, write]
QString ContactCluster::fieldNamePhone2 [read, write]
QString ContactCluster::fieldNamePostalCode [read, write]
QString ContactCluster::fieldNameState [read, write]
QString ContactCluster::fieldNameSuffix [read, write]
QString ContactCluster::fieldNameTitle [read, write]
QString ContactCluster::fieldNameWebAddress [read, write]
bool ContactCluster::initialsVisible [read, write]
bool ContactCluster::minimalLayout [read, write]
Mode ContactCluster::mode [read, write]
QString ContactCluster::number [read, write]

Reimplemented from VirtualCluster.

bool ContactCluster::ownerEnabled [read, write]
bool ContactCluster::ownerVisible [read, write]
bool ContactCluster::phonesVisible [read, write]
bool ContactCluster::webaddrVisible [read, write]

The documentation for this class was generated from the following files:

Generated on Fri Sep 4 10:07:18 2009 xTuple ERP Programmer Reference, Version 3.3.0 doxygen 1.6.1