|
60 | 60 | #include <QVariantMap> |
61 | 61 | #include <Qt> |
62 | 62 |
|
63 | | -static const char COLUMN[] = "column"; |
64 | | -static const char CWE[] = "cwe"; |
65 | | -static const char ERRORID[] = "id"; |
66 | | -static const char FILENAME[] = "file"; |
67 | | -static const char FILE0[] = "file0"; |
68 | | -static const char HASH[] = "hash"; |
69 | | -static const char HIDE[] = "hide"; |
70 | | -static const char INCONCLUSIVE[] = "inconclusive"; |
71 | | -static const char LINE[] = "line"; |
72 | | -static const char MESSAGE[] = "message"; |
73 | | -static const char SEVERITY[] = "severity"; |
74 | | -static const char SINCEDATE[] = "sinceDate"; |
75 | | -static const char SYMBOLNAMES[] = "symbolNames"; |
76 | | -static const char SUMMARY[] = "summary"; |
77 | | -static const char TAGS[] = "tags"; |
| 63 | +static constexpr char COLUMN[] = "column"; |
| 64 | +static constexpr char CWE[] = "cwe"; |
| 65 | +static constexpr char ERRORID[] = "id"; |
| 66 | +static constexpr char FILENAME[] = "file"; |
| 67 | +static constexpr char FILE0[] = "file0"; |
| 68 | +static constexpr char HASH[] = "hash"; |
| 69 | +static constexpr char HIDE[] = "hide"; |
| 70 | +static constexpr char INCONCLUSIVE[] = "inconclusive"; |
| 71 | +static constexpr char LINE[] = "line"; |
| 72 | +static constexpr char MESSAGE[] = "message"; |
| 73 | +static constexpr char SEVERITY[] = "severity"; |
| 74 | +static constexpr char SINCEDATE[] = "sinceDate"; |
| 75 | +static constexpr char SYMBOLNAMES[] = "symbolNames"; |
| 76 | +static constexpr char SUMMARY[] = "summary"; |
| 77 | +static constexpr char TAGS[] = "tags"; |
78 | 78 |
|
79 | 79 | // These must match column headers given in ResultsTree::translate() |
80 | | -static const int COLUMN_SINCE_DATE = 6; |
81 | | -static const int COLUMN_TAGS = 7; |
| 80 | +static constexpr int COLUMN_SINCE_DATE = 6; |
| 81 | +static constexpr int COLUMN_TAGS = 7; |
82 | 82 |
|
83 | 83 | ResultsTree::ResultsTree(QWidget * parent) : |
84 | 84 | QTreeView(parent) |
|
0 commit comments