59 LogsEvent::LogsDirection maxReadSizeDirection() const; |
61 LogsEvent::LogsDirection maxReadSizeDirection() const; |
60 |
62 |
61 int updateConfiguration(const LogsConfigurationParams& params); |
63 int updateConfiguration(const LogsConfigurationParams& params); |
62 LogsConfigurationParams& currentConfiguration(); |
64 LogsConfigurationParams& currentConfiguration(); |
63 |
65 |
64 void setTelNumMatchLen(int matchLen); |
|
65 int telNumMatchLen() const; |
66 int telNumMatchLen() const; |
|
67 |
|
68 /** |
|
69 * Returns cenrep key status of predictive search feature. |
|
70 * @return 0 - feature is permanently off and can't be turned on, |
|
71 * 1 - feature is on |
|
72 * 2 - feature is temporarily off and can be turned on |
|
73 * negative value indicates some error in fetching the key |
|
74 */ |
|
75 int predictiveSearchStatus(); |
|
76 |
|
77 /** |
|
78 * Allows to modify cenrep key value of predictive search features. |
|
79 * However, this function can't be used if feature is set permanently off |
|
80 * (see predictiveSearchStatus()) |
|
81 * @param enabled, specify whether cenrep key will be set to 1 or 2 |
|
82 * @ return 0 if cenrep key value modified succesfully, |
|
83 * -1 in case of some error |
|
84 */ |
|
85 int setPredictiveSearch(bool enabled); |
|
86 |
|
87 /** |
|
88 * Clear missed calls counter. |
|
89 * @return 0 if clearing was success |
|
90 */ |
|
91 int clearMissedCallsCounter(); |
|
92 |
|
93 bool getTelNumMatchLen(int& matchLen); |
|
94 |
|
95 |
|
96 private: |
|
97 |
|
98 int getPredictiveSearchStatus(); |
66 |
99 |
67 private: |
100 private: |
68 |
101 |
69 QContactManager* mContactManager; |
102 QContactManager* mContactManager; |
70 int mMaxReadSize; |
103 int mMaxReadSize; |
71 LogsEvent::LogsDirection mMaxReadSizeDir; |
104 LogsEvent::LogsDirection mMaxReadSizeDir; |
72 LogsConfigurationParams mConfiguration; |
105 LogsConfigurationParams mConfiguration; |
|
106 XQSettingsManager* mSettingsManager; |
73 int mMatchLen; |
107 int mMatchLen; |
74 |
108 int mPredictiveSearchStatus; |
|
109 |
75 private: |
110 private: |
76 friend class UT_LogsCommonData; |
111 friend class UT_LogsCommonData; |
77 friend class UT_LogsModel; |
112 friend class UT_LogsModel; |
78 |
113 |
79 }; |
114 }; |