Mercurial > minori
comparison include/gui/pages/torrents.h @ 261:3ec7804abf17
include: make header guards more sane
The C++ standard[1] says:
Each identifier that contains a double underscore __ or
begins with an underscore followed by an uppercase letter
is reserved to the implementation for any use.
[1]: https://timsong-cpp.github.io/cppwp/n4659/lex.name#3.1
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 20:04:28 -0400 |
parents | 862d0d8619f6 |
children |
comparison
equal
deleted
inserted
replaced
260:dd211ff68b36 | 261:3ec7804abf17 |
---|---|
1 #ifndef __gui__pages__torrents_h | 1 #ifndef MINORI_GUI_PAGES_TORRENTS_H_ |
2 #define __gui__pages__torrents_h | 2 #define MINORI_GUI_PAGES_TORRENTS_H_ |
3 | 3 |
4 #include "core/torrent.h" | 4 #include "core/torrent.h" |
5 #include <QAbstractListModel> | 5 #include <QAbstractListModel> |
6 #include <QFrame> | 6 #include <QFrame> |
7 #include <QItemSelection> | 7 #include <QItemSelection> |
79 TorrentsPageListModel* model = nullptr; | 79 TorrentsPageListModel* model = nullptr; |
80 TorrentsPageListSortFilter* sort_model = nullptr; | 80 TorrentsPageListSortFilter* sort_model = nullptr; |
81 QTreeView* treeview = nullptr; | 81 QTreeView* treeview = nullptr; |
82 }; | 82 }; |
83 | 83 |
84 #endif // __gui__pages__torrents_h | 84 #endif // MINORI_GUI_PAGES_TORRENTS_H_ |