diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:22:21 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-06-01 15:22:21 +0900 |
commit | 728b7db2846d191399122c440671fd007cdbd0ae (patch) | |
tree | cd5e6f3b5ae67ec464b2c05ce0d41016bd9e30c3 /kexi/formeditor/formIO.cpp | |
parent | 04a12485219f38e113932e8aa20b6bc12d8fa715 (diff) | |
download | koffice-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.cpp | 6 |
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") { |