#include <fstream>
#include <qstring.h>
Go to the source code of this file.
Classes | |
class | MD5 |
MD5 Support allows checksums to be computed for images, determing if they have changed since the album was saved out, and if so need to be loaded and rescaled. More... | |
Functions | |
QString | getMD5 (std::ifstream &stream) |
bool | filesMatch (std::ifstream &stream, QString oldMD5) |
bool filesMatch | ( | std::ifstream & | stream, | |
QString | oldMD5 | |||
) |
Definition at line 549 of file md5.cpp.
References MD5::hex_digest().
00550 { 00551 MD5 obj( stream ); 00552 return (obj.hex_digest() == oldMD5); 00553 }
QString getMD5 | ( | std::ifstream & | stream | ) |
Definition at line 542 of file md5.cpp.
References MD5::hex_digest().
Referenced by Album::exportSubalbumImages(), and Subalbum::importFromDisk().
00543 { 00544 MD5 obj( stream ); 00545 return obj.hex_digest(); 00546 }