|
Avogadro
1.1.0
|
Public Member Functions | |
| PythonScript (const QString &fileName) | |
| QString | moduleName () const |
| boost::python::object | module () const |
| const QString & | fileName () const |
| QString | identifier () const |
| const QString & Avogadro::PythonScript::fileName | ( | ) | const |
Get a QFile object for the script file.
| QString Avogadro::PythonScript::identifier | ( | ) | const |
Get the identifier for this script. This is the Sha1 hash of the script's contents.
References QCryptographicHash::hash(), QFile::open(), and QIODevice::readAll().
| object Avogadro::PythonScript::module | ( | ) | const |
Get the python module object.
References QFileInfo::lastModified().
| QString Avogadro::PythonScript::moduleName | ( | ) | const |
Get the module name.
1.8.0