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
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
const char * constData() const const
void push_back(parameter_type value)
bool isValid() const const
QObject(QObject *parent)
Q_EMITQ_EMIT
QObject * parent() const const
iterator insert(const T &value)
QSet< T > & subtract(const QSet< T > &other)
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-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:31 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:31 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.