aboutsummaryrefslogtreecommitdiffstats
path: root/include/ui/AttachmentTableModel.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-05-12 02:14:58 +0000
committerSaturneric <[email protected]>2021-05-12 02:14:58 +0000
commit26691b14d7d3294769c1cb0d0e099efd75dcc6c6 (patch)
tree7e16cb949955e635bada530ba7fd23a43ef8e4bb /include/ui/AttachmentTableModel.h
parentSrouce Files Tidy and Reform (diff)
downloadGpgFrontend-26691b14d7d3294769c1cb0d0e099efd75dcc6c6.tar.gz
GpgFrontend-26691b14d7d3294769c1cb0d0e099efd75dcc6c6.zip
File Structure Modified.
Change Headers and Source Files Name. Modified CMake Structure.
Diffstat (limited to '')
-rw-r--r--include/ui/AttachmentTableModel.h (renamed from include/attachmenttablemodel.h)6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/attachmenttablemodel.h b/include/ui/AttachmentTableModel.h
index 9e9d937a..6c60f484 100644
--- a/include/attachmenttablemodel.h
+++ b/include/ui/AttachmentTableModel.h
@@ -22,7 +22,7 @@
#ifndef __ATTACHMENTTABLEMODEL_H__
#define __ATTACHMENTTABLEMODEL_H__
-#include "mime.h"
+#include "Mime.h"
class AttachmentTableModel : public QAbstractTableModel {
Q_OBJECT
@@ -36,9 +36,9 @@ public:
int columnCount(const QModelIndex &parent) const override;
- QVariant data(const QModelIndex &index, int role) const override;
+ [[nodiscard]] QVariant data(const QModelIndex &index, int role) const override;
- QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
+ [[nodiscard]] QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
void add(const MimePart& mp);