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 |
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 QString &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 | 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 () |
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 |
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 |
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" ) |
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 52 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 769 of file cppsupportpart.cpp. References addAttribute(), main(), and KDevPlugin::mainWindow(). Referenced by addAttribute(). |
|
Definition at line 1572 of file cppsupportpart.cpp. References addCatalog(), KDevPlugin::codeRepository(), m_catalogList, and KDevCodeRepository::registerCatalog(). Referenced by addCatalog(), and CreatePCSDialog::slotSelected(). |
|
Opens a "New class" dialog and adds the configured class to the sources.
Reimplemented from KDevLanguageSupport. Definition at line 1346 of file cppsupportpart.cpp. References slotNewClass(). |
|
Definition at line 593 of file cppsupportpart.cpp. References addedFilesToProject(), KDevProject::allFiles(), URLUtil::canonicalPath(), m_projectDirectory, m_projectFileList, maybeParse(), KDevPlugin::project(), and reorder(). Referenced by addedFilesToProject(), and projectOpened(). |
|
Opens an "Add method" dialog and adds the configured method to the sources.
Reimplemented from KDevLanguageSupport. Definition at line 758 of file cppsupportpart.cpp. References addMethod(), main(), and KDevPlugin::mainWindow(). Referenced by addMethod(). |
|
Definition at line 66 of file cppsupportpart.h. References m_backgroundParser. Referenced by AddMethodDialog::accept(), and AddAttributeDialog::accept(). |
|
Definition at line 70 of file cppsupportpart.h. References m_catalogList. |
|
Definition at line 620 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), changedFilesInProject(), m_projectDirectory, maybeParse(), and reorder(). Referenced by changedFilesInProject(), and projectOpened(). |
|
Definition at line 67 of file cppsupportpart.h. References m_pCompletion. |
|
Definition at line 68 of file cppsupportpart.h. References m_pCompletionConfig. Referenced by CCConfigWidget::initCodeCompletionTab(), and CCConfigWidget::saveCodeCompletionTab(). |
|
Definition at line 1276 of file cppsupportpart.cpp. References KDevPlugin::partController(), and KParts::PartManager::setActivePart(). Referenced by CppSupportPart(). |
|
Referenced by pcsVersion(), and setPcsVersion(). |
|
Definition at line 303 of file cppsupportpart.cpp. References KDialogBase::addVBoxPage(), and configWidget(). Referenced by configWidget(), CppSupportPart(), and projectOpened(). |
|
|
Definition at line 1684 of file cppsupportpart.cpp. References KDevPlugin::project(), KDevProject::projectDirectory(), and KDevProject::projectName(). Referenced by parseProject(), and saveProjectSourceInfo(). |
|
Definition at line 1587 of file cppsupportpart.cpp. References KTextEditor::ViewCursorInterface::cursorPositionReal(), functionDefinitionAt(), FunctionDefinitionDom, and m_activeViewCursor. Referenced by slotFunctionHint(). |
|
Definition at line 263 of file cppsupportpart.cpp. References customEvent(), endl(), Event_FileParsed, fileParsed(), kdDebug(), Problem::level(), m_problemReporter, and recomputeCodeModel(). Referenced by customEvent(). |
|
Definition at line 1504 of file cppsupportpart.cpp. References fileParsed(), and m_activeFileName. |
|
Definition at line 1399 of file cppsupportpart.cpp. References extractInterface(), and formatModelItem(). Referenced by extractInterface(), and 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 733 of file cppsupportpart.cpp. References withcpp. |
|
Referenced by customEvent(), and emitFileParsed(). |
|
Definition at line 1145 of file cppsupportpart.cpp. References findDocument(), KDevPlugin::partController(), KParts::PartManager::parts(), and KParts::ReadOnlyPart::url(). Referenced by findDocument(). |
|
Definition at line 436 of file cppsupportpart.cpp. References findHeader(). Referenced by contextMenu(), and findHeader(). |
|
Definition at line 647 of file cppsupportpart.cpp. References endl(), kdDebug(), and m_activeFileName. Referenced by 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 742 of file cppsupportpart.cpp. References formatClassName(). Referenced by formatClassName(). |
|
Formats a CodeModelItem as used by the CodeModel to the human-readable convention.
Reimplemented from KDevLanguageSupport. Definition at line 1303 of file cppsupportpart.cpp. References FunctionModel::argumentList(), ArgumentList, ArgumentModel::defaultValue(), 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(), formatModelItem(), and slotFunctionHint(). |
|
Formats a Tag as used by the class store to the human-readable convention.
Reimplemented from KDevLanguageSupport. Definition at line 1245 of file cppsupportpart.cpp. References CppFunction< Tag >::arguments(), formatTag(), Tag::kind(), CppVariable< Tag >::name(), CppFunction< Tag >::name(), Tag::name(), CppVariable< Tag >::type(), and CppFunction< Tag >::type(). Referenced by formatTag(). |
|
Definition at line 1642 of file cppsupportpart.cpp. References functionDefinitionAt(), and FunctionDefinitionDom. |
|
Definition at line 1623 of file cppsupportpart.cpp. References functionDefinitionAt(), and FunctionDefinitionDom. |
|
Definition at line 1597 of file cppsupportpart.cpp. References ClassList, functionDefinitionAt(), FunctionDefinitionDom, NamespaceDom, and NamespaceList. |
|
Definition at line 1578 of file cppsupportpart.cpp. References KDevPlugin::codeModel(), file, CodeModel::fileByName(), functionDefinitionAt(), FunctionDefinitionDom, CodeModel::hasFile(), and m_activeFileName. Referenced by currentFunctionDefinition(), and functionDefinitionAt(). |
|
Definition at line 1527 of file cppsupportpart.cpp. References KDevPartController::editDocument(), gotoDeclarationLine(), isHeader(), m_activeFileName, m_activeViewCursor, KDevPlugin::partController(), KTextEditor::ViewCursorInterface::setCursorPositionReal(), KURL::setPath(), and sourceOrHeaderCandidate(). Referenced by contextMenu(), and gotoDeclarationLine(). |
|
Definition at line 1472 of file cppsupportpart.cpp. References KDevPartController::editDocument(), gotoLine(), isHeader(), m_activeFileName, m_activeViewCursor, KDevPlugin::partController(), KTextEditor::ViewCursorInterface::setCursorPositionReal(), KURL::setPath(), and sourceOrHeaderCandidate(). Referenced by contextMenu(), and gotoLine(). |
|
loads, parses and creates both classstores needed
Definition at line 790 of file cppsupportpart.cpp. References endl(), kdDebug(), m_valid, parseProject(), KDevPlugin::project(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by projectOpened(). |
|
Definition at line 1509 of file cppsupportpart.cpp. References isHeader(), m_headerExtensions, and m_headerMimeTypes. Referenced by activePartChanged(), contextMenu(), gotoDeclarationLine(), gotoLine(), isHeader(), isValidSource(), and modifiedFileList(). |
|
Definition at line 1518 of file cppsupportpart.cpp. References isSource(), m_sourceExtensions, and m_sourceMimeTypes. Referenced by activePartChanged(), contextMenu(), isSource(), isValidSource(), and modifiedFileList(). |
|
Definition at line 60 of file cppsupportpart.h. References m_valid. Referenced by problemReporter(). |
|
Definition at line 1293 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), isHeader(), KDevProject::isProjectFile(), isSource(), isValidSource(), and KDevPlugin::project(). Referenced by isValidSource(), maybeParse(), parseProject(), and partRemoved(). |
|
checks if a file has to be parsed
Definition at line 940 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), isValidSource(), m_driver, m_timestamp, maybeParse(), Driver::parseFile(), and removeWithReferences(). Referenced by addedFilesToProject(), changedFilesInProject(), maybeParse(), and savedFile(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 1214 of file cppsupportpart.cpp. References KMimeType::List, m_headerMimeTypes, m_sourceMimeTypes, and KMimeType::Ptr. |
|
Definition at line 1117 of file cppsupportpart.cpp. References URLUtil::canonicalPath(), isHeader(), isSource(), m_projectDirectory, m_projectFileList, and m_timestamp. Referenced by parseProject(). |
|
only parses the current project
Definition at line 825 of file cppsupportpart.cpp. References CodeModel::addFile(), URLUtil::canonicalPath(), KDevPlugin::codeModel(), CodeModel::create(), createIgnorePCSFile(), endl(), file, isValidSource(), kdDebug(), KDEV_PCS_VERSION, m_driver, m_projectClosed, m_projectDirectory, m_timestamp, KDevPlugin::mainWindow(), modifiedFileList(), Driver::parseFile(), parseProject(), KDevPlugin::project(), KDevProject::projectDirectory(), KDevProject::projectName(), reorder(), KDevMainWindow::statusBar(), toTime_t(), and KDevLanguageSupport::updatedSourceInfo(). Referenced by initialParse(), parseProject(), slotProjectCompiled(), and updateParserConfiguration(). |
|
Definition at line 1095 of file cppsupportpart.cpp. References BackgroundParser::addFile(), URLUtil::canonicalPath(), endl(), isValidSource(), kdDebug(), m_backgroundParser, partRemoved(), KURL::path(), BackgroundParser::removeFile(), and KParts::ReadOnlyPart::url(). Referenced by CppSupportPart(), and partRemoved(). |
|
Definition at line 1230 of file cppsupportpart.cpp. References config(), and KConfigBase::readNumEntry(). Referenced by setupCatalog(). |
|
Definition at line 65 of file cppsupportpart.h. References isValid(), and m_problemReporter. Referenced by CppDriver::fileParsed(). |
|
Definition at line 412 of file cppsupportpart.cpp. References KDevPlugin::codeRepository(), GCatalog< Tag >::dbName(), GCatalog< Tag >::enabled(), endl(), kdDebug(), m_pCompletion, m_pCompletionConfig, m_projectClosed, KDevPlugin::project(), KDevPlugin::projectDom(), KDevCodeRepository::registeredCatalogs(), saveProjectSourceInfo(), and CppCodeCompletionConfig::store(). Referenced by CppSupportPart(), and ~CppSupportPart(). |
|
Definition at line 294 of file cppsupportpart.cpp. References KDialogBase::addVBoxPage(), and projectConfigWidget(). Referenced by CppSupportPart(), and projectConfigWidget(). |
|
|
Definition at line 1484 of file cppsupportpart.cpp. References CodeModel::addFile(), KDevPlugin::codeModel(), StoreWalker::file(), file, CodeModel::fileByName(), CodeModel::hasFile(), BackgroundParser::lock(), m_backgroundParser, StoreWalker::parseTranslationUnit(), recomputeCodeModel(), removeWithReferences(), BackgroundParser::translationUnit(), and BackgroundParser::unlock(). Referenced by customEvent(), and recomputeCodeModel(). |
|
Definition at line 1539 of file cppsupportpart.cpp. References KDevPlugin::codeRepository(), endl(), kdDebug(), m_catalogList, KDevCodeRepository::registeredCatalogs(), removeCatalog(), and KDevCodeRepository::unregisterCatalog(). Referenced by removeCatalog(), and CreatePCSDialog::slotSelected(). |
|
Definition at line 607 of file cppsupportpart.cpp. References KDevProject::allFiles(), URLUtil::canonicalPath(), endl(), kdDebug(), m_backgroundParser, m_projectDirectory, m_projectFileList, KDevPlugin::project(), removedFilesFromProject(), BackgroundParser::removeFile(), and removeWithReferences(). Referenced by projectOpened(), and removedFilesFromProject(). |
|
Definition at line 1281 of file cppsupportpart.cpp. References KDevPlugin::codeModel(), endl(), CodeModel::hasFile(), kdDebug(), m_timestamp, CodeModel::removeFile(), and removeWithReferences(). Referenced by CppDriver::fileParsed(), maybeParse(), recomputeCodeModel(), removedFilesFromProject(), and removeWithReferences(). |
|
Definition at line 575 of file cppsupportpart.cpp. References reorder(). Referenced by addedFilesToProject(), changedFilesInProject(), parseProject(), and reorder(). |
|
Definition at line 633 of file cppsupportpart.cpp. References endl(), kdDebug(), m_projectDirectory, m_projectFileList, maybeParse(), and savedFile(). Referenced by CppSupportPart(), and savedFile(). |
|
Definition at line 1351 of file cppsupportpart.cpp. References KDevPlugin::codeModel(), createIgnorePCSFile(), CodeModel::fileList(), FileList, KDEV_PCS_VERSION, m_timestamp, KDevPlugin::project(), KDevProject::projectDirectory(), KDevProject::projectName(), and toTime_t(). Referenced by projectClosed(). |
|
Definition at line 1237 of file cppsupportpart.cpp. References config(), setPcsVersion(), KConfigBase::sync(), and KConfigBase::writeEntry(). Referenced by setPcsVersion(), and setupCatalog(). |
|
Definition at line 1162 of file cppsupportpart.cpp. References GCatalog< Tag >::addIndex(), KDevPlugin::codeRepository(), endl(), KStandardDirs::findAllResources(), kdDebug(), KDEV_DB_VERSION, m_catalogList, GCatalog< Tag >::open(), pcsVersion(), KDevPlugin::project(), KDevPlugin::projectDom(), KDevCodeRepository::registerCatalog(), GCatalog< Tag >::setEnabled(), and setPcsVersion(). Referenced by projectOpened(). |
|
Definition at line 780 of file cppsupportpart.cpp. References CppCodeCompletion::completeText(), and m_pCompletion. Referenced by CppSupportPart(). |
|
Definition at line 1662 of file cppsupportpart.cpp. References m_functionHintTimer. Referenced by activePartChanged(). |
|
Definition at line 1440 of file cppsupportpart.cpp. References KDevProject::addFile(), extractInterface(), m_activeClass, main(), KDevPlugin::mainWindow(), KDevPlugin::project(), and text(). Referenced by contextMenu(). |
|
Definition at line 1667 of file cppsupportpart.cpp. References currentFunctionDefinition(), endl(), formatModelItem(), kdDebug(), m_functionHintTimer, KDevPlugin::mainWindow(), and KDevMainWindow::statusBar(). Referenced by CppSupportPart(). |
|
Definition at line 726 of file cppsupportpart.cpp. References KDevPartController::editDocument(), m_contextFileName, and KDevPlugin::partController(). Referenced by contextMenu(). |
|
|
Definition at line 963 of file cppsupportpart.cpp. References findNodeAt(), BackgroundParser::lock(), m_activeEditor, m_activeFileName, m_backgroundParser, NodeType_FunctionDefinition, slotNeedTextHint(), KTextEditor::EditInterface::textLine(), BackgroundParser::translationUnit(), and BackgroundParser::unlock(). Referenced by activePartChanged(), and slotNeedTextHint(). |
|
Definition at line 752 of file cppsupportpart.cpp. Referenced by addClass(), and CppSupportPart(). |
|
Definition at line 1111 of file cppsupportpart.cpp. References endl(), kdDebug(), and parseProject(). Referenced by projectOpened(). |
|
Definition at line 721 of file cppsupportpart.cpp. References KDevPartController::editDocument(), KDevPlugin::partController(), and sourceOrHeaderCandidate(). Referenced by contextMenu(), and CppSupportPart(). |
|
Definition at line 679 of file cppsupportpart.cpp. References KParts::PartManager::activePart(), endl(), kdDebug(), KDevPlugin::partController(), KURL::path(), and KParts::ReadOnlyPart::url(). Referenced by contextMenu(), gotoDeclarationLine(), gotoLine(), and slotSwitchHeader(). |
|
Definition at line 1697 of file cppsupportpart.cpp. References locate(), locateLocal(), and specialHeaderName(). Referenced by projectOpened(), specialHeaderName(), 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 1079 of file cppsupportpart.cpp. References subclassWidget(). Referenced by subclassWidget(). |
|
The opposite of formatClassName().
Reimplemented from KDevLanguageSupport. Definition at line 747 of file cppsupportpart.cpp. References unformatClassName(). Referenced by unformatClassName(). |
|
Definition at line 1705 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 1087 of file cppsupportpart.cpp. References updateWidget(). Referenced by updateWidget(). |
Member Data Documentation
|
Definition at line 198 of file cppsupportpart.h. Referenced by contextMenu(), and slotExtractInterface(). |
|
Definition at line 180 of file cppsupportpart.h. Referenced by activePartChanged(). |
|
Definition at line 183 of file cppsupportpart.h. Referenced by activePartChanged(), slotMakeMember(), and slotNeedTextHint(). |
|
Definition at line 185 of file cppsupportpart.h. Referenced by activePartChanged(), contextMenu(), emitFileParsed(), findSourceFile(), functionDefinitionAt(), gotoDeclarationLine(), gotoLine(), slotMakeMember(), and slotNeedTextHint(). |
|
Definition at line 199 of file cppsupportpart.h. Referenced by contextMenu(). |
|
Definition at line 182 of file cppsupportpart.h. Referenced by activePartChanged(). |
|
Definition at line 200 of file cppsupportpart.h. Referenced by contextMenu(). |
|
Definition at line 181 of file cppsupportpart.h. Referenced by activePartChanged(). |
|
Definition at line 184 of file cppsupportpart.h. Referenced by activePartChanged(), currentFunctionDefinition(), gotoDeclarationLine(), gotoLine(), and slotMakeMember(). |
|
Definition at line 178 of file cppsupportpart.h. Referenced by backgroundParser(), partRemoved(), projectOpened(), recomputeCodeModel(), removedFilesFromProject(), slotMakeMember(), slotNeedTextHint(), updateParserConfiguration(), and ~CppSupportPart(). |
|
Definition at line 193 of file cppsupportpart.h. Referenced by addCatalog(), catalogList(), CppSupportPart(), removeCatalog(), setupCatalog(), and ~CppSupportPart(). |
|
Definition at line 175 of file cppsupportpart.h. Referenced by contextMenu(), and slotGotoIncludeFile(). |
|
Definition at line 194 of file cppsupportpart.h. Referenced by CppSupportPart(), maybeParse(), parseProject(), projectOpened(), updateParserConfiguration(), and ~CppSupportPart(). |
|
Definition at line 187 of file cppsupportpart.h. Referenced by projectOpened(). |
|
Definition at line 202 of file cppsupportpart.h. Referenced by activePartChanged(), CppSupportPart(), slotCursorPositionChanged(), and slotFunctionHint(). |
|
Definition at line 106 of file cppsupportpart.cpp. Referenced by isHeader(). |
|
Definition at line 103 of file cppsupportpart.cpp. Referenced by isHeader(), and mimeTypes(). |
|
Definition at line 171 of file cppsupportpart.h. Referenced by codeCompletion(), CppSupportPart(), projectClosed(), projectOpened(), slotCompleteText(), and ~CppSupportPart(). |
|
Definition at line 172 of file cppsupportpart.h. Referenced by codeCompletionConfig(), CppSupportPart(), and projectClosed(). |
|
Definition at line 177 of file cppsupportpart.h. Referenced by CppSupportPart(), customEvent(), problemReporter(), projectOpened(), and ~CppSupportPart(). |
|
Definition at line 188 of file cppsupportpart.h. Referenced by parseProject(), projectClosed(), and projectOpened(). |
|
Definition at line 195 of file cppsupportpart.h. Referenced by addedFilesToProject(), changedFilesInProject(), modifiedFileList(), parseProject(), projectOpened(), removedFilesFromProject(), and savedFile(). |
|
Definition at line 196 of file cppsupportpart.h. Referenced by addedFilesToProject(), contextMenu(), modifiedFileList(), projectOpened(), removedFilesFromProject(), and savedFile(). |
|
Definition at line 105 of file cppsupportpart.cpp. Referenced by isSource(). |
|
Definition at line 102 of file cppsupportpart.cpp. Referenced by isSource(), and mimeTypes(). |
|
Definition at line 190 of file cppsupportpart.h. Referenced by maybeParse(), modifiedFileList(), parseProject(), projectOpened(), removeWithReferences(), and saveProjectSourceInfo(). |
|
Definition at line 191 of file cppsupportpart.h. Referenced by initialParse(), isValid(), and slotMakeMember(). |
|
Definition at line 174 of file cppsupportpart.h. Referenced by CppSupportPart(), and features(). |
The documentation for this class was generated from the following files:
- languages/cpp/cppsupportpart.h
- languages/cpp/cppsupportpart.cpp