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/objecttree.h | |
parent | 04a12485219f38e113932e8aa20b6bc12d8fa715 (diff) | |
download | koffice-728b7db2.tar.gz koffice-728b7db2.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/formeditor/objecttree.h')
-rw-r--r-- | kexi/formeditor/objecttree.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/kexi/formeditor/objecttree.h b/kexi/formeditor/objecttree.h index eaa95a0c9..32839eabe 100644 --- a/kexi/formeditor/objecttree.h +++ b/kexi/formeditor/objecttree.h @@ -50,12 +50,6 @@ typedef TQDict<ObjectTreeItem> ObjectTreeDict; //! @short An iterator for ObjectTreeDict. typedef TQDictIterator<ObjectTreeItem> ObjectTreeDictIterator; -//! @short A TQString -> TQVarinat map. -typedef TQMap<TQString, TQVariant> TQVariantMap; - -//! @short A const iterator for TQVariantMap. -typedef TQMapConstIterator<TQString, TQVariant> TQVariantMapConstIterator; - /*! @short An item representing a widget Holds the properties of a widget (classname, name, parent, children ..). @@ -74,9 +68,9 @@ class KFORMEDITOR_EXPORT ObjectTreeItem ObjectTreeItem* parent() const { return m_parent; } ObjectTreeList* children() { return &m_children; } - /*! \return a TQMap<TQString, TQVariant> of all modified properties for this widget. + /*! \return a TQStringVariantMap of all modified properties for this widget. The TQVariant is the old value (ie first value) of the property whose name is the TQString. */ - const TQVariantMap* modifiedProperties() const { return &m_props;} + const TQStringVariantMap* modifiedProperties() const { return &m_props;} //! \return the widget's Container, or 0 if the widget is not a Container. Container* container() const { return m_container;} @@ -103,7 +97,7 @@ class KFORMEDITOR_EXPORT ObjectTreeItem /*! \return subproperties for this item, added by addSubproperty() or 0 is there are no subproperties. */ - TQMap<TQString, TQVariant>* subproperties() const { return m_subprops; } + TQStringVariantMap* subproperties() const { return m_subprops; } void setPixmapName(const TQCString &property, const TQString &name); TQString pixmapName(const TQCString &property); @@ -123,8 +117,8 @@ class KFORMEDITOR_EXPORT ObjectTreeItem TQString m_name; ObjectTreeList m_children; TQGuardedPtr<Container> m_container; - TQMap<TQString, TQVariant> m_props; - TQMap<TQString, TQVariant> *m_subprops; + TQStringVariantMap m_props; + TQStringVariantMap *m_subprops; TQString m_unknownProps; TQMap<TQCString, TQString> m_pixmapNames; ObjectTreeItem* m_parent; |