pwfengine
Public Member Functions | Friends
PEngine Class Reference

The main class. More...

#include <PEngine.h>

List of all members.

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

Detailed Description

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.


Member Function Documentation

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.

Note:
: the final / is removed
void PEngine::setSchemaCandidatesDirectory ( const QString &  directoryPath)

Set the root directory where are located all the wrapper schemas.

Note:
the final / is removed

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Enumerator