! * returns the preview pixmap for the example project \c name. */
| 135 | * returns the preview pixmap for the example project \c name. |
| 136 | */ |
| 137 | QPixmap ExamplesManager::pixmap(const QString& name) const { |
| 138 | if (name.isEmpty()) |
| 139 | return {}; |
| 140 | |
| 141 | return m_pixmaps[name]; |
| 142 | } |
| 143 | |
| 144 | QString ExamplesManager::description(const QString& name) const { |
| 145 | return m_descriptions[name]; |
no test coverage detected