| 175 | } |
| 176 | |
| 177 | bool BitmapFactoryInst::findPixmapInCache(const char* name, QPixmap& px) const |
| 178 | { |
| 179 | QMap<std::string, QPixmap>::Iterator it = d->xpmCache.find(name); |
| 180 | if (it != d->xpmCache.end()) { |
| 181 | px = it.value(); |
| 182 | return true; |
| 183 | } |
| 184 | return false; |
| 185 | } |
| 186 | |
| 187 | QIcon BitmapFactoryInst::iconFromTheme(const char* name, const QIcon& fallback) |
| 188 | { |
no test coverage detected