1#include "quicklistmodel.h"
3QuickListModel::QuickListModel(QObject *parent) :
4 QuickListModelInterface(parent)
9QuickListModel::~QuickListModel()
14void QuickListModel::appendAction(const QuickListEntry &entry)
16 beginInsertRows(QModelIndex(), m_list.count() - 1, m_list.count() -1);
21QuickListEntry QuickListModel::get(int index) const
23 return m_list.at(index);
26int QuickListModel::rowCount(const QModelIndex &index) const
28 return m_list.count();
31QVariant QuickListModel::data(const QModelIndex &index, int role) const
35 return m_list.at(index.row()).text();
37 return m_list.at(index.row()).icon();
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list