• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces/ktexteditor
 

interfaces/ktexteditor

  • KTextEditor
  • Document
Public Member Functions | Friends | List of all members
KTextEditor::Document Class Reference

#include <document.h>

Inheritance diagram for KTextEditor::Document:
KTextEditor::Editor

Public Member Functions

 Document (TQObject *parent=0, const char *name=0)
unsigned int documentNumber () const
TQCString documentDCOPSuffix () const
virtual class View * createView (TQWidget *parent, const char *name=0)=0
virtual TQPtrList< class View > views () const =0
- Public Member Functions inherited from KTextEditor::Editor
 Editor (TQObject *parent=0, const char *name=0)
unsigned int editorNumber () const

Friends

class PrivateDocument

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.

Member Function Documentation

virtual class View* KTextEditor::Document::createView ( TQWidget *  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.

TQCString 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.


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

interfaces/ktexteditor

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

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for interfaces/ktexteditor by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |