| 357 | |
| 358 | #if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) |
| 359 | void QLinkedList1() |
| 360 | { |
| 361 | // cppcheck-suppress unreadVariable |
| 362 | QLinkedList<QString> qstringLinkedList1{"one", "two"}; |
| 363 | |
| 364 | QLinkedList<QString> qstringLinkedList2 = {"one", "two"}; |
| 365 | qstringLinkedList2.clear(); |
| 366 | |
| 367 | QLinkedList<QString> qstringLinkedList3; |
| 368 | qstringLinkedList3 << "one" << "two"; |
| 369 | // cppcheck-suppress ignoredReturnValue |
| 370 | qstringLinkedList3.startsWith("one"); |
| 371 | // cppcheck-suppress ignoredReturnValue |
| 372 | qstringLinkedList3.endsWith("one"); |
| 373 | // cppcheck-suppress ignoredReturnValue |
| 374 | qstringLinkedList3.count(); |
| 375 | // cppcheck-suppress ignoredReturnValue |
| 376 | qstringLinkedList3.size(); |
| 377 | |
| 378 | QLinkedList<QString> qstringLinkedList4; |
| 379 | qstringLinkedList4.append("a"); |
| 380 | qstringLinkedList4.clear(); |
| 381 | } |
| 382 | |
| 383 | QLinkedList<int>::iterator QLinkedList3() |
| 384 | { |
nothing calls this directly
no test coverage detected