|
Hydra 0.20
|
#include <WebExport.h>
Classes | |
| struct | DirEntry |
| struct | FileEntry |
Public Member Functions | |
| WebExport (const QString &outputdir, QTextStream &out) | |
| void | setTitle (const QString &title) |
| void | addFile (const QString &fullfilename, const QString &basedir, hydra::FileItemRecord &item, const QString &filehash) |
| int | commitWebSite (void) |
| int | commitFileCopy (void) |
A class that exports a collection pics for web site building.
| hydra::WebExport::WebExport | ( | const QString & | outputdir, |
| QTextStream & | out | ||
| ) |
Export a site to the given website output directory.
| void hydra::WebExport::addFile | ( | const QString & | fullfilename, |
| const QString & | basedir, | ||
| hydra::FileItemRecord & | item, | ||
| const QString & | filehash | ||
| ) |
Adds a given file to the output list.
| int hydra::WebExport::commitFileCopy | ( | void | ) |
Commit and actually build the web site.
Returns the number of files made, or -1 on error.
| int hydra::WebExport::commitWebSite | ( | void | ) |
Commit and actually build the web site.
Returns the number of files made, or -1 on error.
| void hydra::WebExport::setTitle | ( | const QString & | title | ) |
Sets the title of the exported web site