| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef FEEDRTLBEHAVIOR_H |
| 4 | #define FEEDRTLBEHAVIOR_H |
| 5 | |
| 6 | #include <QMetaType> |
| 7 | |
| 8 | enum class RtlBehavior { |
| 9 | NoRtl = 0, // The item is not RTL. |
| 10 | Everywhere = 1, // RTL is applied everwhere (feed list, article list, article viewer). |
| 11 | OnlyViewer = 2, // Use RTL only in article view, but not in article/feed list. |
| 12 | EverywhereExceptFeedList = 4 // Use RTL everywhere, but not in the feed list. |
| 13 | }; |
| 14 | |
| 15 | Q_DECLARE_METATYPE(RtlBehavior) |
| 16 | |
| 17 | #endif // FEEDRTLBEHAVIOR_H |