KDevelop API Documentation

ClassBrowserPart Class Reference

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

#include <classbrowser_part.h>

Inheritance diagram for ClassBrowserPart:

Inheritance graph
[legend]
Collaboration diagram for ClassBrowserPart:

Collaboration graph
[legend]
List of all members.

Public Slots

void refresh ()
void selectNamespace (const QListViewItem *it)
void selectClass (const QListViewItem *it)
void selectMethod (QListViewItem *it)

Public Member Functions

 ClassBrowserPart (QObject *parent, const char *name, const QStringList &)
virtual ~ClassBrowserPart ()

Private Slots

void slotProjectOpened ()
void slotProjectClosed ()
void slotCatalogAdded (Catalog *catalog)
void slotCatalogRemoved (Catalog *catalog)
void slotCatalogChanged (Catalog *catalog)
void refreshClasses ()
void refreshMethods ()

Private Member Functions

void setupActions ()
void adjust ()

Private Attributes

QGuardedPtr< ClassBrowserWidgetm_widget
KListViewActionm_actionNamespaces
KListViewActionm_actionClasses
KListViewActionm_actionMethods
QString m_selectedFileName

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:
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 44 of file classbrowser_part.h.


Constructor & Destructor Documentation

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

Definition at line 49 of file classbrowser_part.cpp.

References KDevPlugin::codeRepository(), KDevPlugin::core(), KDevMainWindow::embedSelectView(), m_widget, KDevPlugin::mainWindow(), KXMLGUIClient::setInstance(), setupActions(), KXMLGUIClient::setXMLFile(), slotCatalogAdded(), slotCatalogChanged(), slotCatalogRemoved(), slotProjectClosed(), and slotProjectOpened().

ClassBrowserPart::~ClassBrowserPart  )  [virtual]
 

Definition at line 74 of file classbrowser_part.cpp.


Member Function Documentation

void ClassBrowserPart::adjust  )  [private]
 

Definition at line 283 of file classbrowser_part.cpp.

References m_actionClasses, m_actionMethods, m_actionNamespaces, and KListViewAction::view().

Referenced by refresh(), refreshClasses(), refreshMethods(), selectClass(), selectMethod(), and selectNamespace().

void ClassBrowserPart::refresh  )  [slot]
 

Definition at line 138 of file classbrowser_part.cpp.

References adjust(), KComboView::clear(), KDevPlugin::codeRepository(), kdDebug(), QComboView::listView(), m_actionNamespaces, GCatalog< Tp >::query(), GCatalog< Tag >::QueryArgument, refreshClasses(), refreshMethods(), KDevCodeRepository::registeredCatalogs(), ClassBrowserUtils::simplifyNamespaces(), and KListViewAction::view().

Referenced by slotCatalogAdded(), slotCatalogChanged(), slotCatalogRemoved(), and slotProjectOpened().

void ClassBrowserPart::refreshClasses  )  [private, slot]
 

Definition at line 200 of file classbrowser_part.cpp.

References adjust(), KComboView::clear(), KDevPlugin::codeRepository(), QComboView::currentItem(), QComboView::listView(), m_actionClasses, m_actionNamespaces, GCatalog< Tp >::query(), GCatalog< Tag >::QueryArgument, KDevCodeRepository::registeredCatalogs(), TagListViewItem::tag(), and KListViewAction::view().

Referenced by refresh(), and selectNamespace().

void ClassBrowserPart::refreshMethods  )  [private, slot]
 

Definition at line 236 of file classbrowser_part.cpp.

References adjust(), KComboView::clear(), KDevPlugin::codeRepository(), QComboView::currentItem(), KDevLanguageSupport::formatTag(), kdDebug(), KDevPlugin::languageSupport(), QComboView::listView(), m_actionClasses, m_actionMethods, m_actionNamespaces, m_selectedFileName, GCatalog< Tp >::query(), GCatalog< Tag >::QueryArgument, KDevCodeRepository::registeredCatalogs(), TagListViewItem::tag(), and KListViewAction::view().

Referenced by refresh(), selectClass(), and selectNamespace().

void ClassBrowserPart::selectClass const QListViewItem it  )  [slot]
 

Definition at line 179 of file classbrowser_part.cpp.

References adjust(), and refreshMethods().

Referenced by setupActions().

void ClassBrowserPart::selectMethod QListViewItem it  )  [slot]
 

Definition at line 187 of file classbrowser_part.cpp.

References adjust(), KDevPartController::editDocument(), kdDebug(), KDevPlugin::partController(), and TagListViewItem::tag().

Referenced by setupActions().

void ClassBrowserPart::selectNamespace const QListViewItem it  )  [slot]
 

Definition at line 170 of file classbrowser_part.cpp.

References adjust(), refreshClasses(), and refreshMethods().

Referenced by setupActions().

void ClassBrowserPart::setupActions  )  [private]
 

Definition at line 98 of file classbrowser_part.cpp.

References KXMLGUIClient::actionCollection(), m_actionClasses, m_actionMethods, m_actionNamespaces, selectClass(), selectMethod(), selectNamespace(), and KListViewAction::view().

Referenced by ClassBrowserPart().

void ClassBrowserPart::slotCatalogAdded Catalog catalog  )  [private, slot]
 

Definition at line 110 of file classbrowser_part.cpp.

References refresh().

Referenced by ClassBrowserPart().

void ClassBrowserPart::slotCatalogChanged Catalog catalog  )  [private, slot]
 

Definition at line 122 of file classbrowser_part.cpp.

References refresh().

Referenced by ClassBrowserPart().

void ClassBrowserPart::slotCatalogRemoved Catalog catalog  )  [private, slot]
 

Definition at line 116 of file classbrowser_part.cpp.

References refresh().

Referenced by ClassBrowserPart().

void ClassBrowserPart::slotProjectClosed  )  [private, slot]
 

Definition at line 93 of file classbrowser_part.cpp.

Referenced by ClassBrowserPart().

void ClassBrowserPart::slotProjectOpened  )  [private, slot]
 

Definition at line 79 of file classbrowser_part.cpp.

References KDevPlugin::codeRepository(), KDevPlugin::languageSupport(), m_widget, refresh(), and KDevCodeRepository::registeredCatalogs().

Referenced by ClassBrowserPart().


Member Data Documentation

KListViewAction* ClassBrowserPart::m_actionClasses [private]
 

Definition at line 73 of file classbrowser_part.h.

Referenced by adjust(), refreshClasses(), refreshMethods(), and setupActions().

KListViewAction* ClassBrowserPart::m_actionMethods [private]
 

Definition at line 74 of file classbrowser_part.h.

Referenced by adjust(), refreshMethods(), and setupActions().

KListViewAction* ClassBrowserPart::m_actionNamespaces [private]
 

Definition at line 72 of file classbrowser_part.h.

Referenced by adjust(), refresh(), refreshClasses(), refreshMethods(), and setupActions().

QString ClassBrowserPart::m_selectedFileName [private]
 

Definition at line 75 of file classbrowser_part.h.

Referenced by refreshMethods().

QGuardedPtr<ClassBrowserWidget> ClassBrowserPart::m_widget [private]
 

Definition at line 71 of file classbrowser_part.h.

Referenced by ClassBrowserPart(), 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:10 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003