| 41 | return librariesList.at(currentLibraryIndex)->name; |
| 42 | } |
| 43 | int YACReaderLibraryListWidget::findText(QString text) |
| 44 | { |
| 45 | for (int i = 0; i < librariesList.count(); i++) { |
| 46 | if (librariesList.at(i)->name == text) |
| 47 | return i; |
| 48 | } |
| 49 | return -1; |
| 50 | } |
| 51 | void YACReaderLibraryListWidget::setCurrentIndex(int index) |
| 52 | { |
| 53 | if (index >= 0 && index < librariesList.count()) { |
no outgoing calls
no test coverage detected