Implement it this way
Qt Code:
{ ... public: ... enum { Type = UserType + 1 }; int type() const { return Type; } ... };To copy to clipboard, switch view to plain text mode
Implement it this way
Qt Code:
{ ... public: ... enum { Type = UserType + 1 }; int type() const { return Type; } ... };To copy to clipboard, switch view to plain text mode
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks