[SOLVED] QMap as a parameter
-
how do i pass a qmap variable? i get an error --- error: ‘QMap’ is not a type
@
window::window()
{
QMap<QString, QString> data;
window::callFunc(data);
}window::callFunc(QMap data) // i get the error in this line
{
// process QMap here
}
@or there is another way to pass an array that needs keys & values (data['string'] = 'string')
thanx..