Hydra 0.20
hydra::WebExport Class Reference

#include <WebExport.h>

List of all members.

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)

Detailed Description

A class that exports a collection pics for web site building.

Author:
Aleksander Demko

Constructor & Destructor Documentation

hydra::WebExport::WebExport ( const QString &  outputdir,
QTextStream &  out 
)

Export a site to the given website output directory.

Author:
Aleksander Demko

Member Function Documentation

void hydra::WebExport::addFile ( const QString &  fullfilename,
const QString &  basedir,
hydra::FileItemRecord item,
const QString &  filehash 
)

Adds a given file to the output list.

Author:
Aleksander Demko
int hydra::WebExport::commitFileCopy ( void  )

Commit and actually build the web site.

Returns the number of files made, or -1 on error.

Author:
Aleksander Demko
int hydra::WebExport::commitWebSite ( void  )

Commit and actually build the web site.

Returns the number of files made, or -1 on error.

Author:
Aleksander Demko
void hydra::WebExport::setTitle ( const QString &  title)

Sets the title of the exported web site

Author:
Aleksander Demko

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables