2024-01-16 09:31:24 +00:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-21 13:35:44 +00:00
|
|
|
#include <QAbstractItemModel>
|
2024-01-16 09:31:24 +00:00
|
|
|
#include <QSignalSpy>
|
|
|
|
|
|
|
|
class ModelSignalsSpy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit ModelSignalsSpy(QAbstractItemModel* model);
|
|
|
|
|
|
|
|
const QSignalSpy columnsAboutToBeInsertedSpy;
|
|
|
|
const QSignalSpy columnsAboutToBeMovedSpy;
|
|
|
|
const QSignalSpy columnsAboutToBeRemovedSpy;
|
|
|
|
const QSignalSpy columnsInsertedSpy;
|
|
|
|
const QSignalSpy columnsMovedSpy;
|
|
|
|
const QSignalSpy columnsRemovedSpy;
|
|
|
|
const QSignalSpy dataChangedSpy;
|
|
|
|
const QSignalSpy headerDataChangedSpy;
|
|
|
|
const QSignalSpy layoutAboutToBeChangedSpy;
|
|
|
|
const QSignalSpy layoutChangedSpy;
|
|
|
|
const QSignalSpy modelAboutToBeResetSpy;
|
|
|
|
const QSignalSpy modelResetSpy;
|
|
|
|
const QSignalSpy rowsAboutToBeInsertedSpy;
|
|
|
|
const QSignalSpy rowsAboutToBeMovedSpy;
|
|
|
|
const QSignalSpy rowsAboutToBeRemovedSpy;
|
|
|
|
const QSignalSpy rowsInsertedSpy;
|
|
|
|
const QSignalSpy rowsMovedSpy;
|
|
|
|
const QSignalSpy rowsRemovedSpy;
|
|
|
|
|
|
|
|
int count() const;
|
|
|
|
};
|