Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

md5.h File Reference

#include <fstream>
#include <qstring.h>

Include dependency graph for md5.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

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)


Function Documentation

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 }


Generated on Mon Apr 11 18:28:15 2005 for AlbumShaper by  doxygen 1.3.9.1