| 43 | } |
| 44 | |
| 45 | bool IdentifierNode::getIcon(QIcon& a_resultIcon) |
| 46 | { |
| 47 | DUChainReadLocker readLock(DUChain::lock()); |
| 48 | |
| 49 | Declaration* decl = declaration(); |
| 50 | if (decl) |
| 51 | a_resultIcon = DUChainUtils::iconForDeclaration(decl); |
| 52 | |
| 53 | return !a_resultIcon.isNull(); |
| 54 | } |
| 55 | |
| 56 | ////////////////////////////////////////////////////////////////////////////// |
| 57 | ////////////////////////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected