| 47 | {} |
| 48 | |
| 49 | QList<KDevFileItem*> KDevCategoryItem::fileList() const |
| 50 | { |
| 51 | QList<KDevFileItem*> lst; |
| 52 | |
| 53 | for ( int i = 0; i < rowCount(); ++i ) |
| 54 | { |
| 55 | if (KDevFileItem* item = static_cast<KDevDocumentItem*>(child(i))->fileItem()) |
| 56 | lst.append( item ); |
| 57 | } |
| 58 | |
| 59 | return lst; |
| 60 | } |
| 61 | |
| 62 | KDevFileItem* KDevCategoryItem::file( const QUrl &url ) const |
| 63 | { |