Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Author Class Reference

#include <author.h>

Inheritance diagram for Author:

Inheritance graph
[legend]
Collaboration diagram for Author:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Author (LitUrl url, QObject *receiver, QString slot, MainWindow *parent, const char *name)
 ~Author ()

Protected Slots

virtual void setWorkingGui (bool work)
virtual void setReadonlyGui (bool ro)
virtual void setInvalidGui (bool inv)
virtual void insertNote ()
virtual void deleteNote ()
virtual void createNote ()
virtual void insertPublication ()
virtual void deletePublication ()
virtual void createPublication ()
virtual void insertPart ()
virtual void deletePart ()

Protected Member Functions

bool setData ()
void initToolBar ()

Protected Attributes

AuthorFormauthorform
QToolBar * toolbar
QAction * insertNoteAction
QAction * createNoteAction
QAction * deleteNoteAction
QAction * insertPublicationAction
QAction * createPublicationAction
QAction * deletePublicationAction
QAction * insertPartAction
QAction * deletePartAction
FillLinkListBoxfilllink
FillLinkListBoxfillpubl
FillLinkListBoxfillpart

Private Member Functions

 Author (const Author &)
Authoroperator= (const Author &)

Constructor & Destructor Documentation

Author::Author const Author  )  [private]
 

Author::Author LitUrl  url,
QObject *  receiver,
QString  slot,
MainWindow parent,
const char *  name
 

Definition at line 42 of file author.cpp.

References authorform, initToolBar(), AuthorForm::memo, and setData().

Author::~Author  ) 
 

Definition at line 109 of file author.cpp.

References toolbar, and ReadWriteFormBase::write().


Member Function Documentation

void Author::createNote  )  [protected, virtual, slot]
 

Definition at line 209 of file author.cpp.

References ReadWriteFormBase::newNote(), and ReadOnlyFormBase::url().

Referenced by initToolBar().

void Author::createPublication  )  [protected, virtual, slot]
 

Definition at line 225 of file author.cpp.

Referenced by initToolBar().

void Author::deleteNote  )  [protected, virtual, slot]
 

Definition at line 205 of file author.cpp.

References authorform, ReadWriteFormBase::deleteLink(), AuthorForm::links, ReadOnlyFormBase::url(), and LinkListBox::url().

Referenced by initToolBar().

void Author::deletePart  )  [protected, virtual, slot]
 

Definition at line 235 of file author.cpp.

References authorform, ReadWriteFormBase::deletePartAuthor(), AuthorForm::parts, ReadOnlyFormBase::url(), and LinkListBox::url().

Referenced by initToolBar().

void Author::deletePublication  )  [protected, virtual, slot]
 

Definition at line 221 of file author.cpp.

References authorform, ReadWriteFormBase::deletePublicationAuthor(), AuthorForm::publications, ReadOnlyFormBase::url(), and LinkListBox::url().

Referenced by initToolBar().

void Author::initToolBar  )  [protected, virtual]
 

Reimplemented from ReadWriteFormBase.

Definition at line 55 of file author.cpp.

References createNote(), createNoteAction, createPublication(), createPublicationAction, deleteNote(), deleteNoteAction, deletePart(), deletePartAction, deletePublication(), deletePublicationAction, insertNote(), insertNoteAction, insertPart(), insertPartAction, insertPublication(), insertPublicationAction, loadPixmap(), ReadOnlyFormBase::mainWindow(), ReadOnlyFormBase::roMenu(), and toolbar.

Referenced by Author().

void Author::insertNote  )  [protected, virtual, slot]
 

Definition at line 198 of file author.cpp.

References ReadWriteFormBase::createLink(), ReadOnlyFormBase::url(), and SelectNote::url().

Referenced by initToolBar().

void Author::insertPart  )  [protected, virtual, slot]
 

Definition at line 228 of file author.cpp.

References ReadWriteFormBase::createPartAuthor(), ReadOnlyFormBase::url(), and SelectPart::url().

Referenced by initToolBar().

void Author::insertPublication  )  [protected, virtual, slot]
 

