<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/100444/">http://git.reviewboard.kde.org/r/100444/</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;">The code itself looks fine.
There's a few whitespace issues, you could possibly just pass your code through this:
http://techbase.kde.org/Policies/Kdelibs_Coding_Style#Artistic_Style_.28astyle.29_automatic_code_formatting
The private classes which only contain a pointer to the UI are a bit pointless, I imagine you just copied them from somewhere else. All the plugins seem to have this, I think it's leftover from before a refactor. Leave yours in if you like, and I'll tidy up all of the plugins together.</pre>
<br />
<div>
<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
<thead>
<tr>
<th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
<a href="http://git.reviewboard.kde.org/r/100444/diff/3/?file=9104#file9104line49" style="color: black; font-weight: bold; text-decoration: underline;">rakia/rakia-account-ui-plugin.cpp</a>
<span style="font-weight: normal;">
(Diff revision 3)
</span>
</th>
</tr>
</thead>
<tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
<tr>
<td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">RakiaAccountUiPlugin::RakiaAccountUiPlugin (QObject *parent, const QVariantList &)</pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">49</font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "> <span class="n">registerProvidedProtocol</span><span class="p">(</span><span class="s">"sofiasip"</span><span class="p">,</span> <span class="s">"sip"</span><span class="p">);</span></pre></td>
</tr>
</tbody>
</table>
<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">put a comment explaining why you're handling two CMs. A future coder won't have your review comments to refer to.
</pre>
</div>
<br />
<div>
<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
<thead>
<tr>
<th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
<a href="http://git.reviewboard.kde.org/r/100444/diff/3/?file=9106#file9106line108" style="color: black; font-weight: bold; text-decoration: underline;">rakia/rakia-account-ui.cpp</a>
<span style="font-weight: normal;">
(Diff revision 3)
</span>
</th>
</tr>
</thead>
<tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
<tr>
<td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<td colspan="2"><pre style="font-size: 8pt; line-height: 140%; margin: 0; ">AbstractAccountParametersWidget *RakiaAccountUi::advancedOptionsWidget(</pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">108</font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "> <span class="n">widget</span><span class="o">-></span><span class="n">addTab</span><span class="p">(</span><span class="n">aowidget</span><span class="p">,</span> <span class="s">"Advanced Options"</span><span class="p">);</span></pre></td>
</tr>
</tbody>
</table>
<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Not much point using the GenericAdvancedOptionsWidget if you only have one tab.
You can always add it if/when you need it. (it's only two lines)</pre>
</div>
<br />
<div>
<table width="100%" border="0" bgcolor="white" style="border: 1px solid #C0C0C0; border-collapse: collapse; margin: 2px padding: 2px;">
<thead>
<tr>
<th colspan="4" bgcolor="#F0F0F0" style="border-bottom: 1px solid #C0C0C0; font-size: 9pt; padding: 4px 8px; text-align: left;">
<a href="http://git.reviewboard.kde.org/r/100444/diff/3/?file=9108#file9108line28" style="color: black; font-weight: bold; text-decoration: underline;">rakia/rakia-advanced-options-widget.cpp</a>
<span style="font-weight: normal;">
(Diff revision 3)
</span>
</th>
</tr>
</thead>
<tbody style="background-color: #e4d9cb; padding: 4px 8px; text-align: center;">
<tr>
<td colspan="4"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th bgcolor="#b1ebb0" style="border-right: 1px solid #C0C0C0;" align="right"><font size="2"></font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "></pre></td>
<th bgcolor="#b1ebb0" style="border-left: 1px solid #C0C0C0; border-right: 1px solid #C0C0C0;" align="right"><font size="2">28</font></th>
<td bgcolor="#c5ffc4" width="50%"><pre style="font-size: 8pt; line-height: 140%; margin: 0; "><span class="k">class</span> <span class="nc">RakiaAdvancedOptionsWidget</span><span class="o">::</span><span class="n">Private</span></pre></td>
</tr>
</tbody>
</table>
<pre style="margin-left: 2em; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">We don't really need a private class.
As we're not part of a library here we can have as many member variables as we like
(such as m_ui).</pre>
</div>
<br />
<p>- David</p>
<br />
<p>On February 13th, 2011, 5:35 p.m., Florian Reinhard wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.orgrb/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 Florian Reinhard.</div>
<p style="color: grey;"><i>Updated Feb. 13, 2011, 5:35 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;">the following telepathy-sofiasip parameters are implemented:
account
password
alias
auth-user
registrar
proxy-host
port
transport
discover-stun
stun-server
stun-port
discover-binding
loose-routing
keepalive-mechanism
keepalive-interval
these are missing atm:
immutable-streams
local-ip-address
local-port
extra-auth-user
extra-auth-password
</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;">add new account
edit existing account
connect</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>rakia/rakia-account-ui.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/kcmtelepathyaccounts_plugin_rakia.desktop <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-account-ui-plugin.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-account-ui-plugin.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/Messages.sh <span style="color: grey">(PRE-CREATION)</span></li>
<li>CMakeLists.txt <span style="color: grey">(9aec0ecf2243e302d3cd01f1c4bd246f6e248305)</span></li>
<li>rakia/CMakeLists.txt <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-account-ui.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-advanced-options-widget.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-advanced-options-widget.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-advanced-options-widget.ui <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-main-options-widget.h <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-main-options-widget.cpp <span style="color: grey">(PRE-CREATION)</span></li>
<li>rakia/rakia-main-options-widget.ui <span style="color: grey">(PRE-CREATION)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/100444/diff/" style="margin-left: 3em;">View Diff</a></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Screenshots </h1>
<div>
<a href="http://git.reviewboard.kde.org/r/100444/s/55/"><img src="http://git.reviewboard.kde.org/media/uploaded/images/2011/01/26/telepathy_sofiasip_400x100.png" style="border: 1px black solid;" alt="Main Options and Advanced Options" /></a>
<a href="http://git.reviewboard.kde.org/r/100444/s/76/"><img src="http://git.reviewboard.kde.org/media/uploaded/images/2011/02/13/telepathy_rakia_400x100.png" style="border: 1px black solid;" alt="as implemented in diff r3" /></a>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>