equal
deleted
inserted
replaced
24 |
24 |
25 class LogsEvent; |
25 class LogsEvent; |
26 class LogsDbConnector; |
26 class LogsDbConnector; |
27 class LogsModelItemContainer; |
27 class LogsModelItemContainer; |
28 class LogsContact; |
28 class LogsContact; |
|
29 class LogsConfigurationParams; |
29 |
30 |
30 /** |
31 /** |
31 * Abstract logs model. |
32 * Abstract logs model. |
32 * |
33 * |
33 */ |
34 */ |
73 * @param enabled, specify whether cenrep key will be set to 1 or 2 |
74 * @param enabled, specify whether cenrep key will be set to 1 or 2 |
74 * @ return 0 if cenrep key value modified succesfully, |
75 * @ return 0 if cenrep key value modified succesfully, |
75 * -1 in case of some error |
76 * -1 in case of some error |
76 */ |
77 */ |
77 int setPredictiveSearch(bool enabled); |
78 int setPredictiveSearch(bool enabled); |
|
79 int updateConfiguration(LogsConfigurationParams& params); |
78 |
80 |
79 public: |
81 public: |
80 |
82 |
81 static QString directionIconName(const LogsEvent& event); |
83 static QString directionIconName(const LogsEvent& event); |
82 static QString typeIconName(const LogsEvent& event); |
84 static QString typeIconName(const LogsEvent& event); |
95 |
97 |
96 LogsDbConnector* mDbConnector; |
98 LogsDbConnector* mDbConnector; |
97 |
99 |
98 public: // test data |
100 public: // test data |
99 int mPredectiveSearchStatus; |
101 int mPredectiveSearchStatus; |
|
102 static bool mParamUpdated; |
100 |
103 |
101 private: |
104 private: |
102 |
105 |
103 friend class UT_LogsModel; |
106 friend class UT_LogsModel; |
104 friend class UT_LogsDetailsModel; |
107 friend class UT_LogsDetailsModel; |