.TH "KTextEditor::Document" kde3 "11 Jun 2005" "Version Version 3.4.1" "interfaces Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KTextEditor::Document \- The main class representing a text document.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <document.h>\fP
.PP
Inherits \fBKTextEditor::Editor\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBDocument\fP (\fBQObject\fP *\fBparent\fP=0, const char *\fBname\fP=0)"
.br
.ti -1c
.RI "unsigned int \fBdocumentNumber\fP () const "
.br
.ti -1c
.RI "\fBQCString\fP \fBdocumentDCOPSuffix\fP () const "
.br
.ti -1c
.RI "virtual class \fBView\fP * \fBcreateView\fP (\fBQWidget\fP *\fBparent\fP, const char *\fBname\fP=0)=0"
.br
.ti -1c
.RI "virtual \fBQPtrList\fP< class \fBView\fP > \fBviews\fP () const =0"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBPrivateDocument\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
The main class representing a text document. 

This class provides access to the document's views. 
.PP
Definition at line 31 of file document.h.
.SH "Member Function Documentation"
.PP 
.SS "unsigned int Document::documentNumber () const"
.PP
Returns the global number of this document in your app. 
.PP
Definition at line 119 of file ktexteditor.cpp.
.PP
Referenced by documentDCOPSuffix().
.SS "\fBQCString\fP Document::documentDCOPSuffix () const"
.PP
Returns this document's DCOP suffix for identifiying its DCOP interface. 
.PP
Definition at line 124 of file ktexteditor.cpp.
.PP
References documentNumber(), and QCString::setNum().
.SS "virtual class \fBView\fP* KTextEditor::Document::createView (\fBQWidget\fP * parent, const char * name = \fC0\fP)\fC [pure virtual]\fP"
.PP
Create a view that will display the document data. 
.PP
You can create as many views as you like. When the user modifies data in one view then all other views will be updated as well. 

.SH "Author"
.PP 
Generated automatically by Doxygen for interfaces Library from the source code.
