[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request 126691: Add DBusMenuShortcut type overload for QDBusArgument
From:       "David Edmundson" <david () davidedmundson ! co ! uk>
Date:       2016-01-10 13:06:23
Message-ID: 20160110130623.23702.39409 () mimi ! kde ! org
[Download RAW message or body]

--===============1569806211212013313==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126691/#review90839
-----------------------------------------------------------


That sounds like you're saying Qt has broken API. 
If that's true, they'll want to know about it.

- David Edmundson


On Jan. 10, 2016, 1:59 a.m., Dāvis Mosāns wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126691/
> -----------------------------------------------------------
> 
> (Updated Jan. 10, 2016, 1:59 a.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> Add DBusMenuShortcut type overload for QDBusArgument.
> I don't know if there's a better way to fix this than this kinda code duplication.
> 
> 
> This is needed because otherwise it wouldn't compile with latest Qt dev branch. \
> It's probably because QList<T> overload was removed in \
> http://code.qt.io/cgit/qt/qtbase.git/commit/src/dbus/qdbusargument.h?h=dev&id=5f542f3cca13f2da58b82aee2efbaffefeee00a7
>  
> and Container<T> doesn't work...
> 
> /usr/include/QtDBus/qdbusargument.h:244:29: note: candidate: \
> template<template<class> class Container, class T> const QDBusArgument& \
> operator>>(const QDBusArgument&, Container<T>&) inline const QDBusArgument \
> &operator>>(const QDBusArgument &arg, Container<T> &list) ^
> /usr/include/QtDBus/qdbusargument.h:244:29: note:   template argument \
>                 deduction/substitution failed:
> /mnt/KDE/kde/workspace/plasma-workspace/dataengines/statusnotifieritem/libdbusmenuqt/dbusmenuimporter.cpp:261:16: \
> note:   can't deduce a template for ‘Container<T>' from non-template type \
> ‘DBusMenuShortcut' arg >> dmShortcut;
> ^
> In file included from /usr/include/QtDBus/qdbuspendingreply.h:39:0,
> from /usr/include/QtDBus/qdbusreply.h:44,
> from /usr/include/QtDBus/QDBusReply:1,
> from /mnt/KDE/kde/workspace/plasma-workspace/dataengines/statusnotifieritem/libdbusmenuqt/dbusmenuimporter.cpp:27
>  
> 
> Diffs
> -----
> 
> dataengines/statusnotifieritem/libdbusmenuqt/dbusmenutypes_p.h \
> 4950a22279c09fb93c68fe3d38ff600279e856ca  \
> dataengines/statusnotifieritem/libdbusmenuqt/dbusmenutypes_p.cpp \
> e98c4b93bc8532367ee96138ce72a54f44ac05ca  
> Diff: https://git.reviewboard.kde.org/r/126691/diff/
> 
> 
> Testing
> -------
> 
> Compiles
> 
> 
> Thanks,
> 
> Dāvis Mosāns
> 
> 


--===============1569806211212013313==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 8bit




<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;">  \
<tr>  <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/126691/">https://git.reviewboard.kde.org/r/126691/</a>
  </td>
    </tr>
   </table>
   <br />





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;"><p style="padding: \
0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: inherit;">That \
sounds like you're saying Qt has broken API.  If that's true, they'll want to know \
about it.</p></pre>  <br />









<p>- David Edmundson</p>


<br />
<p>On January 10th, 2016, 1:59 a.m. UTC, Dāvis Mosāns wrote:</p>








<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;">  <tr>
  <td>

<div>Review request for Plasma.</div>
<div>By Dāvis Mosāns.</div>


<p style="color: grey;"><i>Updated Jan. 10, 2016, 1:59 a.m.</i></p>









<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
plasma-workspace
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Add DBusMenuShortcut type overload for QDBusArgument. \
I don't know if there's a better way to fix this than this kinda code \
duplication.</p> <p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">This is needed because otherwise it wouldn't compile \
with latest Qt dev branch. It's probably because QList&lt;T&gt; overload was removed \
in http://code.qt.io/cgit/qt/qtbase.git/commit/src/dbus/qdbusargument.h?h=dev&amp;id=5f542f3cca13f2da58b82aee2efbaffefeee00a7</p>
 <p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">and Container&lt;T&gt; doesn't work...</p> <p \
style="padding: 0;text-rendering: inherit;margin: 0;line-height: inherit;white-space: \
inherit;">/usr/include/QtDBus/qdbusargument.h:244:29: note: candidate: \
template&lt;template&lt;class&gt; class Container, class T&gt; const \
QDBusArgument&amp; operator&gt;&gt;(const QDBusArgument&amp;, \
Container&lt;T&gt;&amp;)  inline const QDBusArgument &amp;operator&gt;&gt;(const \
QDBusArgument &amp;arg, Container&lt;T&gt; &amp;list)  ^
/usr/include/QtDBus/qdbusargument.h:244:29: note:   template argument \
                deduction/substitution failed:
/mnt/KDE/kde/workspace/plasma-workspace/dataengines/statusnotifieritem/libdbusmenuqt/dbusmenuimporter.cpp:261:16: \
note:   can't deduce a template for ‘Container&lt;T&gt;' from non-template type \
‘DBusMenuShortcut'  arg &gt;&gt; dmShortcut;
                ^
In file included from /usr/include/QtDBus/qdbuspendingreply.h:39:0,
                 from /usr/include/QtDBus/qdbusreply.h:44,
                 from /usr/include/QtDBus/QDBusReply:1,
                 from \
/mnt/KDE/kde/workspace/plasma-workspace/dataengines/statusnotifieritem/libdbusmenuqt/dbusmenuimporter.cpp:27</p></pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">Compiles</p></pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>dataengines/statusnotifieritem/libdbusmenuqt/dbusmenutypes_p.h <span \
style="color: grey">(4950a22279c09fb93c68fe3d38ff600279e856ca)</span></li>

 <li>dataengines/statusnotifieritem/libdbusmenuqt/dbusmenutypes_p.cpp <span \
style="color: grey">(e98c4b93bc8532367ee96138ce72a54f44ac05ca)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/126691/diff/" style="margin-left: \
3em;">View Diff</a></p>






  </td>
 </tr>
</table>







  </div>
 </body>
</html>


--===============1569806211212013313==--


[Attachment #3 (text/plain)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic