[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/plugins/reportspgz/backend/common
From: Adam Pigg <adam () piggz ! co ! uk>
Date: 2009-03-12 23:37:08
Message-ID: 1236901028.252255.25545.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 938780 by piggz:
Fix bool properties
M +5 -3 krfielddata.cpp
--- trunk/koffice/kexi/plugins/reportspgz/backend/common/krfielddata.cpp \
#938779:938780 @@ -137,9 +137,9 @@
_lnStyle = new KoProperty::Property("LineStyle", Qt::NoPen, "Line Style", "Line \
Style", KoProperty::LineStyle);
//TODO I do not think we need these
- _trackTotal = new KoProperty::Property("TrackTotal", false, "Track Total", \
"Track Total");
- _trackBuiltinFormat = new KoProperty::Property("TrackBuiltinFormat", false, \
"Track Builtin Format", "Track Builtin Format");
- _useSubTotal = new KoProperty::Property("UseSubTotal", false, "Use Sub Total", \
"Use Sub Total"); + _trackTotal = new KoProperty::Property("TrackTotal", \
QVariant(false), "Track Total", "Track Total"); + _trackBuiltinFormat = new \
KoProperty::Property("TrackBuiltinFormat", QVariant(false), "Track Builtin Format", \
"Track Builtin Format"); + _useSubTotal = new KoProperty::Property("UseSubTotal", \
QVariant(false), "Use Sub Total", "Use Sub Total");
_trackTotalFormat = new KoProperty::Property("TrackTotalFormat", QString(), \
"Track Total Format", "Track Total Format");
_set->addProperty(_name);
@@ -209,6 +209,8 @@
if (_controlSource->value() != t) {
_controlSource->setValue(t);
}
+
+ kDebug() << "Field: " << entityName() << "is" << controlSource();
}
void KRFieldData::setTrackTotal(bool yes)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic