summaryrefslogtreecommitdiffstats
path: root/lib/widgets/propeditor/property.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/propeditor/property.cpp')
-rw-r--r--lib/widgets/propeditor/property.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/widgets/propeditor/property.cpp b/lib/widgets/propeditor/property.cpp
index 621a2cc9..d219b8c3 100644
--- a/lib/widgets/propeditor/property.cpp
+++ b/lib/widgets/propeditor/property.cpp
@@ -18,19 +18,19 @@
***************************************************************************/
#include "property.h"
-#include <qstring.h>
+#include <tqstring.h>
namespace PropertyLib{
-Property::Property(int type, const QString &name, const QString &description,
- const QVariant &value, bool save, bool readOnly):
+Property::Property(int type, const TQString &name, const TQString &description,
+ const TQVariant &value, bool save, bool readOnly):
m_type(type), m_name(name), m_description(description), m_value(value), m_save(save),
m_readOnly(readOnly), m_visible(true)
{
}
-Property::Property(const QString &name, const QMap<QString, QVariant> &v_valueList,
- const QString &description, const QVariant &value, bool save, bool readOnly):
+Property::Property(const TQString &name, const TQMap<TQString, TQVariant> &v_valueList,
+ const TQString &description, const TQVariant &value, bool save, bool readOnly):
valueList(v_valueList), m_type(ValueFromList), m_name(name),
m_description(description), m_value(value), m_save(save), m_readOnly(readOnly),
m_visible(true)
@@ -54,12 +54,12 @@ bool Property::operator<(const Property &prop) const
return false;
}
-QString Property::name() const
+TQString Property::name() const
{
return m_name;
}
-void Property::setName(const QString &name)
+void Property::setName(const TQString &name)
{
m_name = name;
}
@@ -74,12 +74,12 @@ void Property::setType(int type)
m_type = type;
}
-QVariant Property::value() const
+TQVariant Property::value() const
{
return m_value;
}
-void Property::setValue(const QVariant &value, bool rememberOldValue)
+void Property::setValue(const TQVariant &value, bool rememberOldValue)
{
if (rememberOldValue)
m_oldValue = m_value;
@@ -88,17 +88,17 @@ void Property::setValue(const QVariant &value, bool rememberOldValue)
m_value = value;
}
-QString Property::description() const
+TQString Property::description() const
{
return m_description;
}
-void Property::setDescription(const QString &description)
+void Property::setDescription(const TQString &description)
{
m_description = description;
}
-void Property::setValueList(const QMap<QString, QVariant> &v_valueList)
+void Property::setValueList(const TQMap<TQString, TQVariant> &v_valueList)
{
valueList = v_valueList;
}
@@ -118,7 +118,7 @@ void Property::setVisible( const bool visible )
m_visible = visible;
}
-QVariant Property::oldValue() const
+TQVariant Property::oldValue() const
{
if (m_oldValue.isNull())
return m_value;