MCPcopy Create free account
hub / github.com/KDE/falkon / showNotification

Method showNotification

src/plugins/GreaseMonkey/gm_manager.cpp:300–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void GM_Manager::showNotification(const QString &message, const QString &title)
301{
302 QIcon icon(QSL(":gm/data/icon.svg"));
303
304 mApp->desktopNotifications()->showNotification(icon.pixmap(48), title.isEmpty() ? tr("GreaseMonkey") : title, message);
305}
306
307void GM_Manager::load()
308{

Callers 3

acceptedMethod · 0.45
installScriptMethod · 0.45
showErrorNotificationMethod · 0.45

Calls 2

desktopNotificationsMethod · 0.80
pixmapMethod · 0.45

Tested by

no test coverage detected