Referencia de la Clase ClientEdit

#include <clientedit.h>

Diagrama de herencias de ClientEdit

[leyenda]
Diagrama de colaboración para ClientEdit:
[leyenda]
Lista de todos los miembros.

Slots públicos

virtual void saveButton_clicked ()
virtual void deleteButton_clicked ()
virtual void cancelButton_clicked ()
virtual void formModified ()
virtual void close ()

Métodos públicos

 ClientEdit (company *emp, QWidget *parent=0, const char *name=0)
 ~ClientEdit ()
void loadClient (QString client)
void saveClient ()
void deleteClient ()

Métodos privados

void setModified (bool formContentsChanged)
void emptyForm ()

Atributos privados

companycompanyact
QString clientId
bool m_modified

Documentación del constructor y destructor

ClientEdit::ClientEdit company emp,
QWidget parent = 0,
const char *  name = 0
 

Gráfico de llamadas para esta función:

ClientEdit::~ClientEdit  ) 
 

Gráfico de llamadas para esta función:


Documentación de las funciones miembro

void ClientEdit::cancelButton_clicked  )  [virtual, slot]
 

void ClientEdit::close  )  [virtual, slot]
 

void ClientEdit::deleteButton_clicked  )  [virtual, slot]
 

void ClientEdit::deleteClient  ) 
 

For now this function cleans the form and sets it so that we can add a new client

In the future it should really delete the client, or better yet mark it as deleted on an appropiate field in the DB

Gráfico de llamadas para esta función:

void ClientEdit::emptyForm  )  [private]
 

Empties the form.

Gráfico de llamadas para esta función:

void ClientEdit::formModified  )  [virtual, slot]
 

void ClientEdit::loadClient QString  client  ) 
 

loadClient

Given a valid client ID this function loads the client into the form so that we can edit it.

Otherwise it empties the form and sets it so that we can add a new client

Gráfico de llamadas para esta función:

void ClientEdit::saveButton_clicked  )  [virtual, slot]
 

void ClientEdit::saveClient  ) 
 

saveClient

This function saves the current client. It checks if it is a new client that needs to be added or if it is an existing one that has to be modified

Gráfico de llamadas para esta función:

void ClientEdit::setModified bool  formContentsChanged  )  [private]
 

Toggles the status of the onscreen client modified/not modified. Also performs the necesary gui actions in the window caption to reflect it.


Documentación de los datos miembro

QString ClientEdit::clientId [private]
 

company* ClientEdit::companyact [private]
 

bool ClientEdit::m_modified [private]
 


La documentación para esta clase fué generada a partir de los siguientes archivos:
Generado el Sat May 21 00:04:59 2005 para BulmaGes por  doxygen 1.4.2