[kdev-python/listcontenttypes] /: Further tries to add a new type, but it crashes

David Nolden david.nolden.kdevelop at art-master.de
Tue Jun 14 10:12:01 UTC 2011


The type-system classes are not simply classes you can write
"standard" ways, but they need to follow a very specific structure.
All the rules that must be followed are written down at the top of
AbstractType.h. It is simpler, however, to just copy another existing
type, and replace the occurences of the base-class with your own
base-class, and rename the type and data-type class.

Your copy-constructors for example look wrong, because they miss the
copyData call.

Greetings, David




More information about the KDevelop-devel mailing list