MCPcopy Create free account
hub / github.com/KDE/kdevelop / depEdited

Method depEdited

kdevplatform/project/widgets/dependencieswidget.cpp:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void 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
60void DependenciesWidget::checkActions( const QItemSelection& selected, const QItemSelection& unselected )
61{

Callers

nothing calls this directly

Calls 3

setEnabledMethod · 0.45
isEmptyMethod · 0.45
validateMethod · 0.45

Tested by

no test coverage detected