|
pwfengine
|
The main class. More...
#include <PEngine.h>
Public Member Functions | |
| QNetworkAccessManager * | network () const |
| QScriptEngine * | scriptEngine () const |
| void | setSchemaCandidatesDirectory (const QString &directoryPath) |
| QString | schemaCandidatesDirectory () const |
| void | setCacheDirectory (const QString &directoryPath) |
| QString | cacheDirectory () const |
Friends | |
| class | PEnginePrivate |
The main class.
This is the first class to instantiate when using the library, its purpose is to mantain all the wrappers common data, such as:
The first two are automatically created on construction and automatically managed by wrappers, so there is no need to worry about them at all. However you could want to get them for specifying some special option, althrough this is not explicitally required.
| QString PEngine::cacheDirectory | ( | ) | const |
| QNetworkAccessManager * PEngine::network | ( | ) | const |
The network shared among all the wrappers
| QString PEngine::schemaCandidatesDirectory | ( | ) | const |
| QScriptEngine * PEngine::scriptEngine | ( | ) | const |
The script engine shared among all the wrappers
| void PEngine::setCacheDirectory | ( | const QString & | directoryPath | ) |
Set the cache directory, shared by all sites unless otherwise specified.
| void PEngine::setSchemaCandidatesDirectory | ( | const QString & | directoryPath | ) |
Set the root directory where are located all the wrapper schemas.
1.7.4