Revision 889444

Go back to digest for 30th November 2008

Features in Development Tools

David Nolden committed changes in /trunk/KDE/kdevelop/plugins/languages/cpp:

Implement full support for use-building on signal/slot connections.
This is embedded directly into the parser using a new AST node, which also allows complete use-building on the signal/slot arguments.

This means that:
- You can search for all places where a signal/slot is connected
- You can rename signals/slots, and all the connections will be adapted
- You can rename a class that is used as an argument in some signal/slot function, and the connections will be adapted as well

Includes a test.

Of course, this only works when the signals/slots have actually been declared.

File Changes

Modified 24 files
  • /trunk/KDE/kdevelop/plugins/languages/cpp
  •   /codecompletioncontext.cpp
  •   /setuphelpers.cpp
  •   /cppduchain/cppduchain.cpp
  •   /cppduchain/cppduchain.h
  •   /cppduchain/cppeditorintegrator.cpp
  •   /cppduchain/dumpchain.cpp
  •   /cppduchain/expressionvisitor.cpp
  •   /cppduchain/expressionvisitor.h
  •   /cppduchain/name_visitor.cpp
  •   /cppduchain/name_visitor.h
  •   /cppduchain/usebuilder.cpp
  •   /parser/ast.h
  •   /parser/default_visitor.cpp
  •   /parser/default_visitor.h
  •   /parser/dumptree.cpp
  •   /parser/lexer.cpp
  •   /parser/parser.cpp
  •   /parser/parser.h
  •   /parser/parsesession.h
  •   /parser/tokens.h
  •   /parser/visitor.cpp
  •   /parser/visitor.h
  •   /cppduchain/tests/test_duchain.cpp
  •   /cppduchain/tests/test_duchain.h
24 files changed in total