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

note.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  *   note.h                                                                *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   Read the file COPYING for details.                                    *
00011  *                                                                         *
00012  *   copyright: (C) 2003 by Jan Mueller                                    *
00013  *   email: janmueller7@hotmail.com                                        *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef NoteForm_h
00018 #define NoteForm_h
00019 #include "noteform.h"
00020 #include "readwriteformbase.h"
00021 
00022 class QToolBar;
00023 class QAction;
00024 class FillLinkListBox;
00025 class MainWindow;
00026 class QListViewItem;
00027 
00028 class Note: public ReadWriteFormBase {
00029     Q_OBJECT
00030 
00031     private:
00032     Note(const Note&);
00033     Note& operator=(const Note&);
00034 
00035     protected:
00036     NoteForm *noteform;
00037     QToolBar *toolbar;
00038     FillLinkListBox *filllink_note;
00039     FillLinkListBox *filllink_author;
00040     FillLinkListBox *filllink_publ;
00041     FillLinkListBox *filllink_part;    
00042     FillLinkListBox *filllink_partdata;    
00043     bool setData();
00044 
00045     QAction *insertNoteAction;
00046     QAction *deleteNoteAction;
00047     
00048     void initToolBar();
00049     QListViewItem *addNoteTree(QString where, QListViewItem *par=0L, bool emph=false);
00050     public:
00051     Note(LitUrl url, QObject *receiver, QString slot, MainWindow *parent, const char *name);
00052     ~Note();
00053     
00054     protected slots:
00055     virtual void setWorkingGui(bool work);
00056     virtual void setReadonlyGui(bool ro);
00057     virtual void setInvalidGui(bool inv);
00058     
00059     public slots:
00060     virtual void deleteRec();       
00061     virtual void insertNote();
00062     virtual void deleteNote();
00063             
00064 };
00065 #endif

Generated on Sat Mar 27 19:20:41 2004 for Literature by doxygen 1.3.6-20040222