I see "const QObject &" a lot. It's in both function parameters and in return types. If you want to pass something that can't be modified, why not just pass a "QObject" to it? Does passing and returning by reference save RAM?
I see "const QObject &" a lot. It's in both function parameters and in return types. If you want to pass something that can't be modified, why not just pass a "QObject" to it? Does passing and returning by reference save RAM?
Lenovo ThinkPad T400 - Gentoo Linux 2008.0 Hardened
Apple iBook G3 - Gentoo Linux 2008.0 Desktop
Linksys WRT54GL - OpenWrt Kamikaze
Linksys WRT310N - Stock Crap
Bookmarks