KockpitAddress Class Reference

Class which represents an Adress. More...

#include <kockpitaddress.h>

Public Slots

QString getPostalCode () const
 Getter postalCode.
QString getOfficeBox () const
 Getter officeBox.
QString getStreet () const
 Getter street.
QString getCity () const
 Getter city.
QString getCountry () const
 Getter country.
QString getPostalAddress () const
 Getter postalAddress.
QString getOfficeName () const
 Getter officeName.
void setPostalCode (const QString &postalCode)
 Getter postalCode.
void setOfficeBox (const QString &officeBox)
 Getter officeBox.
void setStreet (const QString &street)
 Getter street.
void setCity (const QString &city)
 Getter city.
void setCountry (const QString &country)
 Getter country.
void setPostalAddress (const QString &postalAdress)
 Getter postalAddress.
void setOfficeName (const QString &officeName)
 Getter officeName.

Public Member Functions

 KockpitAddress ()
 Standard constructor.
 KockpitAddress (const QString &postalCode, const QString &officeBox, const QString &street, const QString &city, const QString &country, const QString &postalAddress, const QString &officeName)
 Contructor.
 KockpitAddress (const KockpitAddress &address)
 Copy constructor.
virtual ~KockpitAddress ()
 Destructor.
QString toQString () const
 Generate output.
void operator= (const KockpitAddress &address)
 Operator.

Properties

QString postalAddress
 Additional adress information.
QString postalCode
 The postal code.
QString officeBox
 Post office box.
QString street
 Street.
QString city
 City.
QString country
 Country.
QString officeName
 Office.

Friends

class XMLMapReader
std::ostream & operator<< (std::ostream &output, const KockpitAddress &kaddr)
 Output.

Detailed Description

Class which represents an Adress.

This class represents an address and it used from KockpitContact


Constructor & Destructor Documentation

KockpitAddress::KockpitAddress (  )  [inline]

Standard constructor.

KockpitAddress::KockpitAddress ( const QString &  postalCode,
const QString &  officeBox,
const QString &  street,
const QString &  city,
const QString &  country,
const QString &  postalAddress,
const QString &  officeName 
)

Contructor.

Parameters:
postalCode postalCode
officeBox officeBox
street street
city city
country country
postalAddress postalAddress
officeName officeName
KockpitAddress::KockpitAddress ( const KockpitAddress address  ) 

Copy constructor.

Create a copy of an existing KockpitAdress object.

Parameters:
address The AttributeMap which should be cloned.
virtual KockpitAddress::~KockpitAddress (  )  [inline, virtual]

Destructor.


Member Function Documentation

QString KockpitAddress::getCity (  )  const [slot]

Getter city.

QString KockpitAddress::getCountry (  )  const [slot]

Getter country.

QString KockpitAddress::getOfficeBox (  )  const [slot]

Getter officeBox.

QString KockpitAddress::getOfficeName (  )  const [slot]

Getter officeName.

QString KockpitAddress::getPostalAddress (  )  const [slot]

Getter postalAddress.

QString KockpitAddress::getPostalCode (  )  const [slot]

Getter postalCode.

QString KockpitAddress::getStreet (  )  const [slot]

Getter street.

void KockpitAddress::operator= ( const KockpitAddress address  ) 

Operator.

Assign the attributes of an existing KockpitAddress object to the current one.

Parameters:
address Attribute value to set.
void KockpitAddress::setCity ( const QString &  city  )  [slot]

Getter city.

void KockpitAddress::setCountry ( const QString &  country  )  [slot]

Getter country.

void KockpitAddress::setOfficeBox ( const QString &  officeBox  )  [slot]

Getter officeBox.

void KockpitAddress::setOfficeName ( const QString &  officeName  )  [slot]

Getter officeName.

void KockpitAddress::setPostalAddress ( const QString &  postalAdress  )  [slot]

Getter postalAddress.

void KockpitAddress::setPostalCode ( const QString &  postalCode  )  [slot]

Getter postalCode.

void KockpitAddress::setStreet ( const QString &  street  )  [slot]

Getter street.

QString KockpitAddress::toQString (  )  const

Generate output.

This function create a QString which contains all informations about the object. It is only needed for inforamtional output.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  output,
const KockpitAddress kaddr 
) [friend]

Output.

This function is only needed to give out the KockpitAddress on STDOUT.

Parameters:
output Reference to stdout.
kaddr Reference to an KockpitAddress object.
friend class XMLMapReader [friend]

Property Documentation

QString KockpitAddress::city [read, write]

City.

QString KockpitAddress::country [read, write]

Country.

QString KockpitAddress::officeBox [read, write]

Post office box.

QString KockpitAddress::officeName [read, write]

Office.

QString KockpitAddress::postalAddress [read, write]

Additional adress information.

QString KockpitAddress::postalCode [read, write]

The postal code.

QString KockpitAddress::street [read, write]

Street.


The documentation for this class was generated from the following files:
Generated on Wed Mar 24 09:58:14 2010 for kockpit by  doxygen 1.6.3