Definition at line 213 of file author.cpp.

References ReadWriteFormBase::createPublicationAuthor(), SelectItem::setData(), ReadOnlyFormBase::url(), and SelectItem::url().

Referenced by initToolBar().

Author& Author::operator= const Author  )  [private]
 

bool Author::setData  )  [protected, virtual]
 

A virtual method. Loads the data record and fills the form.

Returns:
false, if an error occured.

Reimplemented from ReadWriteFormBase.

Definition at line 115 of file author.cpp.

References authorform, AuthorForm::born, AuthorForm::country, AuthorForm::created, AuthorForm::died, filllink, fillpart, fillpubl, AuthorForm::firstname, AuthorForm::lastname, AuthorForm::links, loadPixmap(), AuthorForm::memo, AuthorForm::modified, AuthorForm::parts, AuthorForm::pseudonym, AuthorForm::publications, ReadWriteFormBase::setData(), setReadonlyGui(), ReadOnlyFormBase::setValid(), setWorkingGui(), and ReadOnlyFormBase::url().

Referenced by Author().

void Author::setInvalidGui bool  inv  )  [protected, virtual, slot]
 

Reimplemented from ReadWriteFormBase.

Definition at line 192 of file author.cpp.

References ReadWriteFormBase::setInvalidGui(), setReadonlyGui(), and setWorkingGui().

void Author::setReadonlyGui bool  ro  )  [protected, virtual, slot]
 

Reimplemented from ReadWriteFormBase.

Definition at line 180 of file author.cpp.

References authorform, AuthorForm::born, AuthorForm::country, AuthorForm::died, AuthorForm::firstname, AuthorForm::lastname, AuthorForm::memo, AuthorForm::pseudonym, and ReadWriteFormBase::setReadonlyGui().

Referenced by setData(), and setInvalidGui().

void Author::setWorkingGui bool  work  )  [protected, virtual, slot]
 

Reimplemented from ReadWriteFormBase.

Definition at line 173 of file author.cpp.

References authorform, AuthorForm::links, AuthorForm::parts, AuthorForm::publications, and ReadWriteFormBase::setWorkingGui().

Referenced by setData(), and setInvalidGui().


Member Data Documentation

AuthorForm* Author::authorform [protected]
 

Definition at line 32 of file author.h.

Referenced by Author(), deleteNote(), deletePart(), deletePublication(), setData(), setReadonlyGui(), and setWorkingGui().

QAction* Author::createNoteAction [protected]
 

Definition at line 35 of file author.h.

Referenced by initToolBar().

QAction* Author::createPublicationAction [protected]
 

Definition at line 38 of file author.h.

Referenced by initToolBar().

QAction* Author::deleteNoteAction [protected]
 

Definition at line 36 of file author.h.

Referenced by initToolBar().

QAction* Author::deletePartAction [protected]
 

Definition at line 41 of file author.h.

Referenced by initToolBar().

QAction* Author::deletePublicationAction [protected]
 

Definition at line 39 of file author.h.

Referenced by initToolBar().

FillLinkListBox* Author::filllink [protected]
 

Definition at line 43 of file author.h.

Referenced by setData().

FillLinkListBox* Author::fillpart [protected]
 

Definition at line 45 of file author.h.

Referenced by setData().

FillLinkListBox* Author::fillpubl [protected]
 

Definition at line 44 of file author.h.

Referenced by setData().

QAction* Author::insertNoteAction [protected]
 

Definition at line 34 of file author.h.

Referenced by initToolBar().

QAction* Author::insertPartAction [protected]
 

Definition at line 40 of file author.h.

Referenced by initToolBar().

QAction* Author::insertPublicationAction [protected]
 

Definition at line 37 of file author.h.

Referenced by initToolBar().

QToolBar* Author::toolbar [protected]
 

Definition at line 33 of file author.h.

Referenced by initToolBar(), and ~Author().


The documentation for this class was generated from the following files:
Generated on Sat Mar 27 19:22:19 2004 for Literature by doxygen 1.3.6-20040222