VCS: Add some convenience methods to SubmitFileModel

Change-Id: I7b425883472e00bbdce7f5fcbab3bb6e0e9807e4
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Tobias Hunger
2011-10-19 14:58:12 +00:00
parent e733cb2155
commit 4245774cf2
2 changed files with 36 additions and 0 deletions

View File

@@ -55,6 +55,12 @@ public:
// Convenience to obtain a row
QList<QStandardItem *> rowAt(int row) const;
QString state(int row) const;
QString file(int row) const;
bool checked(int row) const;
bool hasCheckedFiles() const;
// Filter for entries contained in the filter list. Returns the
// number of deleted entries.
unsigned filter(const QStringList &filter, int column);