From: Konrad Rosenbaum Date: Sun, 1 Jan 2012 20:51:13 +0000 (+0100) Subject: fix: make transaction getters const X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f2a3ae94fd26f7789ccfd33036512f513ba0c32a;p=web%2Fkonrad%2Fpack.git fix: make transaction getters const --- 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"; } }