MCPcopy Create free account
hub / github.com/KDAB/KDChart / connectSignals

Method connectSignals

src/KDChart/KDChartModelDataCache_p.cpp:27–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void ModelSignalMapperConnector::connectSignals(QAbstractItemModel *model)
28{
29 connect(model, SIGNAL(destroyed()), this, SLOT(resetModel()));
30 connect(model, SIGNAL(columnsInserted(QModelIndex, int, int)), this, SLOT(columnsInserted(QModelIndex, int, int)));
31 connect(model, SIGNAL(columnsRemoved(QModelIndex, int, int)), this, SLOT(columnsRemoved(QModelIndex, int, int)));
32 connect(model, SIGNAL(dataChanged(QModelIndex, QModelIndex)), this, SLOT(dataChanged(QModelIndex, QModelIndex)));
33 connect(model, SIGNAL(layoutChanged()), this, SLOT(layoutChanged()));
34 connect(model, SIGNAL(modelReset()), this, SLOT(modelReset()));
35 connect(model, SIGNAL(rowsInserted(QModelIndex, int, int)), this, SLOT(rowsInserted(QModelIndex, int, int)));
36 connect(model, SIGNAL(rowsRemoved(QModelIndex, int, int)), this, SLOT(rowsRemoved(QModelIndex, int, int)));
37}
38
39void ModelSignalMapperConnector::disconnectSignals(QAbstractItemModel *model)
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected