Details
-
Sub-task
-
Resolution: Done
-
Not Evaluated
-
None
-
None
Description
Singletons should have only static public methods,
with the exception of signals and slots.
The instance() method should only be used for accessing the singleton's signals and slots.
The one instance for the singleton is defined statically in the .cpp file and assigned in the constructor.
Constructor and destructor should be private, the class that manages the singleton being a friend.