Is this what you refer to?
Qt Code:
  1. public:
  2. enum EventType {MessageEvent = 1001}; ///< Custom event types.
To copy to clipboard, switch view to plain text mode 
I changed it to
Qt Code:
  1. public:
  2. enum EventType {nMessageEvent = 1001}; ///< Custom event types.
To copy to clipboard, switch view to plain text mode 
and fixed the subsequent errors, but the 'ctor' errors remains.