| 493 | } |
| 494 | |
| 495 | Session* SessionController::session( const QString& nameOrId ) const |
| 496 | { |
| 497 | Q_D(const SessionController); |
| 498 | |
| 499 | Session* ret = d->findSessionForName( nameOrId ); |
| 500 | if(ret) |
| 501 | return ret; |
| 502 | |
| 503 | return d->findSessionForId( nameOrId ); |
| 504 | } |
| 505 | |
| 506 | QString SessionController::cloneSession( const QString& nameOrid ) |
| 507 | { |