From kde-core-devel Fri Jan 16 01:36:26 2004 From: Ravi Date: Fri, 16 Jan 2004 01:36:26 +0000 To: kde-core-devel Subject: dcopidl quirk (was Re: DCOP and slots) Message-Id: <200401152036.26790.ravi () kde ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=107421715713486 On Tuesday 13 January 2004 10:36 am, Gav Wood wrote: > class > { > ... > public slots: > // MOC_SKIP_BEGIN > k_dcop: > // MOC_SKIP_END > void changeName(...) > } This works. Thanks, Gav, I had forgotten about these. I'll look into the right place for documenting this. Here's another quirk of dcopidl which should be easily fixable: void blah(const QString &name); // ok. void blah(QString const &name); // barfs with the following message: // syntax error, unexpected T_CONST, expecting T_RIGHT_PARANTHESIS or T_COMMA The second form is actually preferable for prople like me who associate modifiers such as const or volatile to the thing on the left; it is a crutch when reading/writing declarations like this (yes, it's evil): MyClass const * * const m; Regards, Ravi