KGantt
kganttconstraintmodel.cpp
25void ConstraintModel::Private::addConstraintToIndex( const QModelIndex& idx, const Constraint& c )
37void ConstraintModel::Private::removeConstraintFromIndex( const QModelIndex& idx, const Constraint& c )
91 //qDebug() << "ConstraintModel::addConstraint("<<c<<") (this="<<this<<") items=" << d->constraints.size();
101 } else if ( ( *it ).dataMap() != c.dataMap() || ( *it ).type() != c.type() || ( *it ).relationType() != c.relationType() ) {
virtual void addConstraint(const Constraint &c)
Definition kganttconstraintmodel.cpp:89
~ConstraintModel() override
Definition kganttconstraintmodel.cpp:64
QList< Constraint > constraintsForIndex(const QModelIndex &) const
Definition kganttconstraintmodel.cpp:159
QList< Constraint > constraints() const
Definition kganttconstraintmodel.cpp:153
ConstraintModel(QObject *parent=nullptr)
Definition kganttconstraintmodel.cpp:50
bool hasConstraint(const Constraint &c) const
Definition kganttconstraintmodel.cpp:182
virtual bool removeConstraint(const Constraint &c)
Definition kganttconstraintmodel.cpp:111
A class used to represent a dependency.
QDebug operator<<(QDebug dbg, const PerceptualColor::MultiSpinBoxSection &value)
const char * constData() const const
void push_back(parameter_type value)
bool isValid() const const
Q_EMITQ_EMIT
iterator insert(const T &value)
QList< T > values() const const
QByteArray toLatin1() const const
std::string toStdString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:26 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.