I have been programming with Qt for some time now and I have come across a non-Qt code snippet that uses the following:

Qt Code:
  1. namespace MySpace {
  2. class MyClass;
  3. enum { SomeProperty = QTextFormat::UserProperty + 248 };
  4. ...
  5. }
To copy to clipboard, switch view to plain text mode 

and is later reference by:

Qt Code:
  1. namespace MySpace {
  2. MyClass::MyClass()
  3. {
  4. myFunction(MySpace::SomePropery, param2);
  5. ...
  6. }
To copy to clipboard, switch view to plain text mode 

I am sure I should know what this is doing - but like a newbie ... I have no idea.

Can someone explain?

Environment:
Linux Mint 17.2
Qt Open Source 32 bit v5.5.1