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

Bibliography Class Reference

#include <bibliography.h>

Inheritance diagram for Bibliography:

Inheritance graph
[legend]
Collaboration diagram for Bibliography:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Slots

virtual void setWorkingGui (bool work)
virtual void setReadonlyGui (bool ro)
virtual void setInvalidGui (bool inv)
virtual void showPubl ()
virtual void chooseOrgPublisher ()
virtual void generateBibTex ()

Protected Member Functions

bool setData ()
void initToolBar ()
void insertBibtexField (QString label, QString field, QFrame *frame, QSqlForm *form)

Protected Attributes

BibliographyFormbiblioform
QToolBar * toolbar
QAction * showPublAction

Private Member Functions

 Bibliography (const Bibliography &)
Bibliographyoperator= (const Bibliography &)

Constructor & Destructor Documentation

Bibliography::Bibliography const Bibliography  )  [private]
 

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

Definition at line 44 of file bibliography.cpp.

References biblioform, BibliographyForm::choose_org_publisher, chooseOrgPublisher(), BibliographyForm::genbibtex, generateBibTex(), initToolBar(), and setData().

Bibliography::~Bibliography  ) 
 

Definition at line 65 of file bibliography.cpp.

References ReadWriteFormBase::write().


Member Function Documentation

void Bibliography::chooseOrgPublisher  )  [protected, virtual, slot]
 

Definition at line 194 of file bibliography.cpp.

References biblioform, ReadOnlyFormBase::no(), BibliographyForm::orgpublisher, SelectItem::setData(), SelectItem::text(), and SelectItem::url().

Referenced by Bibliography().

void Bibliography::generateBibTex  )  [protected, virtual, slot]
 

Definition at line 205 of file bibliography.cpp.

References biblioform, BibliographyForm::bibtex, and BibTexFactory::getEntry().

Referenced by Bibliography().

void Bibliography::initToolBar  )  [protected, virtual]
 

Reimplemented from ReadWriteFormBase.

Definition at line 56 of file bibliography.cpp.

References loadPixmap(), ReadOnlyFormBase::mainWindow(), showPubl(), and showPublAction.

Referenced by Bibliography().

void Bibliography::insertBibtexField QString  label,
QString  field,
QFrame *  frame,
QSqlForm *  form
[protected]
 

Definition at line 70 of file bibliography.cpp.

Referenced by setData().

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

bool Bibliography::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 77 of file bibliography.cpp.

References biblioform, BibliographyForm::bibtex, BT_ARTICLE, BT_BOOK, BT_BOOKLET, BT_INBOOK, BT_INCOLLECTION, BT_INPROCEEDING, BT_JOURNAL, BT_MANUAL, BT_MASTERTHESIS, BT_MISC, BT_PHDTHESIS, BT_PROCEEDING, BT_TECHREPORT, BT_UNPUBLISHED, BibliographyForm::created, BibliographyForm::frame, BibliographyForm::hidingplace, insertBibtexField(), BibliographyForm::isbn, BibliographyForm::modified, BibliographyForm::orgpublisher, BibliographyForm::orgtitle, BibliographyForm::orgyear, BibliographyForm::pages, ReadWriteFormBase::setData(), setReadonlyGui(), ReadOnlyFormBase::setValid(), setWorkingGui(), BibliographyForm::subtitle, BibliographyForm::title, BibliographyForm::translator, and ReadOnlyFormBase::url().

Referenced by Bibliography().

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

Reimplemented from ReadWriteFormBase.

Definition at line 241 of file bibliography.cpp.

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

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

Reimplemented from ReadWriteFormBase.

Definition at line 217 of file bibliography.cpp.

References biblioform, BibliographyForm::bibtex, BibliographyForm::hidingplace, BibliographyForm::isbn, BibliographyForm::orgtitle, BibliographyForm::orgyear, BibliographyForm::pages, ReadWriteFormBase::setReadonlyGui(), BibliographyForm::subtitle, and BibliographyForm::translator.

Referenced by setData(), and setInvalidGui().

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

Reimplemented from ReadWriteFormBase.

Definition at line 213 of file bibliography.cpp.

References ReadWriteFormBase::setWorkingGui().

Referenced by setData(), and setInvalidGui().

void Bibliography::showPubl  )  [protected, virtual, slot]
 

Definition at line 247 of file bibliography.cpp.

Referenced by initToolBar().


Member Data Documentation

BibliographyForm* Bibliography::biblioform [protected]
 

Definition at line 31 of file bibliography.h.

Referenced by Bibliography(), chooseOrgPublisher(), generateBibTex(), setData(), and setReadonlyGui().

QAction* Bibliography::showPublAction [protected]
 

Definition at line 33 of file bibliography.h.

Referenced by initToolBar().

QToolBar* Bibliography::toolbar [protected]
 

Definition at line 32 of file bibliography.h.


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