editing test
editing test
Last edited by user_mail07; 1st February 2007 at 20:40. Reason: missing [code] tags
Please use the CODE tags when writing code again instead of your own system. Then the syntax will be highlighted.
Anyways, what kind of an object is strLabel? If strLabel is just a QString then your constructor needs to look like:
Qt Code:
pPopupMenu = DisplayPopupMenu(mainWindow, strLabel);To copy to clipboard, switch view to plain text mode
Your constructor says it takes a QString as the 2nd argument but the data( ) function of a QString returns a QChar*. I hope this helps.
user_mail07 (1st February 2007)
Thanks it worked. it was QString.
Bookmarks