kdedmodule problems

Waldo Bastian bastian at kde.org
Sat Aug 30 16:17:33 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 30 August 2003 16:37, Gav Wood wrote:
> hi waldo,
>
> i'm working on a kdedmodule that requires the use of dcop, however i cannot
> generate a stub, the reason being that currently the stub of kdedmodule is
> empty, and thus the stub of my new class which inherits from kdedmodule has
> nothing to inherit from:
>
> /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H
> - <snip>
> fno-common  -c -o systemrelay_stub.lo `test -f 'systemrelay_stub.cpp' ||
> echo './'`systemrelay_stub.cpp
> In file included from systemrelay_stub.cpp:9:
> <snip>
> systemrelay_stub.cpp:16: type `class DCOPStub' is not a direct base of `
>    SystemRelay_stub'
>
> the reason for this emptiness is because erroneously the class KDEDModule.h
> does not have the K_DCOP specifier, thus when kdedmodule's stub is
> generated, there is nothing in it.
>
> i did fix this, however the fix was (is) binary incompatible :-(
>
> > Revision 1.9 / (download) - annotate - [select for diffs], Sat Jun 7 ?
> > 15:05:53 2003 UTC (2 months, 3 weeks ago) by waba
> > Branch: MAIN
> > Changes since 1.8: +0 -1 lines
> > tio previous 1.8 (colored)
> >
> > Reverting previous commit because it is BIC:
> > K_DCOP adds a virtual method.
>
> is there anything that can be done? (preferably before kde4, when,
> presumably it can be rectified properly).
>
> the only thing i can think of is to distribute a correct kdedmodule_stub,
> made from the rectified kdedmodule.h, and thus sidestepping the problem.

Sounds good to me, I guess kdemodule_stub.cpp should also be incoporated into 
kdemodule_stub.h then?

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/UMANN4pvrENfboIRApVkAKCdGyvdzaul32rP7YAQENpV2ZMcrgCePwMt
SBzKIVoOIesMkxu+AOOZc3U=
=HyRs
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list