| 239 | } |
| 240 | |
| 241 | int QuickFindWidget::computeSearchFlags() const |
| 242 | { |
| 243 | int searchFlags = 0; |
| 244 | |
| 245 | if (ui->buttonMatchCase->isChecked()) { |
| 246 | searchFlags |= SCFIND_MATCHCASE; |
| 247 | } |
| 248 | |
| 249 | if (ui->buttonWholeWord->isChecked()) { |
| 250 | searchFlags |= SCFIND_WHOLEWORD; |
| 251 | } |
| 252 | |
| 253 | if (ui->buttonRegexp->isChecked()) { |
| 254 | searchFlags |= SCFIND_REGEXP; |
| 255 | } |
| 256 | |
| 257 | return searchFlags; |
| 258 | } |
| 259 | |
| 260 | void QuickFindWidget::setSearchContextColor(const QString &color) |
| 261 | { |
nothing calls this directly
no outgoing calls
no test coverage detected