Port X/26 list editing operations to UndoCommands

This commit is contained in:
G.K.MacGregor
2020-12-13 14:34:29 +00:00
parent f9ce912e79
commit 81b3534a09
9 changed files with 369 additions and 105 deletions

View File

@@ -40,6 +40,12 @@ public:
bool removeRows(int position, int rows, const QModelIndex &index);
// Qt::ItemFlags flags(const QModelIndex &index) const;
// The x26commands classes manipulate the model but beginInsertRows and endInsertRows
// are protected methods, so we need to friend them
friend class InsertTripletCommand;
friend class DeleteTripletCommand;
friend class EditTripletCommand;
private:
TeletextWidget *m_parentMainWidget;
bool m_listLoaded;