class View

The View class encapsulates a single view into the document. More...

Contains pure virtuals
Full nameKTextEditor::View
Definition#include <ktexteditor.h>
InheritsKXMLGUIClient (kdeui), QWidget
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals


Detailed Description

The View class encapsulates a single view into the document.

 View ( Document *doc, QWidget *parent, const char *name = 0 )

Create a new view to the given document. The document must be non-null.

View ()

[virtual]

Document * document ()

[const virtual]

Acessor to the parent Document.

void  setCursorPosition ( int line, int col, bool mark = false )

[pure virtual]

void  getCursorPosition ( int *line, int *col )

[pure virtual]

void  insertText ( const QString &text, bool mark = false )

[virtual]

Inserts text at the current cursor position into the document

bool  isOverwriteMode ()

[const pure virtual]

Overwrite mode is where the char under the cursor is replaced with the char typed by the user

void  setInternalContextMenuEnabled ( bool b )

[virtual]

You should reimplement this method. If the internal popupmenu property is enabled, then the implementation is free to handle/use/implement/show a context popupmenu ( see also KContextMenuManager class in kdeui ). If disabled, then the implementation should emit the contextPopupMenu signal.

bool  internalContextMenuEnabled ()

[const virtual]

void  setOverwriteMode ( bool b )

[pure virtual slot]

void  contextPopupMenu ( const QPoint &p )

[signal]


Generated by: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:34 2000, using kdoc 2.0a36.