| 461 | } |
| 462 | |
| 463 | const QIcon AnnotationActionHandlerPrivate::stampIcon(const QString &stampIconName) |
| 464 | { |
| 465 | QPixmap stampPix = Okular::AnnotationUtils::loadStamp(stampIconName, QSize(32, 32)); |
| 466 | if (stampPix.width() == stampPix.height()) { |
| 467 | return QIcon(stampPix); |
| 468 | } else { |
| 469 | return QIcon::fromTheme(QStringLiteral("tag")); |
| 470 | } |
| 471 | } |
| 472 | |
| 473 | void AnnotationActionHandlerPrivate::selectTool(int toolId) |
| 474 | { |
no test coverage detected