|
OpenMW
|
#include <esmfile.hpp>
Public Types | |
| enum | FileProperty { FileProperty_FileName = 0, FileProperty_Author = 1, FileProperty_Format = 2, FileProperty_DateModified = 3, FileProperty_FilePath = 4, FileProperty_Description = 5, FileProperty_GameFile = 6 } |
Public Member Functions | |
| EsmFile (QString fileName=QString(), ModelItem *parent=0) | |
| ~EsmFile () | |
| void | setFileProperty (const FileProperty prop, const QString &value) |
| void | setFileName (const QString &fileName) |
| void | setAuthor (const QString &author) |
| void | setSize (const int size) |
| void | setDate (const QDateTime &modified) |
| void | setFormat (const int format) |
| void | setFilePath (const QString &path) |
| void | setGameFiles (const QStringList &gameFiles) |
| void | setDescription (const QString &description) |
| void | addGameFile (const QString &name) |
| QVariant | fileProperty (const FileProperty prop) const |
| QString | fileName () const |
| QString | author () const |
| QDateTime | modified () const |
| float | format () const |
| QString | filePath () const |
| const QStringList & | gameFiles () const |
| QString | description () const |
| QString | toolTip () const |
| bool | isGameFile () const |
| QByteArray | encodedData () const |
Static Public Attributes | |
| static int | sPropertyCount = 7 |
| static QString | sToolTip |
Properties | |
| QString | filename |
Private Attributes | |
| QString | mFileName |
| QString | mAuthor |
| QDateTime | mModified |
| int | mFormat |
| QString | mPath |
| QStringList | mGameFiles |
| QString | mDescription |
| QString | mToolTip |
| ContentSelectorModel::EsmFile::EsmFile | ( | QString | fileName = QString(), |
| ModelItem * | parent = 0 |
||
| ) |
| ContentSelectorModel::EsmFile::~EsmFile | ( | ) | [inline] |
| void ContentSelectorModel::EsmFile::addGameFile | ( | const QString & | name | ) | [inline] |
| QString ContentSelectorModel::EsmFile::author | ( | ) | const [inline] |
| QString ContentSelectorModel::EsmFile::description | ( | ) | const [inline] |
| QByteArray ContentSelectorModel::EsmFile::encodedData | ( | ) | const |
| QString ContentSelectorModel::EsmFile::fileName | ( | ) | const [inline] |
| QString ContentSelectorModel::EsmFile::filePath | ( | ) | const [inline] |
| QVariant ContentSelectorModel::EsmFile::fileProperty | ( | const FileProperty | prop | ) | const |
| float ContentSelectorModel::EsmFile::format | ( | ) | const [inline] |
| const QStringList& ContentSelectorModel::EsmFile::gameFiles | ( | ) | const [inline] |
| bool ContentSelectorModel::EsmFile::isGameFile | ( | ) | const [inline] |
| QDateTime ContentSelectorModel::EsmFile::modified | ( | ) | const [inline] |
| void ContentSelectorModel::EsmFile::setAuthor | ( | const QString & | author | ) |
| void ContentSelectorModel::EsmFile::setDate | ( | const QDateTime & | modified | ) |
| void ContentSelectorModel::EsmFile::setDescription | ( | const QString & | description | ) |
| void ContentSelectorModel::EsmFile::setFileName | ( | const QString & | fileName | ) |
| void ContentSelectorModel::EsmFile::setFilePath | ( | const QString & | path | ) |
| void ContentSelectorModel::EsmFile::setFileProperty | ( | const FileProperty | prop, |
| const QString & | value | ||
| ) |
| void ContentSelectorModel::EsmFile::setFormat | ( | const int | format | ) |
| void ContentSelectorModel::EsmFile::setGameFiles | ( | const QStringList & | gameFiles | ) |
| void ContentSelectorModel::EsmFile::setSize | ( | const int | size | ) |
| QString ContentSelectorModel::EsmFile::toolTip | ( | ) | const [inline] |
QString ContentSelectorModel::EsmFile::mAuthor [private] |
QString ContentSelectorModel::EsmFile::mDescription [private] |
QString ContentSelectorModel::EsmFile::mFileName [private] |
int ContentSelectorModel::EsmFile::mFormat [private] |
QStringList ContentSelectorModel::EsmFile::mGameFiles [private] |
QDateTime ContentSelectorModel::EsmFile::mModified [private] |
QString ContentSelectorModel::EsmFile::mPath [private] |
QString ContentSelectorModel::EsmFile::mToolTip [private] |
int ContentSelectorModel::EsmFile::sPropertyCount = 7 [static] |
QString ContentSelectorModel::EsmFile::sToolTip [static] |
QString("<b>Author:</b> %1<br/> \ <b>Version:</b> %2<br/> \ <b>Path:</b><br/>%3<br/> \ <br/><b>Description:</b><br/>%4<br/> \ <br/><b>Dependencies: </b>%5<br/>")
QString ContentSelectorModel::EsmFile::filename [read] |
1.7.6.1