DCOPRef and dynamic stubs ( 3.1? )
Simon Hausmann
hausmann at kde.org
Mon Sep 9 11:40:14 BST 2002
On Mon, Sep 09, 2002 at 12:35:41PM +0200, Lars Knoll wrote:
> > > your send call would look like
> > >
> > > DCOPRef( "desktop" ).send( "setFoo", blah, blubb );
> > >
> > > Doesn't that look even better? "setFoo" is automatically extended to
> > > "setFoo(int, QString)" depending on the types of the arguments 'blah' and
> > > 'blubb'.
> >
> > How does the signature of send look like?
>
> It's a template function:
>
> template class<Arg1, Arg2> send( const char*, const Arg1 &arg1, const Arg2
> &arg2 );
And you have ten of those methods then, I guess?
Simon
More information about the kde-core-devel
mailing list