|
pwfengine
|
A website wrapper. More...
#include <PSiteWrapper.h>
Public Member Functions | |
| PSiteWrapper (PEngine *engine) | |
| void | addPageWrapper (PPageWrapper *pageWrapper) |
| QString | schemaDirectory (const QString &schemaName) |
| QString | schemaFileName (const QString &schemaName) |
Protected Member Functions | |
| QList< QString > | schemaCandidateNames () |
| QString | cacheFileName () |
Friends | |
| class | PSiteWrapperPrivate |
A website wrapper.
| PSiteWrapper::PSiteWrapper | ( | PEngine * | engine | ) |
| void PSiteWrapper::addPageWrapper | ( | PPageWrapper * | pageWrapper | ) |
Append the pageWrapper to the list if not already exists.
| QString PSiteWrapper::cacheFileName | ( | ) | [protected, virtual] |
Implements PWrapper.
| QList< QString > PSiteWrapper::schemaCandidateNames | ( | ) | [protected, virtual] |
Loop through each subdirectory in the schemaCandidatesDirectory() looking for a valid site wrapper schema, appending it to the returned list when found.
Implements PWrapper.
| QString PSiteWrapper::schemaDirectory | ( | const QString & | schemaName | ) |
Given a schema name, return the directory of the schema as schemaCandidatesDirectory()/schemaName/. If the schema name is not valid, return an empty string. Note: the final / is removed
| QString PSiteWrapper::schemaFileName | ( | const QString & | schemaName | ) | [virtual] |
Implements PWrapper.
1.7.4