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() );
std::string toStdString() const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const
void push_back(const T &value)
bool removeRow(int row, const QModelIndex &parent)
void constraintAdded(const Constraint &)
const_iterator insert(const T &value)
void addConstraintToIndex(const QModelIndex &idx, const Constraint &c)
Definition: kdganttconstraintmodel.cpp:46
bool isValid() const
KDAB_SCOPED_UNITTEST_SIMPLE(KDGantt, ConstraintModel,"test")
Definition: kdganttconstraintmodel.cpp:239
QDebug operator<<(QDebug dbg, const KDGantt::ConstraintModel &model)
Definition: kdganttconstraintmodel.cpp:210
const char * constData() const
QList< Constraint > constraints() const
Definition: kdganttconstraintmodel.cpp:163
virtual ~ConstraintModel()
Definition: kdganttconstraintmodel.cpp:86
ConstraintModel(QObject *parent=0)
Definition: kdganttconstraintmodel.cpp:72
QByteArray toLatin1() const
const QAbstractItemModel * model() const
void removeConstraintFromIndex(const QModelIndex &idx, const Constraint &c)
Definition: kdganttconstraintmodel.cpp:58
QList< T > toList() const
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
QObject * parent() const
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.