File indexing completed on 2024-05-05 16:27:56
0001 // SPDX-FileCopyrightText: 2003 - 2010 Jesper K. Pedersen <blackie@kde.org> 0002 // SPDX-FileCopyrightText: 2023 Johannes Zarl-Zierl <johannes@zarl-zierl.at> 0003 // 0004 // SPDX-License-Identifier: GPL-2.0-or-later 0005 0006 #ifndef BROWSER_ENUMS_H 0007 #define BROWSER_ENUMS_H 0008 0009 #include <Qt> 0010 0011 namespace Browser 0012 { 0013 0014 constexpr int ItemNameRole = Qt::UserRole + 1; 0015 constexpr int ValueRole = Qt::UserRole + 2; 0016 constexpr int SortPriorityRole = Qt::UserRole + 3; ///< int, can be used to define "sort classes". I.e. items with the same priority are sorted alphabetically, but lower priorities are always sorted before higher priorities. 0017 } 0018 0019 #endif /* BROWSER_ENUMS_H */ 0020 0021 // vi:expandtab:tabstop=4 shiftwidth=4: