equal
deleted
inserted
replaced
17 |
17 |
18 //USER |
18 //USER |
19 #include "logscommondata.h" |
19 #include "logscommondata.h" |
20 #include "logslogger.h" |
20 #include "logslogger.h" |
21 #include "logsconfigurationparams.h" |
21 #include "logsconfigurationparams.h" |
|
22 #include "logsengdefs.h" |
22 |
23 |
23 //SYSTEM |
24 //SYSTEM |
24 #include <qcontactmanager.h> |
25 #include <qcontactmanager.h> |
25 |
26 |
26 |
27 |
29 // ----------------------------------------------------------------------------- |
30 // ----------------------------------------------------------------------------- |
30 // |
31 // |
31 // ----------------------------------------------------------------------------- |
32 // ----------------------------------------------------------------------------- |
32 // |
33 // |
33 LogsCommonData::LogsCommonData() : |
34 LogsCommonData::LogsCommonData() : |
34 mContactManager(0), mMaxReadSize(-1), mMaxReadSizeDir(LogsEvent::DirUndefined) |
35 mContactManager(0), mMaxReadSize(-1), |
|
36 mMaxReadSizeDir(LogsEvent::DirUndefined), mMatchLen(logsDefaultMatchLength) |
35 { |
37 { |
36 LOGS_QDEBUG( "logs [ENG] <-> LogsCommonData::LogsCommonData()" ) |
38 LOGS_QDEBUG( "logs [ENG] <-> LogsCommonData::LogsCommonData()" ) |
37 } |
39 } |
38 |
40 |
39 // ----------------------------------------------------------------------------- |
41 // ----------------------------------------------------------------------------- |
127 // |
129 // |
128 LogsConfigurationParams& LogsCommonData::currentConfiguration() |
130 LogsConfigurationParams& LogsCommonData::currentConfiguration() |
129 { |
131 { |
130 return mConfiguration; |
132 return mConfiguration; |
131 } |
133 } |
|
134 |
|
135 // ----------------------------------------------------------------------------- |
|
136 // |
|
137 // ----------------------------------------------------------------------------- |
|
138 // |
|
139 void LogsCommonData::setTelNumMatchLen(int matchLen) |
|
140 { |
|
141 mMatchLen = matchLen; |
|
142 } |
|
143 |
|
144 // ----------------------------------------------------------------------------- |
|
145 // |
|
146 // ----------------------------------------------------------------------------- |
|
147 // |
|
148 int LogsCommonData::telNumMatchLen() const |
|
149 { |
|
150 return mMatchLen; |
|
151 } |
|
152 |
132 // End of file |
153 // End of file |
133 |
154 |