┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/servicemodel.h
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2025-10-18 12:35:49 +0200
committerMéven Car <[email protected]>2025-10-23 15:41:44 +0000
commit36c29512d571236e6c112bf633365221323e9086 (patch)
tree885bd35452300c560fef484375eff9268c9be9bf /src/settings/servicemodel.h
parent2a3f1badca2a5f21bfb62022d3ff435c7e74cca7 (diff)
PreviewSettings: add a tooltip showing the filename of plugins
So users can identify them and distinguish them when two plugins provide the same mimetype support or help figure out devs where the plugins are loaded from.
Diffstat (limited to 'src/settings/servicemodel.h')
-rw-r--r--src/settings/servicemodel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings/servicemodel.h b/src/settings/servicemodel.h
index 0abe1fe46..956ddb2bc 100644
--- a/src/settings/servicemodel.h
+++ b/src/settings/servicemodel.h
@@ -17,6 +17,7 @@
* - Qt::DisplayRole: Name of the service
* - Qt::DecorationRole: Icon name of the service
* - Qt::CheckStateRole: Specifies whether the service is enabled
+ * - Qt::Tooltip: a tooltip
* - ServiceModel::DesktopEntryNameRole: Name of the desktop-entry of the service
* - ServiceModel::Configurable: Specifies whether the service is configurable by the user
*/
@@ -43,6 +44,7 @@ private:
QString icon;
QString text;
QString desktopEntryName;
+ QString tooltip;
};
QList<ServiceItem> m_items;