repaired it (a bit)

This commit is contained in:
2025-08-31 14:38:11 +02:00
parent c6454f3106
commit 952409ab1a
5 changed files with 83 additions and 73 deletions

View File

@@ -141,15 +141,16 @@ public:
//! -- not used at the moment --
XQItem* clone() const override;
//!
bool isValid() const;
//! __fix Tested, ob ein itemtype vorhanden ist.
bool isValidX() const;
bool hasContentNode() const;
bool hasContentNode() const;
//! gibt den zu diesem item gehörigen datenknoten zurück
virtual XQNodePtr contentNode() const;
XQNodePtr contentNode() const;
virtual XQNodePtr sheetNode() const;
virtual void setSheetNode( const XQNodePtr& sheetNode );
XQNodePtr sheetNode() const;
void setSheetNode( const XQNodePtr& sheetNode );
XQItemType& itemType() const;
void setItemType( XQItemType* itemTypePtr );
@@ -165,8 +166,7 @@ public:
// changed: gibt jetzt den pointer zurück.
//QString* content() const;
QString contentKey() const;
void setContent( const QString* content );
//void setContent( const QString* content );
//
// Convenience-Funktionen zum Memberzugriff, die Implementierung
@@ -243,6 +243,7 @@ protected:
XQItem(const XQItem& other) = default;
XQItem& operator=(const XQItem& other) = default;
bool hasContentPtr() const;
QString contentFallBackText() const;
// das ist protected, weil damit der content()-zugriff demoliert werden kann