MCPcopy Create free account
hub / github.com/KDAB/codebrowser / QtSupport

Class QtSupport

generator/qtsupport.h:38–48  ·  view source on GitHub ↗

* Handle the SIGNAL and SLOT macro within calls to QObject::connect or the like * * Recognize calls to QObject::connect, QObject::disconnect, QTimer::singleShot */

Source from the content-addressed store, hash-verified

36 * Recognize calls to QObject::connect, QObject::disconnect, QTimer::singleShot
37 */
38struct QtSupport {
39 Annotator &annotator;
40 clang::NamedDecl *currentContext;
41
42 void visitCallExpr(clang::CallExpr *e);
43 void visitCXXConstructExpr(clang::CXXConstructExpr* e);
44
45private:
46 void handleSignalOrSlot(clang::Expr *obj, clang::Expr *method);
47 void handleInvokeMethod(clang::Expr *obj, clang::Expr *method);
48};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected