<table><tr><td style="">hallas 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/D20209">View Revision</a></tr></table><br /><div><div><p>Hi <a href="https://phabricator.kde.org/p/dfaure/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@dfaure</a> - I looked into this a bit more and have run into a problem, I hope you can help solve. The problem is that when I add a getter and a setter for the number of open tabs, I need to store the value somewhere in <tt style="background: #ebebeb; font-size: 13px;">KBookmarkOwner</tt> but I guess I cannot add a member variable, since that breaks binary compatibility. But luckily this class has a d-Pointer <tt style="background: #ebebeb; font-size: 13px;">KBookmarkOwnerPrivate</tt> in the member variable <tt style="background: #ebebeb; font-size: 13px;">d</tt>, but there is no definition of <tt style="background: #ebebeb; font-size: 13px;">KBookmarkOwnerPrivate</tt> and therefore it is not constructed anywhere, this is not a problem since I could just make one, the problem is that the virtual destructor for <tt style="background: #ebebeb; font-size: 13px;">KBookmarkOwner</tt> is implemented directly in the header file, and I don't think I can move (and change) the implementation to the .cpp file without breaking binary compatibility? Also I should probably also implement a copy constructor and assignment operator in <tt style="background: #ebebeb; font-size: 13px;">KBookmarkOwner</tt> if we actually use the d-Pointer, right? And this would also break binary compatibility.</p>

<p>I hope you can provide some guidance :D</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R294 KBookmarks</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20209">https://phabricator.kde.org/D20209</a></div></div><br /><div><strong>To: </strong>hallas, Frameworks, ngraham, cfeck, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>