summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertylist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/propeditor/propertylist.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/propeditor/propertylist.h')
-rw-r--r--lib/widgets/propeditor/propertylist.h10
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);