<table><tr><td style="">pino 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/D20169">View Revision</a></tr></table><br /><div><div><p>General notes on the API (not a konsole developer though):</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">an abstract virtual destructor is needed</li>
<li class="remarkup-list-item">in kdelibs/kf5 lingo, the "get" as prefix of API getters is generally not used</li>
<li class="remarkup-list-item"><tt style="background: #ebebeb; font-size: 13px;">setCurrentProfile</tt> instead of <tt style="background: #ebebeb; font-size: 13px;">changeCurrentProfile</tt>? the latter makes me think it does changes to the current profile, rather than setting another profile as current</li>
<li class="remarkup-list-item">wrt <tt style="background: #ebebeb; font-size: 13px;">changeCurrentProfile</tt>: what will it do if the specified profile name does not exist? should the API return true/false to indicate the switch actually succeeded?</li>
<li class="remarkup-list-item">wrt <tt style="background: #ebebeb; font-size: 13px;">getProfilePath</tt>: what if an application does not store a profile as single filename, for example as directory, or even stored e.g. in a DB? maybe it would be better to have this as property of a profile</li>
<li class="remarkup-list-item">is a <tt style="background: #ebebeb; font-size: 13px;">setProfileProperty</tt> worth having?</li>
<li class="remarkup-list-item">is an API to list the available properties worth having?</li>
</ul>
<p>Also: this file is still not installed, so it cannot be used. Maybe just add the new interface to the existing <tt style="background: #ebebeb; font-size: 13px;">kde_terminal_interface.h</tt>?</p></div></div><br /><div><strong>INLINE COMMENTS</strong><div><div style="margin: 6px 0 12px 0;"><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D20169#inline-116286">View Inline</a><span style="color: #4b4d51; font-weight: bold;">terminalprofileinterface.h:1</span></div>
<div style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; white-space: pre-wrap; clear: both; padding: 4px 0; margin: 0;"><div style="padding: 0 8px; margin: 0 4px; background: rgba(151, 234, 151, .6);"><span style="color: #74777d">// interface.h</span>
</div><div style="padding: 0 8px; margin: 0 4px; background: rgba(151, 234, 151, .6);"><span style="color: #74777d">// Copyright (C) 2002 Dominique Devriese <devriese@kde.org></span>
</div></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">either put the right filename, or just remove (IMHO better)</p></div></div><br /><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D20169#inline-116287">View Inline</a><span style="color: #4b4d51; font-weight: bold;">terminalprofileinterface.h:2</span></div>
<div style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; white-space: pre-wrap; clear: both; padding: 4px 0; margin: 0;"><div style="padding: 0 8px; margin: 0 4px; background: rgba(151, 234, 151, .6);"><span style="color: #74777d">// interface.h</span>
</div><div style="padding: 0 8px; margin: 0 4px; background: rgba(151, 234, 151, .6);"><span style="color: #74777d">// Copyright (C) 2002 Dominique Devriese <devriese@kde.org></span>
</div></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">this is certainly yours now</p></div></div><br /><div style="border: 1px solid #C7CCD9; border-radius: 3px;"><div style="padding: 0; background: #F7F7F7; border-color: #e3e4e8; border-style: solid; border-width: 0 0 1px 0; margin: 0;"><div style="color: #74777d; background: #eff2f4; padding: 6px 8px; overflow: hidden;"><a style="float: right; text-decoration: none;" href="https://phabricator.kde.org/D20169#inline-116288">View Inline</a><span style="color: #4b4d51; font-weight: bold;">terminalprofileinterface.h:19</span></div>
<div style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; white-space: pre-wrap; clear: both; padding: 4px 0; margin: 0;"><div style="padding: 0 8px; margin: 0 4px; background: rgba(151, 234, 151, .6);"><span style="color: #304a96">#ifndef KDELIBS_TERMINALPROFILEINTERFACE_H</span>
</div><div style="padding: 0 8px; margin: 0 4px; background: rgba(151, 234, 151, .6);"><span style="color: #304a96">#define KDELIBS_TERMINALPROFILEINTERFACE_H</span>
</div></div></div>
<div style="margin: 8px 0; padding: 0 12px;"><p style="padding: 0; margin: 8px;">I'd go with <tt style="background: #ebebeb; font-size: 13px;">KPARTS_etc</tt> (instead of <tt style="background: #ebebeb; font-size: 13px;">KDELIBS_etc</tt>)</p></div></div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R306 KParts</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20169">https://phabricator.kde.org/D20169</a></div></div><br /><div><strong>To: </strong>mschiller, hindenburg, Konsole, Frameworks, cfeck, hein<br /><strong>Cc: </strong>pino, michaelh, ngraham, bruns<br /></div>