kshowmaildoc.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           kshowmaildoc.h  -  description
00003                              -------------------
00004     begin                : Fre Sep 28 23:29:54 CEST 2001
00005     copyright            : (C) 2001 by Eggert Ehmke
00006     email                : eggert.ehmke@berlin.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef KSHOWMAILDOC_H
00019 #define KSHOWMAILDOC_H
00020 
00021 #ifdef HAVE_CONFIG_H
00022 #include <config.h>
00023 #endif 
00024 
00025 // include files for QT
00026 #include <ntqobject.h>
00027 #include <ntqstring.h>
00028 
00029 // include files for KDE
00030 #include <kurl.h>
00031 
00032 // forward declaration of the Kshowmail classes
00033 class KshowmailView;
00034 
00045 class KshowmailDoc : public TQObject
00046 {
00047   TQ_OBJECT
00048   public:
00050     KshowmailDoc(TQWidget *parent, const char *name=0);
00052     ~KshowmailDoc();
00053 
00055     void addView(KshowmailView *view);
00057     void removeView(KshowmailView *view);
00059     bool newDocument();
00061     const KURL& URL() const;
00063           void setURL(const KURL& url);
00064         
00065   public slots:
00069     void slotUpdateAllViews(KshowmailView *sender);
00070         
00071   public:       
00073     // no List; just one view
00074     static KshowmailView *pView;        
00075 
00076   private:
00078     KURL doc_url;
00079 };
00080 
00081 #endif // KSHOWMAILDOC_H

Generated on Tue Apr 1 21:59:49 2008 for kshowmail.tdevelop by  doxygen 1.5.0