LCOV - code coverage report
Current view: top level - lib/FangFeedParser - RawNews.h (source / functions) Coverage Total Hit
Test: coverage.info.cleaned Lines: 100.0 % 1 1
Test Date: 2026-04-19 00:35:54 Functions: 100.0 % 1 1

            Line data    Source code
       1              : #ifndef RAWNEWS_H
       2              : #define RAWNEWS_H
       3              : 
       4              : #include <QDateTime>
       5              : #include <QUrl>
       6              : #include <QString>
       7              : 
       8              : class RawNews
       9              : {
      10              : public:
      11         2326 :     RawNews() = default;
      12              : 
      13              :     QString title;
      14              :     QString author;
      15              :     QString description;
      16              :     QString content;
      17              :     QDateTime timestamp;
      18              :     QUrl url;
      19              :     QString guid;
      20              :     QString mediaImageURL;
      21              : 
      22              :     // Sorting
      23              :     bool operator<(const RawNews& right);
      24              :     static bool LessThan(const RawNews* left, const RawNews* right);
      25              :     static bool GreaterThan(const RawNews* left, const RawNews* right);
      26              : };
      27              : 
      28              : #endif // RAWNEWS_H
        

Generated by: LCOV version 2.0-1