KDevelop API Documentation

ClassViewPart Class Reference

Put a brief description here, the brief description ends at the first dot. More...

#include <classviewpart.h>

Inheritance diagram for ClassViewPart:

Inheritance graph
[legend]
Collaboration diagram for ClassViewPart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClassViewPart (QObject *parent, const char *name, const QStringList &)
virtual ~ClassViewPart ()
bool langHasFeature (KDevLanguageSupport::Features feature)

Public Attributes

KListViewActionm_functionsnav
Navigatornavigator

Private Slots

void slotProjectOpened ()
void slotProjectClosed ()
void graphicalClassView ()
void activePartChanged (KParts::Part *)

Private Member Functions

void setupActions ()

Private Attributes

QGuardedPtr< ClassViewWidgetm_widget
QString m_activeFileName
KTextEditor::Documentm_activeDocument
KTextEditor::Viewm_activeView
KTextEditor::SelectionInterfacem_activeSelection
KTextEditor::EditInterfacem_activeEditor
KTextEditor::ViewCursorInterfacem_activeViewCursor

Friends

class Navigator

Detailed Description

Put a brief description here, the brief description ends at the first dot.

Put a more detailed description of your part in these lines. It can span over several lines. You can even use some html commands in these lines like: This is code, html links link text, and images.

Author(s):
$AUTHOR$

2nd author full name ...

nth author full name

Maintainer(s):
$AUTHOR$

2nd maintainer full name ...

nth maintainer full name

Feature(s):
Describe the first feature

Describe the second feature ...

Describe the last feature

Bug:
bugs in classview component at Bugzilla database

Describe a the 1st bug that you know of, but probably hasn't been reported yet. ..

Describe a the nth bug that you know of, but probably hasn't been reported yet.

Requirement(s):
Describe a the 1st requirement of your part.

Describe a the 2nd requirement of your part. ...

Describe a the nth requirement of your part.

Todo:
Describe a the 1st TODO of your part.

Describe a the 2nd TODO of your part. ...

Describe a the nth TODO of your part.

F.A.Q.:
First frequenly asked question about your part ? Answer.

Second frequenly asked question about your part ? Answer. ...

Last frequenly asked question about your part ? Answer.

Note:
First note text.

Second note text. ...

Last note text.

Warning:
First warning text.

Second warning text. ...

Last warning text.

Definition at line 52 of file classviewpart.h.


Constructor & Destructor Documentation

ClassViewPart::ClassViewPart QObject parent,
const char *  name,
const QStringList
 

ClassViewPart::~ClassViewPart  )  [virtual]
 

Definition at line 90 of file classviewpart.cpp.

References m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView().


Member Function Documentation

void ClassViewPart::activePartChanged KParts::Part  )  [private, slot]
 

Definition at line 144 of file classviewpart.cpp.

References URLUtil::canonicalPath(), kdDebug(), m_activeDocument, m_activeEditor, m_activeFileName, m_activeSelection, m_activeView, m_activeViewCursor, navigator, KURL::path(), Navigator::refreshNavBars(), Navigator::stopTimer(), Navigator::syncFunctionNavDelayed(), KParts::ReadOnlyPart::url(), and KParts::Part::widget().

void ClassViewPart::graphicalClassView  )  [private, slot]
 

Definition at line 138 of file classviewpart.cpp.

Referenced by setupActions().

bool ClassViewPart::langHasFeature KDevLanguageSupport::Features  feature  ) 
 

Definition at line 130 of file classviewpart.cpp.

References KDevLanguageSupport::features(), and KDevPlugin::languageSupport().

Referenced by ClassViewWidget::contentsContextMenuEvent(), and setupActions().

void ClassViewPart::setupActions  )  [private]
 

Definition at line 109 of file classviewpart.cpp.

References KXMLGUIClient::actionCollection(), graphicalClassView(), langHasFeature(), m_functionsnav, NAV_NODEFINITION, KComboView::setDefaultText(), KAction::setToolTip(), KListViewAction::setToolTip(), KAction::setWhatsThis(), KListViewAction::setWhatsThis(), and KListViewAction::view().

void ClassViewPart::slotProjectClosed  )  [private, slot]
 

Definition at line 103 of file classviewpart.cpp.

void ClassViewPart::slotProjectOpened  )  [private, slot]
 

Definition at line 96 of file classviewpart.cpp.

References KDevPlugin::languageSupport(), navigator, and Navigator::refresh().


Friends And Related Function Documentation

friend class Navigator [friend]
 

Definition at line 83 of file classviewpart.h.


Member Data Documentation

KTextEditor::Document* ClassViewPart::m_activeDocument [private]
 

Definition at line 77 of file classviewpart.h.

Referenced by activePartChanged().

KTextEditor::EditInterface* ClassViewPart::m_activeEditor [private]
 

Definition at line 80 of file classviewpart.h.

Referenced by activePartChanged().

QString ClassViewPart::m_activeFileName [private]
 

Definition at line 76 of file classviewpart.h.

Referenced by activePartChanged(), Navigator::addFile(), Navigator::functionDeclarationAt(), Navigator::functionDefinitionAt(), Navigator::refresh(), and Navigator::selectFunctionNav().

KTextEditor::SelectionInterface* ClassViewPart::m_activeSelection [private]
 

Definition at line 79 of file classviewpart.h.

Referenced by activePartChanged().

KTextEditor::View* ClassViewPart::m_activeView [private]
 

Definition at line 78 of file classviewpart.h.

Referenced by activePartChanged().

KTextEditor::ViewCursorInterface* ClassViewPart::m_activeViewCursor [private]
 

Definition at line 81 of file classviewpart.h.

Referenced by activePartChanged(), Navigator::currentFunctionDeclaration(), and Navigator::currentFunctionDefinition().

KListViewAction* ClassViewPart::m_functionsnav
 

Definition at line 61 of file classviewpart.h.

Referenced by Navigator::functionNavFocused(), Navigator::functionNavUnFocused(), Navigator::refreshNavBars(), setupActions(), and Navigator::syncFunctionNav().

QGuardedPtr<ClassViewWidget> ClassViewPart::m_widget [private]
 

Definition at line 74 of file classviewpart.h.

Referenced by ~ClassViewPart().

Navigator* ClassViewPart::navigator
 

Definition at line 62 of file classviewpart.h.

Referenced by activePartChanged(), and slotProjectOpened().


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 Wed Mar 23 00:20:30 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003