--- a/src/types.h Fri Dec 20 17:06:06 2013 +0200 +++ b/src/types.h Fri Dec 20 18:04:23 2013 +0200 @@ -287,10 +287,13 @@ bool operator!() const; operator bool() const; + inline str getPath() const { return m_path; } + private: - QFile* m_file; - QTextStream* m_textstream; - iterator m_endIterator; + QFile* m_file; + QTextStream* m_textstream; + iterator m_endIterator; + str m_path; }; // =============================================================================