mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-19 19:48:36 -04:00
Make C++11 mandatory.
This commit is contained in:
parent
0e85c98d02
commit
7fa0eddc5f
112 changed files with 332 additions and 411 deletions
|
@ -20,8 +20,6 @@
|
|||
|
||||
#include <QAbstractTableModel>
|
||||
|
||||
#include "core/Global.h"
|
||||
|
||||
class Entry;
|
||||
|
||||
class EntryHistoryModel : public QAbstractTableModel
|
||||
|
@ -29,13 +27,13 @@ class EntryHistoryModel : public QAbstractTableModel
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit EntryHistoryModel(QObject* parent = Q_NULLPTR);
|
||||
explicit EntryHistoryModel(QObject* parent = nullptr);
|
||||
|
||||
Entry* entryFromIndex(const QModelIndex& index) const;
|
||||
int columnCount(const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const Q_DECL_OVERRIDE;
|
||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const Q_DECL_OVERRIDE;
|
||||
int columnCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
|
||||
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
|
||||
|
||||
void setEntries(const QList<Entry*>& entries);
|
||||
void clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue