<table><tr><td style="">hein added a comment.</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/D2379" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>To export WindowTasksModel directly?</p></blockquote>

<p>It's already exported ...? See the change to CMakeLists.txt and the TASKMANAGER_EXPORT macro.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>You'd still need to go via TaskFilterProxyModel</p></blockquote>

<p>Yes, TaskFilterProxyModel is also useful with some changes (see <a href="https://phabricator.kde.org/D2380" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">D2380</a>).</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>and for the pager you'd need AbstractTasksModelIface too (for setVirtualDesktop)</p></blockquote>

<p>Indeed, libtaskmanager also installs the abstracttasksmodeliface.h header.</p>

<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>...at which point you're pretty much back at using half of TasksModel anyway?</p></blockquote>

<p>That's addressed in the review request description: The Pager doesn't care about startup notifications, or launchers, or TasksModel's sort modes, or grouping, or has a need for a ConcatenateTasksProxyModel, ... all it wants to share with TasksModel is the window tasks sub-model (and from libtaskmanager it also wants to use TaskFilterProxyModel).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2379" rel="noreferrer">https://phabricator.kde.org/D2379</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>hein, Plasma, mart, davidedmundson<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>