As long as var inherits QObject you can do as followed.
QSignalMapper *sigMap = new QSignalMapper();
connect(sigMap,SIGNAL(mapped(QObject *)),this,SLOT(compareLimit(QObject*)));
void storeRoStruct()
{
for (int x=0; x<DB.length(); x++){
conditionList.append(DB.record(x);
connect(conditionList.at(x).var, SIGNAL(valueChanged()), sigMap, SLOT(map()));
sigMap->setMapping(conditionList.at(x).var, conditionList.at(x).var);
}
}
And in the Slot make a dynamic_cast to var.