| 49 | } |
| 50 | |
| 51 | void DependenciesWidget::depEdited( const QString& str ) |
| 52 | { |
| 53 | int pos; |
| 54 | QString tmp = str; |
| 55 | m_ui->addDependency->setEnabled( !str.isEmpty() |
| 56 | && ( !m_ui->targetDependency->validator() |
| 57 | || m_ui->targetDependency->validator()->validate( tmp, pos ) == QValidator::Acceptable ) ); |
| 58 | } |
| 59 | |
| 60 | void DependenciesWidget::checkActions( const QItemSelection& selected, const QItemSelection& unselected ) |
| 61 | { |
nothing calls this directly
no test coverage detected