[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kate] part/script/data/files/quickcoding/cpp: fixes
From: Christoph Cullmann <cullmann () kde ! org>
Date: 2012-10-31 23:03:29
Message-ID: 20121031230329.84658A6078 () git ! kde ! org
[Download RAW message or body]
Git commit 7424ee67381f10366f81ee844ba4ec6d9efe2f81 by Christoph Cullmann.
Committed on 01/11/2012 at 00:03.
Pushed by cullmann into branch 'master'.
fixes
M +2 -2 part/script/data/files/quickcoding/cpp/a.template
http://commits.kde.org/kate/7424ee67381f10366f81ee844ba4ec6d9efe2f81
diff --git a/part/script/data/files/quickcoding/cpp/a.template \
b/part/script/data/files/quickcoding/cpp/a.template index 73eaa60..6cc9068 \
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 <%= n %>.
* @return <%= n %>
*/
-<%= t %><% if (t.match(/[&\*]$/)) { %> <% } %><%= n %> () const<% if \
(typeof(i)!== 'undefined') { %> +<%= t %><% if (!t.match(/[&\*]$/)) { %> <% \
} %><%= n %> () const<% if (typeof(i)!== 'undefined') { %> {
return m_<%= n %>;
}<% } else { %>;<% }%>
@@ -11,7 +11,7 @@
* Set value of <%= n %>.
* @param <%= n %> new value of <%= n %>
*/
-void set<% n.capitalize(); %> (<%= t %><% if (t.match(/[&\*]$/)) { %> <% } \
%><%= n %>)<% if (typeof(i)!== 'undefined') { %> +void set<% \
n.capitalize(); %> (<%= t %><% if (!t.match(/[&\*]$/)) { %> <% } %><%= n \
%>)<% if (typeof(i)!== 'undefined') { %> {
m_<%= n %> = <%= n %>;
}<% } else { %>;<% }%>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic