| 106 | }; |
| 107 | |
| 108 | class LoadedPluginsDelegate : public KWidgetItemDelegate |
| 109 | { |
| 110 | Q_OBJECT |
| 111 | |
| 112 | public: |
| 113 | |
| 114 | explicit LoadedPluginsDelegate(QAbstractItemView *itemView, QObject *parent = nullptr) |
| 115 | : KWidgetItemDelegate(itemView, parent) |
| 116 | , pushButton(new QPushButton) |
| 117 | { |
| 118 | pushButton->setIcon(QIcon::fromTheme(QStringLiteral("help-about-symbolic"))); // only for getting size matters |
| 119 | } |
| 120 | |
| 121 | ~LoadedPluginsDelegate() override |
| 122 | { |