• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

interfaces

KTextEditor::Document

KTextEditor::Document Class Reference

The main class representing a text document. More...

#include <document.h>

Inheritance diagram for KTextEditor::Document:

Inheritance graph
[legend]

List of all members.


Public Member Functions

virtual class View * createView (QWidget *parent, const char *name=0)=0
 Document (QObject *parent=0, const char *name=0)
QCString documentDCOPSuffix () const
unsigned int documentNumber () const
virtual QPtrList< class View > views () const =0
virtual ~Document ()

Detailed Description

The main class representing a text document.

This class provides access to the document's views.

Definition at line 31 of file document.h.


Constructor & Destructor Documentation

Document::Document ( QObject *  parent = 0,
const char *  name = 0 
)

Definition at line 109 of file ktexteditor.cpp.

Document::~Document (  )  [virtual]

Definition at line 115 of file ktexteditor.cpp.


Member Function Documentation

virtual class View* KTextEditor::Document::createView ( QWidget *  parent,
const char *  name = 0 
) [pure virtual]

Create a view that will display the document data.

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.

QCString Document::documentDCOPSuffix (  )  const

Returns this document's DCOP suffix for identifiying its DCOP interface.

Definition at line 124 of file ktexteditor.cpp.

unsigned int Document::documentNumber (  )  const

Returns the global number of this document in your app.

Definition at line 119 of file ktexteditor.cpp.

virtual QPtrList<class View> KTextEditor::Document::views (  )  const [pure virtual]


The documentation for this class was generated from the following files:
  • document.h
  • ktexteditor.cpp

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal