Customer Class Reference

Inheritance diagram for Customer:

Inheritance graph
[legend]
Collaboration diagram for Customer:

Collaboration graph
[legend]
List of all members.

Public Slots

void setName (const QString &newName)
void setId (const QString &newId)
void setDateEstablished (const QDate &newDate)
void setAddress (Address *address, QString name="default")
void setType (CustomerType newType)
void setTypeString (QString newType)

Public Member Functions

AddressgetAddress (QString name="default") const
 We are storing addresses as QObject children.
QString getName () const
QString getId () const
QDate getDateEstablished () const
CustomerType getType () const
QString getTypeString () const

Protected Member Functions

 Customer (QString name=QString())
 
See also:
ObjectFactory for creating Customer objects

 Customer (QString name, QString id, CustomerType type)

Properties

QString Id []
QDate DateEstablished []
QString Type []

Friends

class CustomerFactory

Detailed Description

Definition at line 16 of file customer.h.


Member Function Documentation

Address * Customer::getAddress ( QString  name = "default"  )  const

We are storing addresses as QObject children.

Returns:
the address, or 0 if no default address is set.

Definition at line 14 of file customer.cpp.


The documentation for this class was generated from the following files:
Generated on Wed Sep 30 01:15:43 2009 for oopapidocs by  doxygen 1.5.1