KDevelop API Documentation

EditorProxy Class Reference

#include <editorproxy.h>

Inheritance diagram for EditorProxy:

QObject List of all members.

Public Member Functions

void setLineNumber (KParts::Part *part, int lineNum, int col)
void installPopup (KParts::Part *part, QPopupMenu *popup, bool revalidate=false)

Static Public Member Functions

EditorProxygetInstance ()

Private Slots

void popupAboutToShow ()

Private Member Functions

 EditorProxy ()

Private Attributes

QMemArray< int > m_popupIds

Static Private Attributes

EditorProxys_instance = 0

Constructor & Destructor Documentation

EditorProxy::EditorProxy  )  [private]
 

Definition at line 26 of file editorproxy.cpp.


Member Function Documentation

EditorProxy * EditorProxy::getInstance  )  [static]
 

Definition at line 32 of file editorproxy.cpp.

References s_instance.

Referenced by PartController::editDocument(), PartController::integratePart(), and PartController::reinstallPopups().

void EditorProxy::installPopup KParts::Part part,
QPopupMenu popup,
bool  revalidate = false
 

Definition at line 55 of file editorproxy.cpp.

References endl(), KTextEditor::PopupMenuInterface::installPopup(), installPopup(), kdDebug(), m_popupIds, popupAboutToShow(), and KParts::Part::widget().

Referenced by installPopup(), PartController::integratePart(), and PartController::reinstallPopups().

void EditorProxy::popupAboutToShow  )  [private, slot]
 

Definition at line 94 of file editorproxy.cpp.

References KParts::PartManager::activePart(), KTextEditor::ViewCursorInterface::cursorPositionReal(), endl(), Core::fillContextMenu(), Core::getInstance(), PartController::getInstance(), KTextEditor::SelectionInterface::hasSelection(), kdDebug(), m_popupIds, KURL::path(), KTextEditor::SelectionInterface::selection(), KTextEditor::EditInterface::textLine(), KParts::ReadOnlyPart::url(), and KParts::Part::widget().

Referenced by installPopup().

void EditorProxy::setLineNumber KParts::Part part,
int  lineNum,
int  col
 

Definition at line 41 of file editorproxy.cpp.

References KTextEditor::ViewCursorInterface::setCursorPositionReal(), setLineNumber(), and KParts::Part::widget().

Referenced by PartController::editDocument(), and setLineNumber().


Member Data Documentation

QMemArray<int> EditorProxy::m_popupIds [private]
 

Definition at line 41 of file editorproxy.h.

Referenced by installPopup(), and popupAboutToShow().

EditorProxy * EditorProxy::s_instance = 0 [static, private]
 

Definition at line 23 of file editorproxy.cpp.

Referenced by getInstance().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:02 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003