Today I have uncovered that QStringList do not have type and is not
possibel to return
{
return this->hrefconfisuser;
}
QStringList Href_Gui::GetUserConfig();
{
return this->hrefconfisuser;
}
To copy to clipboard, switch view to plain text mode
And to solved this i make ...
typedef QMap<int, QStringList> Userconf;
Userconf res;
res.insert(0,MyOwnQStringList);
if moore .... res.insert(1,MyOwnQStringList);
Userconf res = function();
resultMap::Iterator it;
for ( it = res.begin(); it != res.end(); ++it ) {
}
typedef QMap<int, QStringList> Userconf;
Userconf res;
res.insert(0,MyOwnQStringList);
if moore .... res.insert(1,MyOwnQStringList);
Userconf res = function();
resultMap::Iterator it;
for ( it = res.begin(); it != res.end(); ++it ) {
QStringList fullrow = it.value();
}
To copy to clipboard, switch view to plain text mode
My question how to set a typedef QStringList
and not waste performance? .
Bookmarks