Git commit ee41f58bcce31b7ca2dd70dfcd104dd0d5e7a580 by Christoph Cullmann. Committed on 01/11/2012 at 00:02. Pushed by cullmann into branch 'master'. fixes M +2 -2 part/script/data/files/quickcoding/cpp/a.template http://commits.kde.org/kate/ee41f58bcce31b7ca2dd70dfcd104dd0d5e7a580 diff --git a/part/script/data/files/quickcoding/cpp/a.template b/part/scrip= t/data/files/quickcoding/cpp/a.template index 68574de..73eaa60 100644 --- a/part/script/data/files/quickcoding/cpp/a.template +++ b/part/script/data/files/quickcoding/cpp/a.template @@ -2,7 +2,7 @@ * Get value of <%=3D n %>. * @return <%=3D n %> */ -<%=3D t %><% if (t.match(/\w$/)) { %> <% } %><%=3D n %> () const<% if (typ= eof(i)!=3D=3D 'undefined') { %> +<%=3D t %><% if (t.match(/[&\*]$/)) { %> <% } %><%=3D n %> () const<% if (= typeof(i)!=3D=3D 'undefined') { %> { return m_<%=3D n %>; }<% } else { %>;<% }%> @@ -11,7 +11,7 @@ * Set value of <%=3D n %>. * @param <%=3D n %> new value of <%=3D n %> */ -void set<% n.capitalize(); %> (<%=3D t %> <%=3D n %>)<% if (typeof(i)!=3D= =3D 'undefined') { %> +void set<% n.capitalize(); %> (<%=3D t %><% if (t.match(/[&\*]$/)) { %> <%= } %><%=3D n %>)<% if (typeof(i)!=3D=3D 'undefined') { %> { m_<%=3D n %> =3D <%=3D n %>; }<% } else { %>;<% }%>