Qt 6.12 LTS is out! See what's new in the release
blog
What d_ptr and q_ptr stand for?
General and Desktop
3
Posts
2
Posters
1.5k
Views
1
Watching
-
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. ;)