forked from qt-creator/qt-creator
VCS: Use SubmitFileModel in SubmitEditorWidget
Much cleaner Change-Id: I090e5d04e5afae1023fa58eca1ef416ddc069165 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
34db64c752
commit
01084aaa38
@@ -53,23 +53,18 @@ public:
|
||||
QList<QStandardItem *> addFile(const QString &fileName, const QString &status = QString(),
|
||||
CheckMode checkMode = Checked, const QVariant &data = QVariant());
|
||||
|
||||
// Find convenience that returns the whole row (as opposed to QStandardItemModel::find).
|
||||
QList<QStandardItem *> findRow(const QString &text, int column = 0) const;
|
||||
|
||||
// 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;
|
||||
void setChecked(int row, bool check);
|
||||
void setAllChecked(bool check);
|
||||
QVariant extraData(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);
|
||||
unsigned int filterFiles(const QStringList &filter);
|
||||
};
|
||||
|
||||
} // namespace VcsBase
|
||||
|
||||
Reference in New Issue
Block a user