<table><tr><td style="">broulik created this revision.<br />broulik added reviewers: Frameworks, nicolasfella, dfaure.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />broulik requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D28295">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This can be used for job error reporting using <tt style="background: #ebebeb; font-size: 13px;">KNotification</tt> rather than a <tt style="background: #ebebeb; font-size: 13px;">KDialog</tt>.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p><a href="https://phabricator.kde.org/F8199446" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F8199446: Screenshot_20200326_092153.png</a></p>
<p>As discussed in <a href="https://phabricator.kde.org/D28286" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">D28286</a></p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">auto *job = new KIO::ApplicationLauncherJob(service);
auto *delegate = new KNotificationJobUiDelegate;
delegate->setAutoErrorHandlingEnabled(true);
job->setUiDelegate(delegate);
job->start();</pre></div>
<p>Is there a way to get the job description/title outside of its <tt style="background: #ebebeb; font-size: 13px;">description</tt> emission? I kinda would like to show the job title in the notification but I don't see how.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R289 KNotifications</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D28295">https://phabricator.kde.org/D28295</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/CMakeLists.txt<br />
src/knotificationjobuidelegate.cpp<br />
src/knotificationjobuidelegate.h</div></div></div><br /><div><strong>To: </strong>broulik, Frameworks, nicolasfella, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns<br /></div>