Searched refs:historyFile (Results 1 – 1 of 1) sorted by relevance
234 QFile historyFile(QStandardPaths::writableLocation(QStandardPaths::DataLocation) in load() local236 if (!historyFile.exists()) in load()238 if (!historyFile.open(QFile::ReadOnly)) { in load()239 qWarning() << "Unable to open history file" << historyFile.fileName(); in load()244 QDataStream in(&historyFile); in load()252 while (!historyFile.atEnd()) { in load()321 QFile historyFile(directory + QLatin1String("/history")); in save() local329 open = historyFile.open(QFile::Append); in save()334 << (saveAll ? tempFile.fileName() : historyFile.fileName()); in save()338 QDataStream out(saveAll ? &tempFile : &historyFile); in save()[all …]