KNEdit::View Class Reference
The KNedit::View text editor interface. More...
#include <view.h>
Inheritance diagram for KNEdit::View:


Public Slots | |
| QPoint | cursorCoordinates () |
| Get the current cursor coordinates in pixels. | |
| void | cursorPosition (uint *line, uint *col) |
| Get the cursor position. | |
| void | cursorPositionReal (uint *line, uint *col) |
| Get the cursor position, calculated with 1 character per tab. | |
| bool | setCursorPosition (uint line, uint col) |
| Set the cursor position. | |
| bool | setCursorPositionReal (uint line, uint col) |
| Set the cursor position, use 1 character per tab. | |
| uint | cursorLine () |
| uint | cursorColumn () |
| uint | cursorColumnReal () |
Signals | |
| void | cursorPositionChanged () |
Public Member Functions | |
| View (Document *, QWidget *, const char *=0) | |
| virtual | ~View () |
| void | embedNEdit (WId id) |
| KTextEditor::Document * | document () const |
Private Attributes | |
| Document * | m_doc |
| QXEmbed * | m_embed |
Detailed Description
The KNedit::View text editor interface.
Definition at line 43 of file view.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
Reimplemented from KTextEditor::View. Definition at line 33 of file view.cpp. References KNEdit::Document::addView(), m_doc, m_embed, and KXMLGUIClient::setInstance(). |
|
|
Definition at line 47 of file view.cpp. References m_doc, and KNEdit::Document::removeView(). |
Member Function Documentation
|
|
Implements KTextEditor::ViewCursorInterface. |
|
|
Implements KTextEditor::ViewCursorInterface. |
|
|
Get the current cursor coordinates in pixels.
Implements KTextEditor::ViewCursorInterface. |
|
|
Implements KTextEditor::ViewCursorInterface. |
|
||||||||||||
|
Get the cursor position.
|
|
|
Implements KTextEditor::ViewCursorInterface. |
|
||||||||||||
|
Get the cursor position, calculated with 1 character per tab.
|
|
|
Implements KTextEditor::View. |
|
|
Definition at line 58 of file view.cpp. References QXEmbed::embed(), kdDebug(), and m_embed. Referenced by KNEdit::Document::serverReady(). |
|
||||||||||||
|
Set the cursor position.
Definition at line 82 of file view.cpp. References KNEdit::Document::invokeNC(), and m_doc. Referenced by setCursorPositionReal(). |
|
||||||||||||
|
Set the cursor position, use 1 character per tab.
Definition at line 89 of file view.cpp. References setCursorPosition(). |
Member Data Documentation
|
|
Definition at line 80 of file view.h. Referenced by setCursorPosition(), View(), and ~View(). |
|
|
Definition at line 81 of file view.h. Referenced by embedNEdit(), and View(). |
The documentation for this class was generated from the following files:
