| 1405 | } |
| 1406 | |
| 1407 | QMap<QString,QVariant> TWApp::getFileProperties(const QString& path) |
| 1408 | { |
| 1409 | Tw::Settings settings; |
| 1410 | QList<QVariant> fileList = settings.value(QString::fromLatin1("recentFiles")).toList(); |
| 1411 | QList<QVariant>::iterator i = fileList.begin(); |
| 1412 | while (i != fileList.end()) { |
| 1413 | QMap<QString,QVariant> h = i->toMap(); |
| 1414 | if (h.value(QString::fromLatin1("path")).toString() == path) |
| 1415 | return h; |
| 1416 | ++i; |
| 1417 | } |
| 1418 | return QMap<QString,QVariant>(); |
| 1419 | } |
| 1420 | |
| 1421 | void TWApp::openHelpFile(const QString& helpDirName) |
| 1422 | { |
no test coverage detected