Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/storage/mymoneystoragedump.cpp
Show First 20 Lines • Show All 257 Lines • ▼ Show 20 Line(s) | 257 | if (!tradingCurrency.isCurrency()) { | |||
---|---|---|---|---|---|
258 | s << "invalid currency: "; | 258 | s << "invalid currency: "; | ||
259 | } | 259 | } | ||
260 | s << tradingCurrency.name(); | 260 | s << tradingCurrency.name(); | ||
261 | } | 261 | } | ||
262 | s << ")\n"; | 262 | s << ")\n"; | ||
263 | 263 | | |||
264 | s << " Type = " << MyMoneySecurity::securityTypeToString((*it_e).securityType()) << "\n"; | 264 | s << " Type = " << MyMoneySecurity::securityTypeToString((*it_e).securityType()) << "\n"; | ||
265 | s << " smallest account fraction = " << (*it_e).smallestAccountFraction() << "\n"; | 265 | s << " smallest account fraction = " << (*it_e).smallestAccountFraction() << "\n"; | ||
266 | s << " price precision = " << (*it_e).pricePrecision() << "\n"; | ||||
266 | 267 | | |||
267 | s << " KVP: " << "\n"; | 268 | s << " KVP: " << "\n"; | ||
268 | QMap<QString, QString>kvp = (*it_e).pairs(); | 269 | QMap<QString, QString>kvp = (*it_e).pairs(); | ||
269 | QMap<QString, QString>::Iterator it; | 270 | QMap<QString, QString>::Iterator it; | ||
270 | for (it = kvp.begin(); it != kvp.end(); ++it) { | 271 | for (it = kvp.begin(); it != kvp.end(); ++it) { | ||
271 | s << " '" << it.key() << "' = '" << it.value() << "'\n"; | 272 | s << " '" << it.key() << "' = '" << it.value() << "'\n"; | ||
272 | } | 273 | } | ||
273 | s << "\n"; | 274 | s << "\n"; | ||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |