Mercurial > trustbridge
comparison ui/certificatetablemodel.h @ 376:9731d28b95af
Implemented 'remove certificate' in administrator app.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 12:32:34 +0200 |
parents | 9ba7b4b4c1de |
children | 26651cc0cc47 |
comparison
equal
deleted
inserted
replaced
369:78eec57bc133 | 376:9731d28b95af |
---|---|
16 | 16 |
17 public: | 17 public: |
18 CertificateTabelModel(QObject *parent = 0); | 18 CertificateTabelModel(QObject *parent = 0); |
19 | 19 |
20 void addCertificate(const Certificate &certificate, bool editable); | 20 void addCertificate(const Certificate &certificate, bool editable); |
21 bool removeRows(int row, int count, const QModelIndex&); | |
21 int rowCount(const QModelIndex &parent = QModelIndex()) const; | 22 int rowCount(const QModelIndex &parent = QModelIndex()) const; |
22 int columnCount(const QModelIndex &parent = QModelIndex()) const; | 23 int columnCount(const QModelIndex &parent = QModelIndex()) const; |
23 | 24 |
24 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; | 25 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; |
25 bool setData(const QModelIndex &index, const QVariant &value, | 26 bool setData(const QModelIndex &index, const QVariant &value, |