<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/103908/">http://git.reviewboard.kde.org/r/103908/</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;">This review has been submitted with commit 1df722aa5c796647e87dfbc9690d63e1bf5c53f2 by Lasath Fernando to branch master.</pre>
 <br />







<p>- Commit</p>


<br />
<p>On February 9th, 2012, 11:08 p.m., David Edmundson wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Telepathy.</div>
<div>By David Edmundson.</div>


<p style="color: grey;"><i>Updated Feb. 9, 2012, 11:08 p.m.</i></p>






<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;">I'm afraid this patch is a bit huge, but that's just because I've been working hard :-D

In the plasmoid:
Convert plasmoid to a handler from an observer
Support delegate channels (via a nasty hack currently)
Add popout button to delegate to main text UI
Merge the conversationsModel and handler into one class
Fix exposing a load of items to QML for no reason.
Some additional tidying. (and some additional messying :-) )

In the textUI:
Always raise the window in the main Text UI handleChannel unless hint explicitly says otherwise.
Additionally fixes a bug in which reconnecting an account could cause the tabs to 'randomly' switch.

Requires a one line patch in the contact list:

-    hints.setHint("org.kde.telepathy","forceRaiseWindow", QVariant(true));

+    hints.setHint("org.freedesktop.Telepathy.ChannelRequest","DelegateToPreferredHandler", QVariant(true)); 

I'll do delegateChannels properly in TpQt at some point, but I need to know what would happen and we can get this work going in parallel. Also means I have a nice way to test TpQt.
</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>app/chat-tab.cpp <span style="color: grey">(a39526319d90d4c5ddb8e252929f6a0ba3c58640)</span></li>

 <li>app/telepathy-chat-ui.cpp <span style="color: grey">(91ef0e323956c3e376b15843d2f531a277f10a95)</span></li>

 <li>plasmoid/declarative-plugin/channel-delegator.h <span style="color: grey">(PRE-CREATION)</span></li>

 <li>plasmoid/declarative-plugin/conversation.h <span style="color: grey">(78fd38dffa7e5e0df230c55440519c05f47f8bf4)</span></li>

 <li>plasmoid/declarative-plugin/conversation.cpp <span style="color: grey">(c2f707a10e3f7715ac1e9a2af3c6d857f1f28f38)</span></li>

 <li>plasmoid/declarative-plugin/conversations-model.h <span style="color: grey">(a4c0f0382f44980445c53cb49df5b367a2ab6146)</span></li>

 <li>plasmoid/declarative-plugin/conversations-model.cpp <span style="color: grey">(3967bffa9cad05e33e63a6097ef856ed41eeaa50)</span></li>

 <li>plasmoid/declarative-plugin/messages-model.h <span style="color: grey">(fe47a0092deb632e795f644c95224bff599553ed)</span></li>

 <li>plasmoid/declarative-plugin/messages-model.cpp <span style="color: grey">(6cc7c90eae3f1a8ad34e661c2983488ec0f273ac)</span></li>

 <li>plasmoid/declarative-plugin/qml-plugins.cpp <span style="color: grey">(44effaebba2ad04a5a4ea859350de58d7c0d34e5)</span></li>

 <li>plasmoid/declarative-plugin/telepathy-text-observer.h <span style="color: grey">(6658ee57db72abea2c3ae53407467d64fdd47273)</span></li>

 <li>plasmoid/declarative-plugin/telepathy-text-observer.cpp <span style="color: grey">(58cf736834fe194a9b9088b4086ad3dcabbe95df)</span></li>

 <li>plasmoid/org.kde.ktp-chatplasmoid/contents/ui/ChatWidget.qml <span style="color: grey">(07b67ecfb6a731be758b3ed3624b1be56b1e3411)</span></li>

 <li>plasmoid/org.kde.ktp-chatplasmoid/contents/ui/main.qml <span style="color: grey">(0af180b35cf60074b33b5f4a53547b21e5c1d474)</span></li>

</ul>

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




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








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