#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/ktexteditor/ktexteditor.h>
Inheritance diagram for KTextEditor::View:

Public Slots | |
| virtual void | setOverwriteMode (bool b)=0 |
Signals | |
| void | contextPopupMenu (const QPoint &p) |
| void | scrollValueChanged (int value) |
Public Member Functions | |
| View (Document *doc, QWidget *parent, const char *name=0) | |
| virtual | ~View () |
| virtual Document * | document () const |
| virtual void | setCursorPosition (int line, int col, bool mark=false)=0 |
| virtual void | getCursorPosition (int *line, int *col)=0 |
| virtual void | insertText (const QString &text, bool mark=false) |
| virtual bool | isOverwriteMode () const =0 |
| virtual void | setInternalContextMenuEnabled (bool b) |
| virtual bool | internalContextMenuEnabled () const |
Private Attributes | |
| ViewPrivate * | d |
Definition at line 68 of file ktexteditor.h.
|
||||||||||||||||
|
Create a new view to the given document. The document must be non-null. |
|
|
Reimplemented in Kate::View. |
|
|
Connect here when you want to implement a custom popup menu. |
|
|
Acessor to the parent Document. Referenced by TinyKate::slotClose(), TinyKate::slotSave(), TinyKate::slotSaveAs(), and View::insertText(). |
|
||||||||||||
|
Implemented in KateView. Referenced by View::insertText(). |
|
||||||||||||
|
Inserts text at the current cursor position into the document Reimplemented in KateView. |
|
|
|
|
|
Overwrite mode is where the char under the cursor is replaced with the char typed by the user Implemented in KateView. |
|
|
Connect here if you want to track the scrolling within the editor. This allows you to add specialised borders that displays extra data about particular lines such as breakpoints etc. |
|
||||||||||||||||
|
Implemented in KateView. |
|
|
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. |
|
|
Implemented in KateView. |
|
|
Definition at line 125 of file ktexteditor.h. Referenced by View::document(), View::internalContextMenuEnabled(), View::setInternalContextMenuEnabled(), and View::~View(). |
1.4.2