11#ifndef KDGANTTCONSTRAINTMODEL_H
12#define KDGANTTCONSTRAINTMODEL_H
34 virtual void addConstraint(
const Constraint &c);
35 virtual bool removeConstraint(
const Constraint &c);
56inline const ConstraintModel::Private *ConstraintModel::d_func()
const
60inline ConstraintModel::Private *ConstraintModel::d_func()
70#ifndef QT_NO_DEBUG_STREAM
The ConstraintModel keeps track of the interdependencies between gantt items in a View.
bool hasConstraint(const Constraint &c) const
Returns true if a Constraint with start s and end e exists, otherwise false.
void constraintRemoved(const KDGantt::Constraint &)
void constraintAdded(const KDGantt::Constraint &)
A class used to represent a dependency.
QDebug KDGANTT_EXPORT operator<<(QDebug dbg, const KDGantt::ConstraintModel &model)
#define KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)
T qobject_cast(QObject *object)