Changeset View
Changeset View
Standalone View
Standalone View
framework/src/domain/mime/attachmentmodel.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
51 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | 51 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | ||
52 | QModelIndex parent(const QModelIndex &index) const Q_DECL_OVERRIDE; | 52 | QModelIndex parent(const QModelIndex &index) const Q_DECL_OVERRIDE; | ||
53 | int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | 53 | int rowCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
54 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | 54 | int columnCount(const QModelIndex &parent = QModelIndex()) const Q_DECL_OVERRIDE; | ||
55 | 55 | | |||
56 | Q_INVOKABLE bool saveAttachmentToDisk(const QModelIndex &parent); | 56 | Q_INVOKABLE bool saveAttachmentToDisk(const QModelIndex &parent); | ||
57 | Q_INVOKABLE bool openAttachment(const QModelIndex &index); | 57 | Q_INVOKABLE bool openAttachment(const QModelIndex &index); | ||
58 | 58 | | |||
59 | Q_INVOKABLE bool importPublicKey(const QModelIndex &index); | ||||
60 | | ||||
59 | private: | 61 | private: | ||
60 | std::unique_ptr<AttachmentModelPrivate> d; | 62 | std::unique_ptr<AttachmentModelPrivate> d; | ||
61 | }; | 63 | }; |