interfaces Library API Documentation

KTextEditor::View Class Reference

The View class represents a single view of a Document . More...

#include <view.h>

Inheritance diagram for KTextEditor::View:

QWidget KXMLGUIClient List of all members.

Public Member Functions

 View (class Document *, QWidget *parent, const char *name=0)
virtual ~View ()
unsigned int viewNumber () const
QCString viewDCOPSuffix () const
virtual class Documentdocument () const =0

Friends

class PrivateView

Detailed Description

The View class represents a single view of a Document .

Definition at line 32 of file ktexteditor/view.h.


Constructor & Destructor Documentation

View::View class Document ,
QWidget parent,
const char *  name = 0
 

Create a new view to the given document.

The document must be non-null.

Definition at line 132 of file ktexteditor.cpp.


Member Function Documentation

unsigned int View::viewNumber  )  const
 

Returns the number of this view.

Definition at line 142 of file ktexteditor.cpp.

Referenced by viewDCOPSuffix().

QCString View::viewDCOPSuffix  )  const
 

Returns the DCOP suffix to allow identification of this view's DCOP interface.

Definition at line 147 of file ktexteditor.cpp.

References document(), QCString::setNum(), and viewNumber().

virtual class Document* KTextEditor::View::document  )  const [pure virtual]
 

Acess the parent Document.

Referenced by viewDCOPSuffix().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for interfaces Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 8 06:25:59 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003