T O P I C R E V I E W |
cbranch |
Posted - May 17 2007 : 2:48:40 PM I'm using build 1555 w/ Qt 4.3 and have modified the stdafx.h to included Qt defines:
#define slots #define signals public
However in a class with a slots and a comment with a curly brace:
class A { public slots: //{ void test(); }
Create implementation is disabled for 'test'. Delete the curly brace or the 'slots' keyword and it is enabled. This effects all functions following the comment line.
The problem seems to be specifically related to the combination of a macro in a access line and a begin curly brace '{'. Since the curly brace is used in some doxygen comments they simple can't be removed.
|
1 L A T E S T R E P L I E S (Newest First) |
feline |
Posted - May 18 2007 : 09:08:03 AM I am seeing the same effect here. Thank you for the clear description.
case=6664
I found that if you move the function line to above the comment then Create Implementation is available and works. If this is a single line declaration then you can sit on the line and use CTRL-X to cut the entire line and then CTRL-V to paste it above the comment.
Not ideal, but hopefully this helps a bit. |