From f2a3ae94fd26f7789ccfd33036512f513ba0c32a Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sun, 1 Jan 2012 21:51:13 +0100 Subject: [PATCH] fix: make transaction getters const --- woc/qt/qtctrans.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/woc/qt/qtctrans.cpp b/woc/qt/qtctrans.cpp index 2bb3cc1..c978e56 100644 --- a/woc/qt/qtctrans.cpp +++ b/woc/qt/qtctrans.cpp @@ -246,8 +246,8 @@ void WocQtClientTransaction::genGetters(QtCTrans& ct) { for(int i=0;iout_"+ct.out[i]+";}\n"; + ct.hcd+="\tQ_SLOT "+tp+" get"+ct.out[i]+"()const;\n"; + ct.scd+=tp+" "+ct.cn+"::get"+ct.out[i]+"()const{return p->out_"+ct.out[i]+";}\n"; } } -- 1.7.2.5