00001 /*************************************************************************** 00002 * * 00003 * noteoverview.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 NoteOverview_h 00018 #define NoteOverview_h 00019 #include <qpopupmenu.h> 00020 #include "liturl.h" 00021 #include <qptrlist.h> 00022 #include "readonlyformbase.h" 00023 #include "noteoverviewform.h" 00024 00025 class NoteTreeItem; 00026 class NoteOverview : public ReadOnlyFormBase { 00027 Q_OBJECT 00028 00029 private: 00030 NoteOverview(const NoteOverview&); 00031 NoteOverview& operator=(const NoteOverview&); 00032 QPopupMenu pop1; 00033 QPopupMenu pop2; 00034 bool showleafs; 00035 NoteOverviewForm *noteoverviewform; 00036 00037 protected: 00038 LitUrl url; 00039 QAction *showPublsAction; 00040 bool setData(); 00041 00042 protected slots: 00043 void showPubls(); 00044 00045 public: 00046 00047 NoteOverview(LitUrl u, QObject *receiver, QString slot, QWidget *parent=0, const char *name=0); 00048 virtual ~NoteOverview(); 00049 00050 }; 00051 #endif