diff options
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 eaa95a0c..32839eab 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; |