kdgantt2
kdganttconstraintmodel.cpp
Go to the documentation of this file.
46 void ConstraintModel::Private::addConstraintToIndex( const QModelIndex& idx, const Constraint& c )
58 void ConstraintModel::Private::removeConstraintFromIndex( const QModelIndex& idx, const Constraint& c )
174 assert( !idx.isValid() || d->indexMap.isEmpty() || !d->indexMap.keys().front().model() || idx.model() == d->indexMap.keys().front().model() );
void constraintAdded(const Constraint &)
void addConstraintToIndex(const QModelIndex &idx, const Constraint &c)
Definition: kdganttconstraintmodel.cpp:46
KDAB_SCOPED_UNITTEST_SIMPLE(KDGantt, ConstraintModel,"test")
Definition: kdganttconstraintmodel.cpp:239
QDebug operator<<(QDebug dbg, const KDGantt::ConstraintModel &model)
Definition: kdganttconstraintmodel.cpp:210
QList< Constraint > constraints() const
Definition: kdganttconstraintmodel.cpp:163
virtual ~ConstraintModel()
Definition: kdganttconstraintmodel.cpp:86
ConstraintModel(QObject *parent=0)
Definition: kdganttconstraintmodel.cpp:72
void removeConstraintFromIndex(const QModelIndex &idx, const Constraint &c)
Definition: kdganttconstraintmodel.cpp:58
void addConstraint(const Constraint &c)
Definition: kdganttconstraintmodel.cpp:101
bool hasConstraint(const Constraint &c) const
Definition: kdganttconstraintmodel.cpp:196
bool removeConstraint(const Constraint &c)
Definition: kdganttconstraintmodel.cpp:122
void constraintRemoved(const Constraint &)
QList< Constraint > constraintsForIndex(const QModelIndex &) const
Definition: kdganttconstraintmodel.cpp:172
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.