KDevelop API Documentation

EditorWrapper Class Reference

#include <editorproxy.h>

Inheritance diagram for EditorWrapper:

Inheritance graph
[legend]
Collaboration diagram for EditorWrapper:

Collaboration graph
[legend]
List of all members.

Public Slots

virtual void show ()

Public Member Functions

 EditorWrapper (KTextEditor::Document *editor, bool activate, QWidget *parent, const char *name=0L)
virtual ~EditorWrapper ()
KTextEditor::Documentdocument () const
void setLine (int line)
void setCol (int col)

Private Attributes

QGuardedPtr< KTextEditor::Documentm_doc
QGuardedPtr< KTextEditor::Viewm_view
int m_line
int m_col
bool m_first

Constructor & Destructor Documentation

EditorWrapper::EditorWrapper KTextEditor::Document editor,
bool  activate,
QWidget parent,
const char *  name = 0L
 

Definition at line 277 of file editorproxy.cpp.

References EditorProxy::getInstance(), and EditorProxy::registerEditor().

EditorWrapper::~EditorWrapper  )  [virtual]
 

Definition at line 288 of file editorproxy.cpp.

References EditorProxy::deregisterEditor(), EditorProxy::getInstance(), k_funcinfo, and kdDebug().


Member Function Documentation

KTextEditor::Document * EditorWrapper::document  )  const
 

Definition at line 294 of file editorproxy.cpp.

void EditorWrapper::setCol int  col  ) 
 

Definition at line 304 of file editorproxy.cpp.

References m_col.

void EditorWrapper::setLine int  line  ) 
 

Definition at line 299 of file editorproxy.cpp.

References m_line.

void EditorWrapper::show  )  [virtual, slot]
 

Definition at line 309 of file editorproxy.cpp.

References PartController::getInstance(), PartController::integrateTextEditorPart(), m_col, m_doc, m_first, m_line, m_view, and KTextEditor::ViewCursorInterface::setCursorPositionReal().


Member Data Documentation

int EditorWrapper::m_col [private]
 

Definition at line 38 of file editorproxy.h.

Referenced by setCol(), and show().

QGuardedPtr<KTextEditor::Document> EditorWrapper::m_doc [private]
 

Definition at line 35 of file editorproxy.h.

Referenced by show().

bool EditorWrapper::m_first [private]
 

Definition at line 39 of file editorproxy.h.

Referenced by show().

int EditorWrapper::m_line [private]
 

Definition at line 37 of file editorproxy.h.

Referenced by setLine(), and show().

QGuardedPtr<KTextEditor::View> EditorWrapper::m_view [private]
 

Definition at line 36 of file editorproxy.h.

Referenced by show().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:41:42 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003