What d_ptr and q_ptr stand for?
-
What d_ptr and q_ptr stand for exactly those can be found in many other qt source files(e.g. qobject.cpp)?
-
Hi!
These are pointers used to implement the "Pimpl idiom" (= pointer to implementation idiom). See "Wikipedia":http://en.wikipedia.org/wiki/Opaque_pointer
Cheers!
-
Thank you, Wieland. ;)