comparison logparser.h @ 74:10eb97683aa9

* Show branch names even for changes with children, if those children are on a different branch * Pick up remote repo path from local repo via hg paths * Some work towards breaking down files into various groups based on status * Add /usr/local/bin to path for hg (temporary hack I hope)
author Chris Cannam
date Fri, 19 Nov 2010 14:54:19 +0000
parents f583e44d9d31
children 8fd71f570884
comparison
equal deleted inserted replaced
73:a773c6e7b301 74:10eb97683aa9
27 typedef QList<LogEntry> LogList; 27 typedef QList<LogEntry> LogList;
28 28
29 class LogParser : public QObject 29 class LogParser : public QObject
30 { 30 {
31 public: 31 public:
32 LogParser(QString text); 32 LogParser(QString text, QString separator = ":");
33 33
34 QStringList split(); 34 QStringList split();
35 LogList parse(); 35 LogList parse();
36 36
37 private: 37 private:
38 QString m_text; 38 QString m_text;
39 QString m_sep;
39 }; 40 };
40 41
41 #endif // LOGPARSER_H 42 #endif // LOGPARSER_H