Implement deleting of subpages

This commit is contained in:
G.K.MacGregor
2020-12-15 21:57:42 +00:00
parent 269500aeef
commit 19be00f4fe
6 changed files with 65 additions and 0 deletions

View File

@@ -84,6 +84,19 @@ private:
bool m_copySubPage;
};
class DeleteSubPageCommand : public QUndoCommand
{
public:
DeleteSubPageCommand(TeletextDocument *, QUndoCommand *parent = 0);
void redo() override;
void undo() override;
private:
TeletextDocument *m_teletextDocument;
int m_subPageToDelete;
};
class InsertRowCommand : public QUndoCommand
{
public: