-- pre-holiday

This commit is contained in:
2025-08-27 14:06:31 +02:00
parent 6ee677c595
commit 04b0f650d6
12 changed files with 245 additions and 134 deletions

View File

@@ -133,6 +133,7 @@ public:
XQItem();
XQItem( XQItemType* itemType );
XQItem( XQItemType* itemType, const QString* content );
XQItem( XQItemType* itemType, const QString& content );
virtual ~XQItem() = default;
@@ -143,7 +144,8 @@ public:
//!
bool isValid() const;
//! gibt den zu diesem item gehörigen datenknoten zurück
bool hasContentNode() const;
//! gibt den zu diesem item gehörigen datenknoten zurück
virtual XQNodePtr contentNode() const;
virtual XQNodePtr sheetNode() const;
@@ -162,7 +164,7 @@ public:
QString rawText() const;
// changed: gibt jetzt den pointer zurück.
QString* content() const;
//QString* content() const;
QString contentKey() const;
void setContent( const QString* content );
@@ -241,6 +243,9 @@ protected:
XQItem(const XQItem& other) = default;
XQItem& operator=(const XQItem& other) = default;
QString contentFallBackText() const;
// das ist protected, weil damit der content()-zugriff demoliert werden kann
void setContentNode(const XQNodePtr& contentNode );
using XQItemFlagMap = QMap<QString,int>;