--- a/ldtypes.h Sat Mar 16 01:32:47 2013 +0200 +++ b/ldtypes.h Sat Mar 16 03:11:19 2013 +0200 @@ -8,7 +8,10 @@ LD##N (); \ virtual LDObjectType_e getType () const { \ return OBJ_##N; \ - } + } \ + virtual str getContents (); + +class QTreeWidgetItem; // ============================================================================= // LDObjectType_e @@ -48,6 +51,15 @@ virtual LDObjectType_e getType () const { return OBJ_Unidentified; }; + + // A string that represents this line + virtual str getContents () { + return ""; + } + + void commonInit (); + + QTreeWidgetItem* qObjListEntry; }; // ============================================================================= @@ -65,7 +77,7 @@ LDGibberish (str _zContent, str _zReason); // Content of this unknown line - str zContent; + str zContents; // Why is this gibberish? str zReason;