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