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

Note Class Reference

#include <note.h>

Inheritance diagram for Note:

Inheritance graph
[legend]
Collaboration diagram for Note:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void deleteRec ()
virtual void insertNote ()
virtual void deleteNote ()

Public Member Functions

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

Protected Slots

virtual void setWorkingGui (bool work)
virtual void setReadonlyGui (bool ro)
virtual void setInvalidGui (bool inv)

Protected Member Functions

bool setData ()
void initToolBar ()
QListViewItem * addNoteTree (QString where, QListViewItem *par=0L, bool emph=false)

Protected Attributes

NoteFormnoteform
QToolBar * toolbar
FillLinkListBoxfilllink_note
FillLinkListBoxfilllink_author
FillLinkListBoxfilllink_publ
FillLinkListBoxfilllink_part
FillLinkListBoxfilllink_partdata
QAction * insertNoteAction
QAction * deleteNoteAction

Private Member Functions

 Note (const Note &)
Noteoperator= (const Note &)

Constructor & Destructor Documentation

Note::Note const Note  )  [private]
 

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

Definition at line 42 of file note.cpp.

References initToolBar(), NoteForm::memo, noteform, and setData().

Note::~Note  ) 
 

Definition at line 71 of file note.cpp.

References ReadWriteFormBase::write().


Member Function Documentation

QListViewItem * Note::addNoteTree QString  where,
QListViewItem *  par = 0L,
bool  emph = false
[protected]
 

Definition at line 76 of file note.cpp.

References NoteForm::links, loadPixmap(), noteform, LinkListBoxItem::setBackgroundColor(), LinkListBoxItem::setOrderPrefix(), and LinkListBoxItem::setTextColor().

Referenced by setData().

void Note::deleteNote  )  [virtual, slot]
 

Definition at line 198 of file note.cpp.

References ReadWriteFormBase::deleteLink(), NoteForm::links, noteform, ReadOnlyFormBase::url(), and LinkListBox::url().

Referenced by initToolBar().

void Note::deleteRec  )  [virtual, slot]
 

Deletes the record.

Reimplemented from ReadWriteFormBase.

Definition at line 179 of file note.cpp.

References ReadWriteFormBase::deleteRec(), ReadOnlyFormBase::isValid(), ReadOnlyFormBase::no(), and ReadOnlyFormBase::url().

void Note::initToolBar  )  [protected, virtual]
 

Reimplemented from ReadWriteFormBase.

Definition at line 54 of file note.cpp.

References deleteNote(), insertNote(), loadPixmap(), ReadOnlyFormBase::mainWindow(), and ReadOnlyFormBase::roMenu().

Referenced by Note().

void Note::insertNote  )  [virtual, slot]
 

Definition at line 191 of file note.cpp.

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

Referenced by initToolBar().

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

bool Note::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 92 of file note.cpp.

References addNoteTree(), NoteForm::created, filllink_author, filllink_note, filllink_part, filllink_partdata, filllink_publ, NoteForm::links, loadPixmap(), NoteForm::memo, NoteForm::modified, noteform, ReadWriteFormBase::setData(), setReadonlyGui(), ReadOnlyFormBase::setValid(), setWorkingGui(), NoteForm::title, and ReadOnlyFormBase::url().

Referenced by Note().

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

Reimplemented from ReadWriteFormBase.

Definition at line 173 of file note.cpp.

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

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

Reimplemented from ReadWriteFormBase.

Definition at line 167 of file note.cpp.

References NoteForm::memo, noteform, ReadWriteFormBase::setReadonlyGui(), and NoteForm::title.

Referenced by setData(), and setInvalidGui().

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

Reimplemented from ReadWriteFormBase.

Definition at line 162 of file note.cpp.

References NoteForm::links, noteform, and ReadWriteFormBase::setWorkingGui().

Referenced by setData(), and setInvalidGui().


Member Data Documentation

QAction* Note::deleteNoteAction [protected]
 

Definition at line 46 of file note.h.

FillLinkListBox* Note::filllink_author [protected]
 

Definition at line 39 of file note.h.

Referenced by setData().

FillLinkListBox* Note::filllink_note [protected]
 

Definition at line 38 of file note.h.

Referenced by setData().

FillLinkListBox* Note::filllink_part [protected]
 

Definition at line 41 of file note.h.

Referenced by setData().

FillLinkListBox* Note::filllink_partdata [protected]
 

Definition at line 42 of file note.h.

Referenced by setData().

FillLinkListBox* Note::filllink_publ [protected]
 

Definition at line 40 of file note.h.

Referenced by setData().

QAction* Note::insertNoteAction [protected]
 

Definition at line 45 of file note.h.

NoteForm* Note::noteform [protected]
 

Definition at line 36 of file note.h.

Referenced by addNoteTree(), deleteNote(), Note(), setData(), setReadonlyGui(), and setWorkingGui().

QToolBar* Note::toolbar [protected]
 

Definition at line 37 of file note.h.


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