summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/formIO.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:22:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:22:21 +0900
commit728b7db2846d191399122c440671fd007cdbd0ae (patch)
treecd5e6f3b5ae67ec464b2c05ce0d41016bd9e30c3 /kexi/formeditor/formIO.cpp
parent04a12485219f38e113932e8aa20b6bc12d8fa715 (diff)
downloadkoffice-728b7db2846d191399122c440671fd007cdbd0ae.tar.gz
koffice-728b7db2846d191399122c440671fd007cdbd0ae.zip
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/formeditor/formIO.cpp')
-rw-r--r--kexi/formeditor/formIO.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/formIO.cpp b/kexi/formeditor/formIO.cpp
index 657c5ccd..ced41a09 100644
--- a/kexi/formeditor/formIO.cpp
+++ b/kexi/formeditor/formIO.cpp
@@ -987,9 +987,9 @@ FormIO::saveWidget(ObjectTreeItem *item, TQDomElement &parent, TQDomDocument &do
savePropertyElement(tclass, domDoc, "property", "buddy", ((TQLabel*)item->widget())->buddy()->name());
// We save every property in the modifProp list of the ObjectTreeItem
- TQVariantMap *map = new TQVariantMap( *(item->modifiedProperties()) );
- TQMap<TQString,TQVariant>::ConstIterator endIt = map->constEnd();
- for(TQMap<TQString,TQVariant>::ConstIterator it = map->constBegin(); it != endIt; ++it)
+ TQStringVariantMap *map = new TQStringVariantMap( *(item->modifiedProperties()) );
+ TQStringVariantMap::ConstIterator endIt = map->constEnd();
+ for(TQStringVariantMap::ConstIterator it = map->constBegin(); it != endIt; ++it)
{
const TQCString name( it.key().latin1() );
if(name == "hAlign" || name == "vAlign" || name == "wordbreak" || name == "alignment") {