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
 [VA1830] suggestion whaaaa?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

NOPcode
Ketchup Master

USA
84 Posts

Posted - Sep 17 2010 :  11:16:04 AM  Show Profile  Reply with Quote

Now this is interesting. The function setText is declared as:
void setText(const QString &text)
And this shows up on the bar at the top of the editor when I put my cursor back on setText in the screenshot below. But when I type readmeEdit->setText( I get the following displayed:



This is in VS2008 on an XP machine using VA1830, developing a small Trolltech Qt4.5 program.

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 17 2010 :  6:52:34 PM  Show Profile  Reply with Quote
Can you please zip up and send me a test project, so I can load it here to see if I can reproduce the problem.
You can use this form to send the file:
http://www.wholetomato.com/support/contact.asp
Please include the URL of the topic so we can match it up.
Go to Top of Page

NOPcode
Ketchup Master

USA
84 Posts

Posted - Sep 21 2010 :  08:56:27 AM  Show Profile  Reply with Quote
quote:
Originally posted by accord

Can you please zip up and send me a test project, so I can load it here to see if I can reproduce the problem.
You can use this form to send the file:
http://www.wholetomato.com/support/contact.asp
Please include the URL of the topic so we can match it up.



Unfortunately, sectioning out just this function into a standalone file doesn't cause the problem to occur. I noticed in the original project that the tooltip for the settext() function and other similar ones were also giving the wrong type. Disabling VA still caused the error to occur, but deleting the .NCB file made it go away.
So I guess the problem is actually originating from within Visual Studio, and just propagating out into VA?
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 21 2010 :  1:45:07 PM  Show Profile  Reply with Quote
If you have turned the following option on then Visual Assist get the listbox's content from default intellisense, so it is possible that it had caused the problem.

VA Options -> Advanced -> Listboxes -> Get content from default Intellisense
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