<table><tr><td style="">chinmoyr 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/D6829" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>Returning a small class instead of enum doesn't really reduce the number of nested if's (which was why I didn't used an enum in first place). But it offers bit more clarity and readability in if..else statements. The rest depends on me.</p>
<p>I want to confirm if these should be the return values or not<br />
For success : m_success=true m_canceled=false<br />
For failure : m_success = m_failure=false<br />
For canceled: m_success=false m_canceled=true</p></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6829" rel="noreferrer">https://phabricator.kde.org/D6829</a></div></div><br /><div><strong>To: </strong>chinmoyr, dfaure, Frameworks<br /><strong>Cc: </strong>Frameworks<br /></div>