diff options
Diffstat (limited to 'lib/widgets/propeditor/propertylist.h')
-rw-r--r-- | lib/widgets/propeditor/propertylist.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/widgets/propeditor/propertylist.h b/lib/widgets/propeditor/propertylist.h index 96e351fc..c549048b 100644 --- a/lib/widgets/propeditor/propertylist.h +++ b/lib/widgets/propeditor/propertylist.h @@ -52,9 +52,10 @@ PropertyList is also capable of grouping properties. You can have unsorted list of groups of properties or a plain alphabetically sorted list of properties or both at the same time. */ -class PropertyList: public QObject +class PropertyList: public TQObject { Q_OBJECT + TQ_OBJECT public: class Iterator { @@ -110,14 +111,14 @@ public: virtual void removeProperty(const TQString &name); /**@return the list of grouped properties.*/ - virtual const TQValueList<QPair<TQString, TQValueList<TQString> > >& propertiesOfGroup() const; + virtual const TQValueList<TQPair<TQString, TQValueList<TQString> > >& propertiesOfGroup() const; /**@return the map: property - group name.*/ virtual const TQMap<MultiProperty*, TQString>& groupOfProperty() const; /**Clears the list of properties.*/ virtual void clear(); /**Returns true if the list of properties contains property with given name.*/ - virtual bool contains(const TQString &name); + virtual bool tqcontains(const TQString &name); /**The list of properties with given name.*/ TQPtrList<Property> properties(const TQString &name); @@ -146,7 +147,7 @@ private: //groups of properties: // list of group name: (list of property names) - TQValueList<QPair<TQString, TQValueList<TQString> > > m_propertiesOfGroup; + TQValueList<TQPair<TQString, TQValueList<TQString> > > m_propertiesOfGroup; // map of property: group TQMap<MultiProperty*, TQString> m_groupOfProperty; @@ -181,6 +182,7 @@ buf->intersect(list3); */ class PropertyBuffer: public PropertyList{ Q_OBJECT + TQ_OBJECT public: /**Constructs a buffer from given property list.*/ PropertyBuffer(PropertyList *list); |