| 933 | } |
| 934 | |
| 935 | bool |
| 936 | NodeCollection::checkIfNodeNameExists(const std::string & n, |
| 937 | const Node* caller) const |
| 938 | { |
| 939 | QMutexLocker k(&_imp->nodesMutex); |
| 940 | |
| 941 | for (NodesList::const_iterator it = _imp->nodes.begin(); it != _imp->nodes.end(); ++it) { |
| 942 | if ( (it->get() != caller) && (*it)->isActivated() && ( (*it)->getScriptName_mt_safe() == n ) ) { |
| 943 | return true; |
| 944 | } |
| 945 | } |
| 946 | |
| 947 | return false; |
| 948 | } |
| 949 | |
| 950 | static void |
| 951 | recomputeFrameRangeForAllReadersInternal(NodeCollection* group, |
no test coverage detected