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 70 of file ctagspart.cpp. |
Member Function Documentation
|
Definition at line 89 of file ctagspart.cpp. References KStringHandler::csqueeze(), EditorContext::currentWord(), Context::hasType(), m_contextString, slotGotoDeclaration(), and slotGotoDefinition(). |
|
Definition at line 298 of file ctagspart.cpp. References KDevProject::allFiles(), KTempFile::close(), kdDebug(), KTempFile::name(), KDevPlugin::project(), KProcess::setWorkingDirectory(), KProcess::start(), and KTempFile::textStream(). Referenced by ensureTagsLoaded(), and CTagsDialog::slotRegenerate(). |
|
Definition at line 195 of file ctagspart.cpp. References createTagsFile(), kdDebug(), loadTagsFile(), main(), KDevPlugin::mainWindow(), KDevPlugin::project(), KMessageBox::questionYesNo(), and KMessageBox::sorry(). Referenced by gotoTag(), and slotSearchTags(). |
|
Definition at line 153 of file ctagspart.cpp. References KDevPartController::editDocument(), mOccuresTagsDlg, KDevPlugin::partController(), and KMessageBox::sorry(). Referenced by gotoTag(), and slotGotoTag(). |
|
Definition at line 112 of file ctagspart.cpp. References CTagsMapIterator, CTagsTagInfoListConstIterator, ensureTagsLoaded(), gotoFinalTag(), m_tags, mOccuresTagsDlg, OccuresTagsDlg::mOcurresList, and KMessageBox::sorry(). Referenced by slotGotoDeclaration(), and slotGotoDefinition(). |
|
Definition at line 54 of file ctagspart.h. Referenced by CTagsDialog::updateInfo(). |
|
Definition at line 220 of file ctagspart.cpp. References CTagsMap, CTagsMapIterator, CTagsTagInfoList, file, CTagsTagInfo::fileName, CTagsKinds::findKind(), kdDebug(), CTagsTagInfo::kind, m_kindStrings, m_tags, CTagsTagInfo::pattern, KDevPlugin::project(), and tags(). Referenced by ensureTagsLoaded(), and CTagsDialog::slotRegenerate(). |
|
Definition at line 78 of file ctagspart.cpp. References m_dialog, m_tags, and mOccuresTagsDlg. |
|
Definition at line 171 of file ctagspart.cpp. References gotoTag(), and m_contextString. Referenced by contextMenu(). |
|
Definition at line 177 of file ctagspart.cpp. References gotoTag(), and m_contextString. Referenced by contextMenu(). |
|
Definition at line 147 of file ctagspart.cpp. References gotoFinalTag(). |
|
Definition at line 183 of file ctagspart.cpp. References ensureTagsLoaded(), and m_dialog. |
|
Definition at line 52 of file ctagspart.h. References CTagsMap. 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(), and slotSearchTags(). |
|
Definition at line 71 of file ctagspart.h. Referenced by loadTagsFile(). |
|
Definition at line 70 of file ctagspart.h. Referenced by gotoTag(), loadTagsFile(), and projectClosed(). |
|
Definition at line 74 of file ctagspart.h. Referenced by gotoFinalTag(), gotoTag(), and projectClosed(). |
The documentation for this class was generated from the following files:
- parts/ctags/ctagspart.h
- parts/ctags/ctagspart.cpp