equal
deleted
inserted
replaced
68 QDir::Filters filters = QDir::NoFilter, |
68 QDir::Filters filters = QDir::NoFilter, |
69 const QStringList & nameFilters = QStringList("*") |
69 const QStringList & nameFilters = QStringList("*") |
70 ) const; |
70 ) const; |
71 |
71 |
72 /** |
72 /** |
73 * @brief Returns the path for the desires data file. |
|
74 * |
|
75 * Use this method if you want to read an existing data file. |
|
76 * |
|
77 * @param relativeDataFilePath relative path of the data file. |
|
78 * @return real path to the file. |
|
79 */ |
|
80 QString findFileForRead(const QString & relativeDataFilePath) const; |
|
81 |
|
82 |
|
83 /** |
|
84 * @brief Returns the path for the data file that is to be written. |
|
85 * |
|
86 * Use this method if you want to create or write into a data file. |
|
87 * |
|
88 * @param relativeDataFilePath relative path of data file write path. |
|
89 * @return destination of path data file. |
|
90 */ |
|
91 QString findFileForWrite(const QString & relativeDataFilePath) const; |
|
92 |
|
93 |
|
94 /** |
|
95 * @brief Returns pointer to a model of available game styles. |
73 * @brief Returns pointer to a model of available game styles. |
96 * |
74 * |
97 * The model is updated automatically on data reload. |
75 * The model is updated automatically on data reload. |
98 * |
76 * |
99 * @return game style model pointer. |
77 * @return game style model pointer. |