int count =0 ;
QMapIterator<int, QString> i(sortedFound);
i.toBack();
buf << "FOUND" << endl;
while (i.hasPrevious() && count < n)
{
i.previous();
buf << i.value() << "|" << i.key() << "\r\n";
count++;
}
label2.show();
QString message;
QTextStream buf(&message);
int count =0 ;
QMapIterator<int, QString> i(sortedFound);
i.toBack();
buf << "FOUND" << endl;
while (i.hasPrevious() && count < n)
{
i.previous();
buf << i.value() << "|" << i.key() << "\r\n";
count++;
}
QTextEdit label2(message);
label2.show();
To copy to clipboard, switch view to plain text mode
is what i have that doesnt work
Bookmarks