> Currently the only real way to receive data from DCOP is to multiply inherit from the normal class that you are inheriting (usually some sort of QWidget subclass or QObject) as well as the DCOPObject class.
I could be wrong but I believe the QWidget's that make up nearly every KDE app had DCOP built in to them.
It would have been possible to automatically wire up Qt slots from its signals and slots system because these are introspectable, but AFAIK that was not done. For any arguments that needed to be serialized as more than one element of a QDataStream, it would have required additional marshalling code. Objects would also have needed consistent and unique names.
It would have been hacky and questionable to incidentally expose application internals like that.
How it was apparently done was that eligible objects inherited DCOPObject, for which marshalling code was generated at build time using dcopidl2cpp.
Thanks for digging in further! I'd done some poking around but I appreciate the deeper look! This has always been a fascinating topic for me, but it was only a month or two ago I actually poked around, saw that same architecture page you'd linked, etc. Obviously you went further though & I appreciate it!
I could be wrong but I believe the QWidget's that make up nearly every KDE app had DCOP built in to them.