From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/widgets/propeditor/property.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'lib/widgets/propeditor/property.cpp') 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 +#include 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 &v_valueList, - const QString &description, const QVariant &value, bool save, bool readOnly): +Property::Property(const TQString &name, const TQMap &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 &v_valueList) +void Property::setValueList(const TQMap &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; -- cgit v1.2.1