Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, March 2007
Q_PROPERTY QMap how?


Message 1 in thread

Hello, I have tried to implement a property using QMap, but it does not 
appear in my properties window of VS integration. here is the code:

Q_PROPERTY(QMap<QString, QVariant> NameToAreaCode READ namesToAreaCodes 
WRITE setNamesToAreaCodes)


QMap<QString, QVariant> namesToAreaCodes();
void setNamesToAreaCodes(QMap<QString, QVariant> m);

Why they do not appear?

Best regards,
Oleg Romanenko.

--
 [ signature omitted ]