| 339 | } |
| 340 | |
| 341 | void ProjectBaseItem::setText( const QString& text ) |
| 342 | { |
| 343 | Q_ASSERT(!text.isEmpty() || !parent()); |
| 344 | Q_D(ProjectBaseItem); |
| 345 | d->text = text; |
| 346 | if( d->model ) { |
| 347 | QModelIndex idx = index(); |
| 348 | emit d->model->dataChanged(idx, idx); |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | ProjectBaseItem::RenameStatus ProjectBaseItem::rename(const QString& newName) |
| 353 | { |
no test coverage detected