00001 /*************************************************************************** 00002 * * 00003 * journal.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 JournalForm_h 00018 #define JournalForm_h 00019 #include "journalform.h" 00020 #include "readwriteformbase.h" 00021 00022 class QToolBar; 00023 class QAction; 00024 class MainWindow; 00025 00026 class Journal: public ReadWriteFormBase { 00027 Q_OBJECT 00028 00029 private: 00030 Journal(const Journal&); 00031 Journal& operator=(const Journal&); 00032 00033 protected: 00034 JournalForm *journalform; 00035 FillLinkListBox *fillpubl; 00036 bool setData(); 00037 00038 public: 00039 Journal(LitUrl url, QObject *receiver, QString slot, MainWindow *parent, const char *name); 00040 ~Journal(); 00041 00042 protected slots: 00043 virtual void choosePublisher(); 00044 virtual void setWorkingGui(bool work); 00045 virtual void setReadonlyGui(bool ro); 00046 virtual void setInvalidGui(bool inv); 00047 }; 00048 #endif