From b888c7edb54e483ec0e3c2e2ce0eafd73acdcc65 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:57:00 -0500 Subject: Initial import from kshowmail 3.3.1 sources --- doc/html/classKshowmailDoc.html | 264 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 doc/html/classKshowmailDoc.html (limited to 'doc/html/classKshowmailDoc.html') diff --git a/doc/html/classKshowmailDoc.html b/doc/html/classKshowmailDoc.html new file mode 100644 index 0000000..614bd5c --- /dev/null +++ b/doc/html/classKshowmailDoc.html @@ -0,0 +1,264 @@ + + +kshowmail.kdevelop: KshowmailDoc Class Reference + + + + +
+
+
+
+

KshowmailDoc Class Reference

#include <kshowmaildoc.h> +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Slots

void slotUpdateAllViews (KshowmailView *sender)

Public Member Functions

 KshowmailDoc (QWidget *parent, const char *name=0)
 ~KshowmailDoc ()
void addView (KshowmailView *view)
void removeView (KshowmailView *view)
bool newDocument ()
const KURL & URL () const
void setURL (const KURL &url)

Static Public Attributes

static KshowmailViewpView

Private Attributes

KURL doc_url
+


Detailed Description

+KshowmailDoc provides a document object for a document-view model.

+The KshowmailDoc class provides a document object that can be used in conjunction with the classes KshowmailApp and KshowmailView to create a document-view model for standard KDE applications based on KApplication and KMainWindow. Thereby, the document object is created by the KshowmailApp instance and contains the document structure with the according methods for manipulation of the document data by KshowmailView objects. Also, KshowmailDoc contains the methods for serialization of the document data from and to files.

+

Author:
Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team.
+
Version:
KDevelop version 1.2 code generation
+ +

+


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + +
KshowmailDoc::KshowmailDoc (QWidget *  parent,
const char *  name = 0 
)
+
+
+ +

+Constructor for the fileclass of the application +

+

+ +

+
+ + + + + + + + +
KshowmailDoc::~KshowmailDoc (  ) 
+
+
+ +

+Destructor for the fileclass of the application +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
void KshowmailDoc::addView (KshowmailView view  ) 
+
+
+ +

+adds a view to the document which represents the document contents. Usually this is your main view. +

+

+ +

+
+ + + + + + + + + +
void KshowmailDoc::removeView (KshowmailView view  ) 
+
+
+ +

+removes a view from the list of currently connected views +

+

+ +

+
+ + + + + + + + +
bool KshowmailDoc::newDocument (  ) 
+
+
+ +

+initializes the document generally +

+

+ +

+
+ + + + + + + + +
const KURL & KshowmailDoc::URL (  )  const
+
+
+ +

+returns the KURL of the document +

+

+ +

+
+ + + + + + + + + +
void KshowmailDoc::setURL (const KURL &  url  ) 
+
+
+ +

+sets the URL of the document +

+

+ +

+
+ + + + + + + + + +
void KshowmailDoc::slotUpdateAllViews (KshowmailView sender  )  [slot]
+
+
+ +

+calls repaint() on all views connected to the document object and is called by the view by which the document has been changed. As this view normally repaints itself, it is excluded from the paintEvent. +

+

+


Member Data Documentation

+ +
+
+ + + + +
KshowmailView * KshowmailDoc::pView [static]
+
+
+ +

+the list of the views currently connected to the document +

+

+ +

+
+ + + + +
KURL KshowmailDoc::doc_url [private]
+
+
+ +

+the modified flag of the current document +

+

+


The documentation for this class was generated from the following files: +
Generated on Tue Apr 1 21:59:50 2008 for kshowmail.kdevelop by  + +doxygen 1.5.0
+ + -- cgit v1.2.1