23 #ifndef KDGANTTCONSTRAINT_H 24 #define KDGANTTCONSTRAINT_H 27 #include <QModelIndex> 29 #include <QSharedDataPointer> 33 #ifndef QT_NO_DEBUG_STREAM 56 ValidConstraintPen = Qt::UserRole,
64 const QModelIndex& idx2,
67 const DataMap& datamap=DataMap() );
73 QModelIndex startIndex()
const;
74 QModelIndex endIndex()
const;
76 void setData(
int role,
const QVariant& value );
77 QVariant data(
int role )
const;
82 bool compareIndexes(
const Constraint& other)
const;
92 #ifndef QT_NO_DEBUG_STREAM 93 QDebug debug( QDebug dbg)
const;
97 QSharedDataPointer<Private>
d;
103 #ifndef QT_NO_DEBUG_STREAM bool operator==(const Span &s1, const Span &s2)
QDebug KDGANTT_EXPORT operator<<(QDebug dbg, const KDGantt::Constraint &c)
A class used to represent a dependency.
bool operator!=(const Constraint &other) const
uint qHash(const Constraint &c)
QMap< int, QVariant > DataMap