| 91 | {} |
| 92 | |
| 93 | QList<KDevCategoryItem*> KDevDocumentModel::categoryList() const |
| 94 | { |
| 95 | QList<KDevCategoryItem*> lst; |
| 96 | for ( int i = 0; i < rowCount() ; ++i ) |
| 97 | { |
| 98 | if (KDevCategoryItem* categoryitem = static_cast<KDevDocumentItem*>(item(i))->categoryItem()) { |
| 99 | lst.append( categoryitem ); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | return lst; |
| 104 | } |
| 105 | |
| 106 | KDevCategoryItem* KDevDocumentModel::category( const QString& category ) const |
| 107 | { |
no test coverage detected