summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/multiproperty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/multiproperty.h')
-rw-r--r--lib/widgets/propeditor/multiproperty.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/widgets/propeditor/multiproperty.h b/lib/widgets/propeditor/multiproperty.h
index a0d63c64..49410a04 100644
--- a/lib/widgets/propeditor/multiproperty.h
+++ b/lib/widgets/propeditor/multiproperty.h
@@ -19,9 +19,9 @@
#ifndef MULTIPROPERTY_H
#define MULTIPROPERTY_H
-#include <qptrlist.h>
-#include <qmap.h>
-#include <qvariant.h>
+#include <tqptrlist.h>
+#include <tqmap.h>
+#include <tqvariant.h>
#include "property.h"
#include "childproperty.h"
@@ -72,36 +72,36 @@ public:
void removeProperty(MultiProperty *prop);
/**Returns the name of a %property.*/
- QString name() const;
+ TQString name() const;
/**Returns the type of a %property.*/
int type() const;
/**Returns the value of a %property.*/
- QVariant value() const;
+ TQVariant value() const;
/**Returns the description of a %property.*/
- QString description() const;
+ TQString description() const;
/**Returns the readonly attribute of a %property.*/
bool readOnly() const;
/**Returns the visibility attribute of a %property.*/
bool visible() const;
/**The string-to-value correspondence list of the %property.*/
- QMap<QString, QVariant> valueList() const;
+ TQMap<TQString, TQVariant> valueList() const;
/**Sets the value of a %property.*/
- void setValue(const QVariant& value);
+ void setValue(const TQVariant& value);
/**Sets the value of a %property.
@param value new value of thus %multiproperty
@param emitChange if set to true then %property list which owns this %multiproperty
emits propertyValueChanged signal.*/
- void setValue(const QVariant& value, bool emitChange);
+ void setValue(const TQVariant& value, bool emitChange);
/**Sets the description of a %property.*/
- void setDescription(const QString &description);
+ void setDescription(const TQString &description);
/**Sets the list of possible values of a %property.*/
- void setValueList(const QMap< QString, QVariant >& valueList);
+ void setValueList(const TQMap< TQString, TQVariant >& valueList);
/**Finds string description for a value.*/
- QVariant findValueDescription() const;
+ TQVariant findValueDescription() const;
/**Finds string description for a value.*/
- QVariant findValueDescription(QVariant val) const;
+ TQVariant findValueDescription(TQVariant val) const;
/**Returns true if the %multiproperty has no properties in the list (i.e. it's invalid).*/
bool valid() const;
@@ -110,10 +110,10 @@ public:
void undo();
/**The list of child properties.*/
- QValueList<ChildProperty> details;
+ TQValueList<ChildProperty> details;
private:
- QPtrList<Property> list;
+ TQPtrList<Property> list;
PropertyList *m_propertyList;