From 936d50678020204bb2ca0ebb66b9dc17084a811a Mon Sep 17 00:00:00 2001 From: Ali Hatami Date: Sun, 2 Jun 2024 17:35:13 +0330 Subject: [PATCH] Move column enum public --- gui/viewmodel/table/LogTableModel.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/gui/viewmodel/table/LogTableModel.h b/gui/viewmodel/table/LogTableModel.h index 3cc9810..3f31e0f 100644 --- a/gui/viewmodel/table/LogTableModel.h +++ b/gui/viewmodel/table/LogTableModel.h @@ -15,6 +15,19 @@ class LogTableModel : public QAbstractTableModel Q_OBJECT public: + enum ELogColumn : int + { + id, + level, + timestamp, + file, + func, + lineno, + msg, + scope, + threadId, + }; + LogTableModel(LogWarehouse_ptr warehouse); ~LogTableModel() override; @@ -29,19 +42,6 @@ public: int role = Qt::DisplayRole) const override; private: - enum ELogColumn : int - { - id, - level, - timestamp, - file, - func, - lineno, - msg, - scope, - threadId, - }; - QMap _columnMap; LogWarehouse_ptr _warehouse;