summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/multiproperty.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/propeditor/multiproperty.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;