66 QDir::Filters filters = QDir::NoFilter, |
66 QDir::Filters filters = QDir::NoFilter, |
67 const QStringList & nameFilters = QStringList("*") |
67 const QStringList & nameFilters = QStringList("*") |
68 ) const; |
68 ) const; |
69 |
69 |
70 /** |
70 /** |
71 * @brief Returns path for the desires data file. |
71 * @brief Returns the path for the desires data file. |
72 * |
72 * |
73 * Use this method if you want to read an existing data file. |
73 * Use this method if you want to read an existing data file. |
74 * |
74 * |
75 * @param relativeDataFilePath relative path of the data file. |
75 * @param relativeDataFilePath relative path of the data file. |
76 * @return real path to the file. |
76 * @return real path to the file. |
77 */ |
77 */ |
78 QString findFileForRead(const QString & relativeDataFilePath) const; |
78 QString findFileForRead(const QString & relativeDataFilePath) const; |
79 |
79 |
80 |
80 |
81 /** |
81 /** |
82 * @brief Creates a file object for the desired data path and |
82 * @brief Returns the path for the data file that is to be written. |
83 * returns a pointer to it. |
|
84 * |
83 * |
85 * Use this method if you want to create or write into a data file. |
84 * Use this method if you want to create or write into a data file. |
86 * |
85 * |
87 * @param relativeDataFilePath path to the data file. |
86 * @param relativeDataFilePath relative path of data file write path. |
88 * @return respective <code>QFile</code> pointer. |
87 * @return destination of path data file. |
89 */ |
88 */ |
90 QFile * findFileForWrite(const QString & relativeDataFilePath) const; |
89 QString findFileForWrite(const QString & relativeDataFilePath) const; |
91 |
90 |
92 |
91 |
93 private: |
92 private: |
94 /** |
93 /** |
95 * @brief Class constructor of the <i>singleton</i>. |
94 * @brief Class constructor of the <i>singleton</i>. |