<table><tr><td style="">lancaster 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/D17230">View Revision</a></tr></table><br /><div><div><p>According to QT, it looks like trying to make the others work in the new style would require a syntax like this:</p>

<p>...because QSpinBox has two signals named valueChanged() with different arguments. Instead, the new code needs to be:<br />
connect( mySpinBox, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), mySlider, &QSlider::setValue );</p>

<p>They say  "The best thing is probably to recommend not to overload signals or slots …"</p>

<p>But you see, I didn't write the overloaded signals for these classes, QT did.</p>

<p>Do we really want that sort of syntax in the code?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17230">https://phabricator.kde.org/D17230</a></div></div><br /><div><strong>To: </strong>lancaster, mutlaqja<br /><strong>Cc: </strong>yurchor, kde-edu, narvaez, apol<br /></div>