rework xqitem::setData, part I

This commit is contained in:
2025-08-06 17:30:30 +02:00
parent f41b00d8ff
commit 20b9ba967d
5 changed files with 51 additions and 21 deletions

View File

@@ -105,6 +105,7 @@ void XQCommand::saveNodes( const QModelIndexList& list )
}
}
//! erzeugt einen string aus dem command-type, fürs debuggen.
QString XQCommand::toString()

View File

@@ -27,6 +27,9 @@ struct XQNodeBackup
XQNodePtr contentNode;
};
//!
//! \brief The XQNodeStore class
//!
class XQNodeStore : public QVector<XQNodeBackup>
{
@@ -37,8 +40,9 @@ public:
};
// Das command enthält immer auch die betroffenen items
// ist also auch eine SavedNodeList
//! Das command enthält immer auch die betroffenen items
//! ist also auch ein node store
class XQCommand : public QUndoCommand, public XQNodeStore
{