CTagsPart Class Reference
CTags (http://ctags.sourceforge.net) is a source navigation tool with support for many languages. More...
#include <ctagspart.h>
Inheritance diagram for CTagsPart:

Public Member Functions | |
CTagsPart (QObject *parent, const char *name, const QStringList &) | |
~CTagsPart () | |
bool | ensureTagsLoaded () |
bool | loadTagsFile () |
bool | createTagsFile () |
CTagsMap | tags () |
QStringList | kindStrings () |
Private Slots | |
void | projectClosed () |
void | contextMenu (QPopupMenu *popup, const Context *context) |
void | slotSearchTags () |
void | slotGotoDeclaration () |
void | slotGotoDefinition () |
void | slotGotoTag (QListBoxItem *item) |
Private Member Functions | |
void | gotoTag (const QString &tag, const QString &kindChars) |
void | gotoFinalTag (const QString &contextStr) |
Private Attributes | |
CTagsDialog * | m_dialog |
CTagsMap * | m_tags |
QStringList | m_kindStrings |
QString | m_contextString |
OccuresTagsDlg * | mOccuresTagsDlg |
Detailed Description
CTags (http://ctags.sourceforge.net) is a source navigation tool with support for many languages.
- Feature(s):
- Provides a context menu for finding type declarations/definitions.
Provides query dialog in the Tools menu.
When more than one declaration/definition is found, presets a dialog so that the user can select which one to goto.
- Bug:
- bugs in ctags part component at Bugzilla database
Can not detect CTags version that well.
- Requirement(s):
- CTags >= 5.0
Definition at line 40 of file ctagspart.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 69 of file ctagspart.cpp. References m_dialog, m_tags, and mOccuresTagsDlg. |
Member Function Documentation
|
Definition at line 88 of file ctagspart.cpp. References contextMenu(), EditorContext::currentWord(), Context::hasType(), m_contextString, slotGotoDeclaration(), and slotGotoDefinition(). Referenced by contextMenu(). |
|
Definition at line 296 of file ctagspart.cpp. References KDevProject::allFiles(), KTempFile::close(), endl(), kdDebug(), KTempFile::name(), KDevPlugin::project(), KProcess::setWorkingDirectory(), KProcess::start(), and KTempFile::textStream(). Referenced by ensureTagsLoaded(), and CTagsDialog::slotRegenerate(). |
|
Definition at line 193 of file ctagspart.cpp. References createTagsFile(), endl(), kdDebug(), loadTagsFile(), m_tags, main(), KDevPlugin::mainWindow(), and KDevPlugin::project(). Referenced by gotoTag(), and slotSearchTags(). |
|
Definition at line 151 of file ctagspart.cpp. References KDevPartController::editDocument(), gotoFinalTag(), mOccuresTagsDlg, and KDevPlugin::partController(). Referenced by gotoFinalTag(), gotoTag(), and slotGotoTag(). |
|
Definition at line 110 of file ctagspart.cpp. References CTagsMapIterator, CTagsTagInfoListConstIterator, ensureTagsLoaded(), gotoFinalTag(), gotoTag(), m_tags, mOccuresTagsDlg, and OccuresTagsDlg::mOcurresList. Referenced by gotoTag(), slotGotoDeclaration(), and slotGotoDefinition(). |
|
Definition at line 54 of file ctagspart.h. References m_kindStrings. Referenced by CTagsDialog::updateInfo(). |
|
Definition at line 218 of file ctagspart.cpp. References CTagsTagInfoList, endl(), file, CTagsTagInfo::fileName, kdDebug(), CTagsTagInfo::kind, m_kindStrings, m_tags, CTagsTagInfo::pattern, KDevPlugin::project(), and tags(). Referenced by ensureTagsLoaded(), and CTagsDialog::slotRegenerate(). |
|
Definition at line 77 of file ctagspart.cpp. References m_dialog, m_tags, and mOccuresTagsDlg. |
|
Definition at line 169 of file ctagspart.cpp. References gotoTag(), and m_contextString. Referenced by contextMenu(). |
|
Definition at line 175 of file ctagspart.cpp. References gotoTag(), and m_contextString. Referenced by contextMenu(). |
|
Definition at line 145 of file ctagspart.cpp. References gotoFinalTag(), and slotGotoTag(). Referenced by slotGotoTag(). |
|
Definition at line 181 of file ctagspart.cpp. References ensureTagsLoaded(), and m_dialog. |
|
Definition at line 52 of file ctagspart.h. References CTagsMap, and m_tags. Referenced by loadTagsFile(), and CTagsDialog::updateInfo(). |
Member Data Documentation
|
Definition at line 72 of file ctagspart.h. Referenced by contextMenu(), slotGotoDeclaration(), and slotGotoDefinition(). |
|
Definition at line 69 of file ctagspart.h. Referenced by projectClosed(), slotSearchTags(), and ~CTagsPart(). |
|
Definition at line 71 of file ctagspart.h. Referenced by kindStrings(), and loadTagsFile(). |
|
Definition at line 70 of file ctagspart.h. Referenced by ensureTagsLoaded(), gotoTag(), loadTagsFile(), projectClosed(), tags(), and ~CTagsPart(). |
|
Definition at line 74 of file ctagspart.h. Referenced by gotoFinalTag(), gotoTag(), projectClosed(), and ~CTagsPart(). |
The documentation for this class was generated from the following files:
- parts/ctags/ctagspart.h
- parts/ctags/ctagspart.cpp