-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
enhancementNew feature or requestNew feature or requestrefactorChange code structure without affecting behaviorChange code structure without affecting behaviorsimplifyReduce application complexityReduce application complexity
Description
For each new value class we must manually write the methods propertyByIndex, setPropertyByIndex, etc. For a long time I wished to automate this task using the metaclass system (previously known as tuple system). As a first step, we would need to add support for getters and setters in the metaclass system, as there are many property indexes that do not correspond directly to individual data members.
Also consider using a pair of ints for each index in CPropertyIndex (one int for the enum, another int for the metaTypeId of the enum type) as this would remove the requirement to avoid collisions of enum values defined by the index enums of different value classes. (Need to think how this would interact with dbus.)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestrefactorChange code structure without affecting behaviorChange code structure without affecting behaviorsimplifyReduce application complexityReduce application complexity