| 79 | } |
| 80 | |
| 81 | QString AddCacheEntry::typeString() const |
| 82 | { |
| 83 | int idx = this->Type->currentIndex(); |
| 84 | if (idx >= 0 && idx < NumTypes) { |
| 85 | return TypeStrings[idx]; |
| 86 | } |
| 87 | return TypeStrings[DefaultTypeIndex]; |
| 88 | } |
| 89 | |
| 90 | void AddCacheEntry::onCompletionActivated(QString const& text) |
| 91 | { |