Mercurial > projects > qtd
comparison generator/generator.cpp @ 148:ae34188ddd84
private signals of QAbstractItemModel are now accessible
author | eldar |
---|---|
date | Sat, 13 Jun 2009 14:05:32 +0000 |
parents | cf8a415f3f32 |
children | 073b9153ed8a |
comparison
equal
deleted
inserted
replaced
147:4b423949c893 | 148:ae34188ddd84 |
---|---|
205 foreach (AbstractMetaFunction *f, cls->functions()) | 205 foreach (AbstractMetaFunction *f, cls->functions()) |
206 { | 206 { |
207 if (!f->isSignal() | 207 if (!f->isSignal() |
208 || cls != f->implementingClass() | 208 || cls != f->implementingClass() |
209 || notWrappedYet(f) | 209 || notWrappedYet(f) |
210 || f->isPrivate() | 210 // qtd2 || f->isPrivate() // we want private signals to be accessible as well |
211 || f->isModifiedRemoved(TypeSystem::TargetLangCode)) | 211 || f->isModifiedRemoved(TypeSystem::TargetLangCode)) |
212 continue; | 212 continue; |
213 | 213 |
214 r.append(f); | 214 r.append(f); |
215 } | 215 } |