Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Create Implemention broken with Qt and Doxygen
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cbranch
Senior Member

USA
30 Posts

Posted - May 17 2007 :  2:48:40 PM  Show Profile  Reply with Quote
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.


Colin Branch

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - May 18 2007 :  09:08:03 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000