Qt: Is it possible to use mixins technique?

Posted by Eye of Hell on Stack Overflow See other posts from Stack Overflow or by Eye of Hell
Published on 2010-03-30T10:42:46Z Indexed on 2010/03/30 10:53 UTC
Read the original article Hit count: 272

Filed under:
|

Hello.

Qt library includes advanced meta-programming capabilities using they own preprocessing moc compiler. Does anyone knows, is it possible to create some kind of mix-ins via it? For example, i have a QString and want to add a method to it without sub-classing and changing existing code. Does Qt have such solutions for that?

© Stack Overflow or respective owner

Related posts about qt

Related posts about mixin