summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/propertylist.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/propertylist.h')
-rw-r--r--lib/widgets/propeditor/propertylist.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/widgets/propeditor/propertylist.h b/lib/widgets/propeditor/propertylist.h
index 45071606..96e351fc 100644
--- a/lib/widgets/propeditor/propertylist.h
+++ b/lib/widgets/propeditor/propertylist.h
@@ -20,11 +20,11 @@
#ifndef PROPERTYLIST_H
#define PROPERTYLIST_H
-#include <qobject.h>
-#include <qmap.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
-#include <qpair.h>
+#include <tqobject.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
+#include <tqpair.h>
namespace PropertyLib{
@@ -66,7 +66,7 @@ public:
bool operator != (Iterator it);
- QString key();
+ TQString key();
MultiProperty *data();
private:
@@ -74,7 +74,7 @@ public:
Iterator(PropertyList *list, bool end);
void next();
- QMap<QString, MultiProperty*>::iterator current;
+ TQMap<TQString, MultiProperty*>::iterator current;
PropertyList *m_list;
friend class PropertyList;
@@ -93,34 +93,34 @@ public:
list["My Property"]->setValue("My Value");
/endcode
@return @ref MultiProperty with given name.*/
- virtual MultiProperty *operator[](const QString &name);
+ virtual MultiProperty *operator[](const TQString &name);
/**Accesses a property by it's name. All property modifications are allowed
trough this method. For example, to set a value of a property
*/
- MultiProperty *property( const QString &name );
+ MultiProperty *property( const TQString &name );
/**Adds the property to the list to the "common" group.*/
virtual void addProperty(Property *property);
/**Adds the property to the list in group.*/
- virtual void addProperty(const QString &group, Property *property);
+ virtual void addProperty(const TQString &group, Property *property);
/**Removes property from the list. Emits aboutToDeleteProperty before removing.*/
virtual void removeProperty(Property *property);
/**Removes property with the given name from the list.
Emits @ref aboutToDeleteProperty before removing.*/
- virtual void removeProperty(const QString &name);
+ virtual void removeProperty(const TQString &name);
/**@return the list of grouped properties.*/
- virtual const QValueList<QPair<QString, QValueList<QString> > >& propertiesOfGroup() const;
+ virtual const TQValueList<QPair<TQString, TQValueList<TQString> > >& propertiesOfGroup() const;
/**@return the map: property - group name.*/
- virtual const QMap<MultiProperty*, QString>& groupOfProperty() const;
+ 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 QString &name);
+ virtual bool contains(const TQString &name);
/**The list of properties with given name.*/
- QPtrList<Property> properties(const QString &name);
+ TQPtrList<Property> properties(const TQString &name);
Iterator begin();
Iterator end();
@@ -136,19 +136,19 @@ protected:
PropertyList(bool propertyOwner);
/**Adds property to a group.*/
- void addToGroup(const QString &group, MultiProperty *property);
+ void addToGroup(const TQString &group, MultiProperty *property);
/**Removes property from a group.*/
void removeFromGroup(MultiProperty *property);
private:
//sorted list of properties in form name: property
- QMap<QString, MultiProperty*> m_list;
+ TQMap<TQString, MultiProperty*> m_list;
//groups of properties:
// list of group name: (list of property names)
- QValueList<QPair<QString, QValueList<QString> > > m_propertiesOfGroup;
+ TQValueList<QPair<TQString, TQValueList<TQString> > > m_propertiesOfGroup;
// map of property: group
- QMap<MultiProperty*, QString> m_groupOfProperty;
+ TQMap<MultiProperty*, TQString> m_groupOfProperty;
//indicates that this list will delete properties after removeProperty()
//and also in destructor