CppSupportPart Class Reference
Provides C/C++ language support for KDevelop. More...
#include <cppsupportpart.h>
Inheritance diagram for CppSupportPart:


Signals | |
void | fileParsed (const QString &fileName) |
Public Member Functions | |
CppSupportPart (QObject *parent, const char *name, const QStringList &args) | |
virtual | ~CppSupportPart () |
bool | isValid () const |
QString | specialHeaderName (bool local=false) const |
void | updateParserConfiguration () |
ProblemReporter * | problemReporter () |
BackgroundParser * | backgroundParser () |
CppCodeCompletion * | codeCompletion () |
CppCodeCompletionConfig * | codeCompletionConfig () |
const QPtrList< Catalog > & | catalogList () |
void | addCatalog (Catalog *catalog) |
void | removeCatalog (const QString &dbName) |
bool | isValidSource (const QString &fileName) const |
virtual void | customEvent (QCustomEvent *ev) |
virtual QStringList | subclassWidget (const QString &formName) |
Opens an "Subclass Widget" dialog for given Qt .ui file (formName) and propmts to implement it's slots. | |
virtual QStringList | updateWidget (const QString &formName, const QString &fileName) |
Opens and "Update Widget" dialog for given Qt .ui file (formName) and prompts to add missing slot implementations in the subclass located in fileName. | |
FunctionDefinitionDom | currentFunctionDefinition () |
FunctionDefinitionDom | functionDefinitionAt (int line, int column) |
FunctionDefinitionDom | functionDefinitionAt (NamespaceDom ns, int line, int column) |
FunctionDefinitionDom | functionDefinitionAt (ClassDom klass, int line, int column) |
FunctionDefinitionDom | functionDefinitionAt (FunctionDefinitionDom fun, int line, int column) |
KTextEditor::Document * | findDocument (const KURL &url) |
virtual QString | formatTag (const Tag &tag) |
Formats a Tag as used by the class store to the human-readable convention. | |
virtual QString | formatModelItem (const CodeModelItem *item, bool shortDescription=false) |
Formats a CodeModelItem as used by the CodeModel to the human-readable convention. | |
virtual void | addClass () |
Opens a "New class" dialog and adds the configured class to the sources. | |
QString | extractInterface (const ClassDom &klass) |
bool | isHeader (const QString &fileName) const |
bool | isSource (const QString &fileName) const |
virtual KDevDesignerIntegration * | designer (KInterfaceDesigner::DesignerType type) |
Returns a pointer to designer integration plugin of given type or 0. | |
Static Public Member Functions | |
KConfig * | config () |
Protected Member Functions | |
virtual KDevLanguageSupport::Features | features () |
Returns the feature set of the language. | |
virtual KMimeType::List | mimeTypes () |
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog. | |
virtual QString | formatClassName (const QString &name) |
Formats a canonicalized class path as used by the class store to the human-readable convention. | |
virtual QString | unformatClassName (const QString &name) |
The opposite of formatClassName(). | |
virtual void | addMethod (ClassDom klass) |
Opens an "Add method" dialog and adds the configured method to the sources. | |
virtual void | addAttribute (ClassDom klass) |
Opens an "Add attribute" dialog and adds the configured method to the sources. | |
Private Slots | |
void | activePartChanged (KParts::Part *part) |
void | partRemoved (KParts::Part *part) |
void | projectOpened () |
void | projectClosed () |
void | savedFile (const KURL &fileName) |
void | configWidget (KDialogBase *dlg) |
void | projectConfigWidget (KDialogBase *dlg) |
void | contextMenu (QPopupMenu *popup, const Context *context) |
void | addedFilesToProject (const QStringList &fileList) |
void | removedFilesFromProject (const QStringList &fileList) |
void | changedFilesInProject (const QStringList &fileList) |
void | slotProjectCompiled () |
void | setupCatalog () |
void | codeCompletionConfigStored () |
void | recomputeCodeModel (const QString &fileName) |
void | slotNewClass () |
void | slotSwitchHeader () |
void | slotGotoIncludeFile () |
void | slotCompleteText () |
void | slotMakeMember () |
void | slotExtractInterface () |
void | slotCursorPositionChanged () |
void | slotFunctionHint () |
void | gotoLine (int line) |
void | gotoDeclarationLine (int line) |
void | emitFileParsed () |
void | slotParseFiles () |
void | slotCreateSubclass () |
void | slotNeedTextHint (int, int, QString &) |
void | initialParse () |
loads, parses and creates both classstores needed | |
bool | parseProject (bool force=false) |
only parses the current project | |
Private Member Functions | |
void | maybeParse (const QString &fileName) |
checks if a file has to be parsed | |
void | removeWithReferences (const QString &fileName) |
void | createIgnorePCSFile () |
void | MakeMemberHelper (QString &text, int &atline, int &atcol) |
QString | sourceOrHeaderCandidate () |
QStringList | modifiedFileList () |
QString | findSourceFile () |
int | pcsVersion () |
void | setPcsVersion (int version) |
void | saveProjectSourceInfo () |
Static Private Member Functions | |
QStringList | reorder (const QStringList &list) |
QString | findHeader (const QStringList &list, const QString &header) |
Private Attributes | |
CppCodeCompletion * | m_pCompletion |
CppCodeCompletionConfig * | m_pCompletionConfig |
bool | withcpp |
QString | m_contextFileName |
QGuardedPtr< ProblemReporter > | m_problemReporter |
BackgroundParser * | m_backgroundParser |
KTextEditor::Document * | m_activeDocument |
KTextEditor::View * | m_activeView |
KTextEditor::SelectionInterface * | m_activeSelection |
KTextEditor::EditInterface * | m_activeEditor |
KTextEditor::ViewCursorInterface * | m_activeViewCursor |
QString | m_activeFileName |
QMap< KInterfaceDesigner::DesignerType, KDevDesignerIntegration * > | m_designers |
QWaitCondition | m_eventConsumed |
bool | m_projectClosed |
QMap< QString, QDateTime > | m_timestamp |
bool | m_valid |
QPtrList< Catalog > | m_catalogList |
Driver * | m_driver |
QString | m_projectDirectory |
QStringList | m_projectFileList |
ClassDom | m_activeClass |
FunctionDom | m_activeFunction |
VariableDom | m_activeVariable |
QTimer * | m_functionHintTimer |
JobData * | _jd |
Static Private Attributes | |
QStringList | m_sourceMimeTypes = QStringList() << "text/x-csrc" << "text/x-c++src" |
QStringList | m_headerMimeTypes = QStringList() << "text/x-chdr" << "text/x-c++hdr" |
QStringList | m_sourceExtensions = QStringList::split( ",", "c,C,cc,cpp,c++,cxx,m,mm,M" ) |
QStringList | m_headerExtensions = QStringList::split( ",", "h,H,hh,hxx,hpp,inl,tlh,diff,ui.h" ) |
Friends | |
class | KDevCppSupportIface |
class | CppDriver |
Detailed Description
Provides C/C++ language support for KDevelop.Well the first thing you should read is lib/catalog it contains the source of the persistant class store after that languages/cpp/tag_creator.* it is the component that stores the informations collected by the c++ parser into the PCS then you can play with KDevPCSImporter the code of the dialog is in languages/cpp/createpcsdialog* and languages/cpp/pcsimporter/* and of course lib/interfaces/kdevpcsimporter.* and if you want play with the c++ parser go to lib/cppparser/, the best is to start to read driver.*
- Feature(s):
- supports C/C++ language
can do code completion
has presistent class store
code highlight
Consult Programming Languages Support Status for a up to date features/status of this programming language support part.
- F.A.Q.:
- How can I have documentation on functions when using codecompletion ?
- Create the xml-output with Doxygen of the files you want to add to the classstore
- Create the new PCS-database with r++. Now you have to use the -d command line switch of r++ to have it include the documentation. It is used like -d/path/of/doxygen/xml/output (notice that there is _no_ whitespace between -d and the path!). You can use it multiple times to have r++ search for the informations in different directories. r++ -d has to be used (like every other commandline switch) before you write the directories you want r++ to create the PCSdatabase from.
- Activate your newly created Database in the Project->Project Options...->C++ Specific->Code Completion... .
How does this work ? I have no clue. Ask roberto! :)
How does r++ work ? I have no clue. Ask roberto! :)
Definition at line 56 of file cppsupportpart.h.
Constructor & Destructor Documentation
|
|
Member Function Documentation
|
|
Opens an "Add attribute" dialog and adds the configured method to the sources.
Reimplemented from KDevLanguageSupport. Definition at line 887 of file cppsupportpart.cpp. References ClassDom, KMessageBox::error(), main(), and KDevPlugin::mainWindow(). |
|
Definition at line 1714 of file cppsupportpart.cpp. References KDevPlugin::codeRepository(), m_catalogList, and KDevCodeRepository::registerCatalog(). Referenced by CreatePCSDialog::slotSelected(). |
|
Opens a "New class" dialog and adds the configured class to the sources.
Reimplemented from KDevLanguageSupport. Definition at line 1488 of file cppsupportpart.cpp. References slotNewClass(). |
|
Definition at line 709 of file cppsupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), KDevProject::allFiles(), URLUtil::canonicalPath(), m_projectDirectory, m_projectFileList, maybeParse(), KDevPlugin::project(), and reorder(). Referenced by projectOpened(). |
|
Opens an "Add method" dialog and adds the configured method to the sources.
Reimplemented from KDevLanguageSupport. Definition at line 876 of file cppsupportpart.cpp. References ClassDom, KMessageBox::error(), main(), and KDevPlugin::mainWindow(). |
|
Definition at line 74 of file cppsupportpart.h. Referenced by AddMethodDialog::accept(), AddAttributeDialog::accept(), QtDesignerIntegration::addFunctionToClass(), and ProblemReporter::closedFile(). |
|
Definition at line 78 of file cppsupportpart.h. |
|
Definition at line 736 of file cppsupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), URLUtil::canonicalPath(), m_projectDirectory, maybeParse(), and reorder(). Referenced by projectOpened(). |
|
Definition at line 75 of file cppsupportpart.h. |
|
Definition at line 76 of file cppsupportpart.h. Referenced by CCConfigWidget::initCodeCompletionTab(), and CCConfigWidget::saveCodeCompletionTab(). |
|
Definition at line 1418 of file cppsupportpart.cpp. References KDevPlugin::partController(), and KParts::PartManager::setActivePart(). Referenced by CppSupportPart(). |
|
Referenced by pcsVersion(), and setPcsVersion(). |
|
Definition at line 313 of file cppsupportpart.cpp. References KDialogBase::addVBoxPage(), and KDevPlugin::icon(). Referenced by CppSupportPart(), and projectOpened(). |
|
|
Definition at line 1826 of file cppsupportpart.cpp. References KDevPlugin::project(), KDevProject::projectDirectory(), and KDevProject::projectName(). Referenced by parseProject(), and saveProjectSourceInfo(). |
|
Definition at line 1729 of file cppsupportpart.cpp. References KTextEditor::ViewCursorInterface::cursorPositionReal(), functionDefinitionAt(), FunctionDefinitionDom, and m_activeViewCursor. Referenced by slotFunctionHint(). |
|
Definition at line 273 of file cppsupportpart.cpp. References Event_FileParsed, FileParsedEvent::fileName(), fileParsed(), kdDebug(), Problem::level(), m_problemReporter, FileParsedEvent::problems(), and recomputeCodeModel(). |
|
Returns a pointer to designer integration plugin of given type or 0.
Reimplemented from KDevLanguageSupport. Definition at line 1859 of file cppsupportpart.cpp. References kdDebug(), KDevDesignerIntegration::loadSettings(), m_designers, KDevPlugin::project(), and KDevPlugin::projectDom(). Referenced by slotCreateSubclass(). |
|
Definition at line 1646 of file cppsupportpart.cpp. References fileParsed(), and m_activeFileName. |
|
Definition at line 1541 of file cppsupportpart.cpp. References ClassDom, formatModelItem(), FunctionDom, and FunctionList. Referenced by slotExtractInterface(). |
|
Returns the feature set of the language. This is e.g. used by the class view to decide which organizer items to display and which not. Reimplemented from KDevLanguageSupport. Definition at line 849 of file cppsupportpart.cpp. References KDevLanguageSupport::Features. |
|
Referenced by customEvent(), and emitFileParsed(). |
|
Definition at line 1287 of file cppsupportpart.cpp. References KDevPlugin::partController(), KParts::PartManager::parts(), and KParts::ReadOnlyPart::url(). |
|
Definition at line 457 of file cppsupportpart.cpp. Referenced by contextMenu(). |
|
Definition at line 763 of file cppsupportpart.cpp. References kdDebug(), and m_activeFileName. Referenced by MakeMemberHelper(), and slotMakeMember(). |
|
Formats a canonicalized class path as used by the class store to the human-readable convention. For example, the C++ support part formats the string "KParts.Part" into "KParts::Part". Reimplemented from KDevLanguageSupport. Definition at line 858 of file cppsupportpart.cpp. |
|
Formats a CodeModelItem as used by the CodeModel to the human-readable convention.
Reimplemented from KDevLanguageSupport. Definition at line 1445 of file cppsupportpart.cpp. References FunctionModel::argumentList(), ArgumentList, ArgumentModel::defaultValue(), KDevLanguageSupport::formatModelItem(), FunctionModel::isAbstract(), CodeModelItem::isArgument(), FunctionModel::isConstant(), CodeModelItem::isFunction(), CodeModelItem::isFunctionDefinition(), CodeModelItem::isVariable(), FunctionModel::isVirtual(), CodeModelItem::name(), FunctionModel::resultType(), ArgumentModel::type(), and VariableModel::type(). Referenced by contextMenu(), extractInterface(), and slotFunctionHint(). |
|
Formats a Tag as used by the class store to the human-readable convention.
Reimplemented from KDevLanguageSupport. Definition at line 1387 of file cppsupportpart.cpp. References CppFunction< Tag >::arguments(), CppVariable< Tag >::name(), CppFunction< Tag >::name(), CppVariable< Tag >::type(), and CppFunction< Tag >::type(). |
|
Definition at line 1784 of file cppsupportpart.cpp. References FunctionDefinitionDom. |
|
Definition at line 1765 of file cppsupportpart.cpp. References ClassDom, ClassList, functionDefinitionAt(), FunctionDefinitionDom, and FunctionDefinitionList. |
|
Definition at line 1739 of file cppsupportpart.cpp. References ClassList, functionDefinitionAt(), FunctionDefinitionDom, FunctionDefinitionList, NamespaceDom, and NamespaceList. |
|
Definition at line 1720 of file cppsupportpart.cpp. References KDevPlugin::codeModel(), file, CodeModel::fileByName(), FileDom, FunctionDefinitionDom, CodeModel::hasFile(), and m_activeFileName. Referenced by currentFunctionDefinition(), and functionDefinitionAt(). |
|
Definition at line 1669 of file cppsupportpart.cpp. References KDevPartController::editDocument(), isHeader(), m_activeFileName, m_activeViewCursor, KDevPlugin::partController(), KTextEditor::ViewCursorInterface::setCursorPositionReal(), KURL::setPath(), and sourceOrHeaderCandidate(). Referenced by contextMenu(). |
|
Definition at line 1614 of file cppsupportpart.cpp. References KDevPartController::editDocument(), isHeader(), m_activeFileName, m_activeViewCursor, KDevPlugin::partController(), KTextEditor::ViewCursorInterface::setCursorPositionReal(), KURL::setPath(), and sourceOrHeaderCandidate(). Referenced by contextMenu(). |
|
loads, parses and creates both classstores needed
Definition at line 908 of file cppsupportpart.cpp. References kdDebug(), m_valid, parseProject(), and KDevPlugin::project(). Referenced by projectOpened(). |
|
Definition at line 1651 of file cppsupportpart.cpp. References KMimeType::findByPath(), m_headerExtensions, m_headerMimeTypes, and KMimeType::Ptr. Referenced by activePartChanged(), contextMenu(), gotoDeclarationLine(), gotoLine(), isValidSource(), and modifiedFileList(). |
|
Definition at line 1660 of file cppsupportpart.cpp. References KMimeType::findByPath(), m_sourceExtensions, m_sourceMimeTypes, and KMimeType::Ptr. Referenced by activePartChanged(), contextMenu(), isValidSource(), and modifiedFileList(). |
|
Definition at line 64 of file cppsupportpart.h. Referenced by problemReporter(). |
|
Definition at line 1435 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), isHeader(), KDevProject::isProjectFile(), isSource(), and KDevPlugin::project(). Referenced by maybeParse(), partRemoved(), and slotParseFiles(). |
|
|
checks if a file has to be parsed
Definition at line 1064 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), isValidSource(), m_driver, m_timestamp, Driver::parseFile(), and removeWithReferences(). Referenced by addedFilesToProject(), changedFilesInProject(), and savedFile(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 1356 of file cppsupportpart.cpp. References KMimeType::List, KMimeType::mimeType(), and KMimeType::Ptr. |
|
Definition at line 1259 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), isHeader(), isSource(), m_projectDirectory, and m_timestamp. Referenced by parseProject(). |
|
only parses the current project
Definition at line 942 of file cppsupportpart.cpp. References _jd, createIgnorePCSFile(), CppSupportPart::JobData::dir, CppSupportPart::JobData::file, CppSupportPart::JobData::files, CppSupportPart::JobData::it, kdDebug(), m_projectDirectory, KDevPlugin::mainWindow(), modifiedFileList(), CppSupportPart::JobData::pcs, CppSupportPart::JobData::progressBar, KDevPlugin::project(), KDevProject::projectDirectory(), KDevProject::projectName(), reorder(), slotParseFiles(), KDevMainWindow::statusBar(), and CppSupportPart::JobData::stream. Referenced by initialParse(), slotProjectCompiled(), and updateParserConfiguration(). |
|
Definition at line 1237 of file cppsupportpart.cpp. References BackgroundParser::addFile(), URLUtil::canonicalPath(), isValidSource(), kdDebug(), m_backgroundParser, KURL::path(), BackgroundParser::removeFile(), and KParts::ReadOnlyPart::url(). Referenced by CppSupportPart(). |
|
Definition at line 1372 of file cppsupportpart.cpp. References config(), and KConfigBase::readNumEntry(). Referenced by setupCatalog(). |
|
Definition at line 72 of file cppsupportpart.h. References isValid(). Referenced by CppDriver::fileParsed(). |
|
Definition at line 423 of file cppsupportpart.cpp. References _jd, KDevPlugin::codeRepository(), GCatalog< Tp >::dbName(), GCatalog< Tp >::enabled(), kdDebug(), m_designers, m_pCompletion, m_pCompletionConfig, m_projectClosed, KDevPlugin::project(), KDevPlugin::projectDom(), KDevCodeRepository::registeredCatalogs(), saveProjectSourceInfo(), CppCodeCompletionConfig::store(), and DomUtil::writeListEntry(). Referenced by CppSupportPart(), and ~CppSupportPart(). |
|
Definition at line 304 of file cppsupportpart.cpp. References KDialogBase::addVBoxPage(), and KDevPlugin::icon(). Referenced by CppSupportPart(). |
|
|
hasErrors Definition at line 1626 of file cppsupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), CodeModel::addFile(), KDevPlugin::codeModel(), StoreWalker::file(), file, CodeModel::fileByName(), FileDom, CodeModel::hasFile(), BackgroundParser::lock(), m_backgroundParser, StoreWalker::parseTranslationUnit(), removeWithReferences(), BackgroundParser::translationUnit(), and BackgroundParser::unlock(). Referenced by customEvent(). |
|
Definition at line 1681 of file cppsupportpart.cpp. References KDevPlugin::codeRepository(), kdDebug(), m_catalogList, KDevCodeRepository::registeredCatalogs(), and KDevCodeRepository::unregisterCatalog(). Referenced by CreatePCSDialog::slotSelected(). |
|
Definition at line 723 of file cppsupportpart.cpp. References KDevProject::allFiles(), URLUtil::canonicalPath(), kdDebug(), m_backgroundParser, m_projectDirectory, m_projectFileList, KDevPlugin::project(), BackgroundParser::removeFile(), and removeWithReferences(). Referenced by projectOpened(). |
|
Definition at line 1423 of file cppsupportpart.cpp. References KDevLanguageSupport::aboutToRemoveSourceInfo(), KDevPlugin::codeModel(), CodeModel::hasFile(), kdDebug(), m_timestamp, and CodeModel::removeFile(). Referenced by CppDriver::fileParsed(), maybeParse(), recomputeCodeModel(), and removedFilesFromProject(). |
|
Definition at line 691 of file cppsupportpart.cpp. Referenced by addedFilesToProject(), changedFilesInProject(), and parseProject(). |
|
Definition at line 749 of file cppsupportpart.cpp. References KDevLanguageSupport::addedSourceInfo(), kdDebug(), m_projectDirectory, m_projectFileList, maybeParse(), and KURL::path(). Referenced by CppSupportPart(). |
|
Definition at line 1493 of file cppsupportpart.cpp. References KDevPlugin::codeModel(), createIgnorePCSFile(), FileDom, CodeModel::fileList(), FileList, m_timestamp, KDevPlugin::project(), KDevProject::projectDirectory(), KDevProject::projectName(), and toTime_t(). Referenced by projectClosed(). |
|
Definition at line 1379 of file cppsupportpart.cpp. References config(), KConfigBase::sync(), and KConfigBase::writeEntry(). Referenced by setupCatalog(). |
|
|
Definition at line 898 of file cppsupportpart.cpp. References CppCodeCompletion::completeText(), and m_pCompletion. Referenced by CppSupportPart(). |
|
Definition at line 1880 of file cppsupportpart.cpp. References designer(), m_contextFileName, and QtDesignerIntegration::selectImplementation(). Referenced by contextMenu(). |
|
Definition at line 1804 of file cppsupportpart.cpp. Referenced by activePartChanged(). |
|
Definition at line 1582 of file cppsupportpart.cpp. References KDevProject::addFile(), KMessageBox::error(), extractInterface(), m_activeClass, main(), KDevPlugin::mainWindow(), KDevPlugin::project(), and text(). Referenced by contextMenu(). |
|
Definition at line 1809 of file cppsupportpart.cpp. References currentFunctionDefinition(), formatModelItem(), FunctionDefinitionDom, kdDebug(), m_functionHintTimer, KDevPlugin::mainWindow(), and KDevMainWindow::statusBar(). |
|
Definition at line 842 of file cppsupportpart.cpp. References KDevPartController::editDocument(), m_contextFileName, and KDevPlugin::partController(). Referenced by contextMenu(). |
|
|
Definition at line 1087 of file cppsupportpart.cpp. References findNodeAt(), AST::getEndPosition(), AST::getStartPosition(), BackgroundParser::lock(), m_activeEditor, m_activeFileName, m_backgroundParser, AST::parent(), KTextEditor::EditInterface::textLine(), BackgroundParser::translationUnit(), and BackgroundParser::unlock(). Referenced by activePartChanged(). |
|
Definition at line 870 of file cppsupportpart.cpp. Referenced by addClass(), and CppSupportPart(). |
|
|
Definition at line 1253 of file cppsupportpart.cpp. References kdDebug(), and parseProject(). Referenced by projectOpened(). |
|
Definition at line 837 of file cppsupportpart.cpp. References KDevPartController::editDocument(), KDevPlugin::partController(), and sourceOrHeaderCandidate(). Referenced by contextMenu(), and CppSupportPart(). |
|
Definition at line 795 of file cppsupportpart.cpp. References KParts::PartManager::activePart(), kdDebug(), KDevPlugin::partController(), KURL::path(), and KParts::ReadOnlyPart::url(). Referenced by contextMenu(), gotoDeclarationLine(), gotoLine(), and slotSwitchHeader(). |
|
Definition at line 1839 of file cppsupportpart.cpp. References locate(), and locateLocal(). Referenced by projectOpened(), updateParserConfiguration(), and BackgroundParser::updateParserConfiguration(). |
|
Opens an "Subclass Widget" dialog for given Qt .ui file (formName) and propmts to implement it's slots. Returns a list of newly created files. Reimplemented from KDevLanguageSupport. Definition at line 1221 of file cppsupportpart.cpp. |
|
The opposite of formatClassName().
Reimplemented from KDevLanguageSupport. Definition at line 864 of file cppsupportpart.cpp. |
|
Definition at line 1847 of file cppsupportpart.cpp. References m_backgroundParser, m_driver, Driver::parseFile(), parseProject(), Driver::removeAllMacrosInFile(), specialHeaderName(), and BackgroundParser::updateParserConfiguration(). |
|
Opens and "Update Widget" dialog for given Qt .ui file (formName) and prompts to add missing slot implementations in the subclass located in fileName. Returns a list of newly created files. Reimplemented from KDevLanguageSupport. Definition at line 1229 of file cppsupportpart.cpp. |
Friends And Related Function Documentation
|
Definition at line 227 of file cppsupportpart.h. Referenced by CppSupportPart(). |
|
Definition at line 226 of file cppsupportpart.h. Referenced by CppSupportPart(). |
Member Data Documentation
|
Definition at line 245 of file cppsupportpart.h. Referenced by parseProject(), projectClosed(), slotParseFiles(), and ~CppSupportPart(). |
|
Definition at line 214 of file cppsupportpart.h. Referenced by contextMenu(), and slotExtractInterface(). |
|
Definition at line 194 of file cppsupportpart.h. Referenced by activePartChanged(). |
|
Definition at line 197 of file cppsupportpart.h. Referenced by activePartChanged(), slotMakeMember(), and slotNeedTextHint(). |
|
Definition at line 199 of file cppsupportpart.h. Referenced by activePartChanged(), contextMenu(), emitFileParsed(), findSourceFile(), functionDefinitionAt(), gotoDeclarationLine(), gotoLine(), MakeMemberHelper(), and slotNeedTextHint(). |
|
Definition at line 215 of file cppsupportpart.h. Referenced by contextMenu(). |
|
Definition at line 196 of file cppsupportpart.h. Referenced by activePartChanged(). |
|
Definition at line 216 of file cppsupportpart.h. Referenced by contextMenu(). |
|
Definition at line 195 of file cppsupportpart.h. Referenced by activePartChanged(). |
|
Definition at line 198 of file cppsupportpart.h. Referenced by activePartChanged(), contextMenu(), currentFunctionDefinition(), gotoDeclarationLine(), gotoLine(), MakeMemberHelper(), and slotMakeMember(). |
|
Definition at line 192 of file cppsupportpart.h. Referenced by MakeMemberHelper(), partRemoved(), projectOpened(), recomputeCodeModel(), removedFilesFromProject(), slotMakeMember(), slotNeedTextHint(), updateParserConfiguration(), and ~CppSupportPart(). |
|
Definition at line 209 of file cppsupportpart.h. Referenced by addCatalog(), CppSupportPart(), removeCatalog(), setupCatalog(), and ~CppSupportPart(). |
|
Definition at line 189 of file cppsupportpart.h. Referenced by contextMenu(), slotCreateSubclass(), and slotGotoIncludeFile(). |
|
Definition at line 201 of file cppsupportpart.h. Referenced by designer(), and projectClosed(). |
|
Definition at line 210 of file cppsupportpart.h. Referenced by CppSupportPart(), maybeParse(), projectOpened(), slotParseFiles(), updateParserConfiguration(), and ~CppSupportPart(). |
|
Definition at line 203 of file cppsupportpart.h. Referenced by projectOpened(). |
|
Definition at line 218 of file cppsupportpart.h. Referenced by activePartChanged(), CppSupportPart(), and slotFunctionHint(). |
|
Definition at line 111 of file cppsupportpart.cpp. Referenced by isHeader(). |
|
Definition at line 108 of file cppsupportpart.cpp. Referenced by isHeader(). |
|
Definition at line 185 of file cppsupportpart.h. Referenced by CppSupportPart(), projectClosed(), projectOpened(), slotCompleteText(), and ~CppSupportPart(). |
|
Definition at line 186 of file cppsupportpart.h. Referenced by CppSupportPart(), and projectClosed(). |
|
Definition at line 191 of file cppsupportpart.h. Referenced by CppSupportPart(), customEvent(), projectOpened(), and ~CppSupportPart(). |
|
Definition at line 204 of file cppsupportpart.h. Referenced by projectClosed(), projectOpened(), and slotParseFiles(). |
|
Definition at line 211 of file cppsupportpart.h. Referenced by addedFilesToProject(), changedFilesInProject(), modifiedFileList(), parseProject(), projectOpened(), removedFilesFromProject(), and savedFile(). |
|
Definition at line 212 of file cppsupportpart.h. Referenced by addedFilesToProject(), contextMenu(), projectOpened(), removedFilesFromProject(), and savedFile(). |
|
Definition at line 110 of file cppsupportpart.cpp. Referenced by isSource(). |
|
Definition at line 107 of file cppsupportpart.cpp. Referenced by isSource(). |
|
Definition at line 206 of file cppsupportpart.h. Referenced by maybeParse(), modifiedFileList(), projectOpened(), removeWithReferences(), saveProjectSourceInfo(), and slotParseFiles(). |
|
Definition at line 207 of file cppsupportpart.h. Referenced by initialParse(). |
|
Definition at line 188 of file cppsupportpart.h. Referenced by CppSupportPart(). |
The documentation for this class was generated from the following files:
- languages/cpp/cppsupportpart.h
- languages/cpp/cppsupportpart.cpp