forked from qt-creator/qt-creator
Gerrit: Refactor preparing the introduction of a hierarchical model.
Change model and dialog methods to use QModelIndex and remove obsolete methods. Split out method to populate a list of standard items from a change. Change GerritModel::itemForId() to recurse over the tree. Change-Id: I9393f498ffbdf63ba3ad78146d041bcda3835527 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -103,8 +103,7 @@ private slots:
|
||||
void slotRefresh();
|
||||
|
||||
private:
|
||||
const QStandardItem *itemAt(const QModelIndex &i, int column = 0) const;
|
||||
const QStandardItem *currentItem(int column = 0) const;
|
||||
QModelIndex currentIndex() const;
|
||||
QPushButton *addActionButton(const QString &text, const char *buttonSlot);
|
||||
void updateCompletions(const QString &query);
|
||||
void updateButtons();
|
||||
|
||||
Reference in New Issue
Block a user